NPMplus [ERROR] in line 98 #626

Closed
opened 2026-02-04 20:24:55 +03:00 by OVERLORD · 15 comments
Owner

Originally created by @Mati-l33t on GitHub (Mar 13, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

NPMplus

📂 What was the exact command used to execute the script?

bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/npmplus.sh)"

📝 Provide a clear and concise description of the issue.

I can access web ui but there is no login/password to be found

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

🔄 Steps to reproduce the issue.

Enter bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/npmplus.sh)" in Proxmox shell

Paste the full error output (if available).


/ | / / __ / |/ /___ / /_ _______
/ |/ / // / /|/ / __ / / / / / /
/ /| / / / / / // / / // ( )
/
/ |
/
/ // // .//_,/___/
/
/
🧩 Using Advanced Settings on node proliant
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 127
🏠 Hostname: npmplus
💾 Disk Size: 3 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 512 MiB
🌉 Bridge: vmbr0
📡 IP Address: 10.0.0.27/24
🌐 Gateway IP Address: 10.0.0.2
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;proxy;nginx
🔑 Root SSH Access: yes
Warning: No SSH key provided.
🔍 Verbose Mode: yes
🚀 Creating a NPMplus LXC using the above advanced settings
✔️ Using Backup for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 127 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.0.0.27
✔️ Internet Connected
✔️ DNS Resolved github.com to 140.82.121.4
Updating Container OSfetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
v3.21.3-144-gc9b177afb6a [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main]
v3.21.3-150-gb531bb90760 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/community]
OK: 25412 distinct packages available
Upgrading critical system libraries and apk-tools:
(1/1) Upgrading apk-tools (2.14.6-r2 -> 2.14.6-r3)
Executing busybox-1.37.0-r9.trigger
Continuing the upgrade transaction with new apk-tools:
(1/16) Upgrading alpine-baselayout-data (3.6.8-r0 -> 3.6.8-r1)
(2/16) Upgrading musl (1.2.5-r8 -> 1.2.5-r9)
(3/16) Upgrading busybox (1.37.0-r9 -> 1.37.0-r12)
Executing busybox-1.37.0-r12.post-upgrade
(4/16) Upgrading busybox-binsh (1.37.0-r9 -> 1.37.0-r12)
(5/16) Upgrading alpine-baselayout (3.6.8-r0 -> 3.6.8-r1)
Executing alpine-baselayout-3.6.8-r1.pre-upgrade
Executing alpine-baselayout-3.6.8-r1.post-upgrade
(6/16) Upgrading busybox-mdev-openrc (1.37.0-r9 -> 1.37.0-r12)
(7/16) Upgrading alpine-conf (3.19.0-r0 -> 3.19.2-r0)
(8/16) Upgrading alpine-release (3.21.0-r0 -> 3.21.3-r0)
(9/16) Upgrading ca-certificates-bundle (20241010-r0 -> 20241121-r1)
(10/16) Upgrading libcrypto3 (3.3.2-r4 -> 3.3.3-r0)
(11/16) Upgrading libssl3 (3.3.2-r4 -> 3.3.3-r0)
(12/16) Upgrading ssl_client (1.37.0-r9 -> 1.37.0-r12)
(13/16) Upgrading busybox-openrc (1.37.0-r9 -> 1.37.0-r12)
(14/16) Upgrading busybox-suid (1.37.0-r9 -> 1.37.0-r12)
(15/16) Upgrading musl-utils (1.2.5-r8 -> 1.2.5-r9)
(16/16) Upgrading alpine-base (3.21.0-r0 -> 3.21.3-r0)
Executing busybox-1.37.0-r12.trigger
OK: 11 MiB in 33 packages
✔️ Updated Container OS
Installing Dependencies(1/36) Installing brotli-libs (1.1.0-r2)
(2/36) Installing c-ares (1.34.3-r0)
(3/36) Installing libunistring (1.2-r0)
(4/36) Installing libidn2 (2.3.7-r0)
(5/36) Installing nghttp2-libs (1.64.0-r0)
(6/36) Installing libpsl (0.21.5-r3)
(7/36) Installing zstd-libs (1.5.6-r2)
(8/36) Installing libcurl (8.12.1-r0)
(9/36) Installing curl (8.12.1-r0)
(10/36) Installing gawk (5.3.1-r0)
(11/36) Installing libcom_err (1.47.1-r1)
(12/36) Installing e2fsprogs-libs (1.47.1-r1)
(13/36) Installing libffi (3.4.7-r0)
(14/36) Installing libintl (0.22.5-r0)
(15/36) Installing libeconf (0.6.3-r0)
(16/36) Installing libblkid (2.40.4-r0)
(17/36) Installing libmount (2.40.4-r0)
(18/36) Installing pcre2 (10.43-r0)
(19/36) Installing glib (2.82.5-r0)
(20/36) Installing gpm-libs (1.20.7-r5)
(21/36) Installing slang (2.3.3-r3)
(22/36) Installing libssh2 (1.11.1-r0)
(23/36) Installing mc (4.8.32-r0)
(24/36) Installing nano (8.2-r0)
(25/36) Installing newt (0.52.24-r1)
(26/36) Installing openssh-keygen (9.9_p2-r0)
(27/36) Installing libedit (20240808.3.1-r0)
(28/36) Installing openssh-client-common (9.9_p2-r0)
(29/36) Installing openssh-client-default (9.9_p2-r0)
(30/36) Installing openssh-sftp-server (9.9_p2-r0)
(31/36) Installing openssh-server-common (9.9_p2-r0)
(32/36) Installing openssh-server-common-openrc (9.9_p2-r0)
(33/36) Installing openssh-server (9.9_p2-r0)
(34/36) Installing openssh (9.9_p2-r0)
(35/36) Installing tzdata (2025a-r0)
(36/36) Installing yq-go (4.44.5-r2)
Executing busybox-1.37.0-r12.trigger
Executing glib-2.82.5-r0.trigger
OK: 44 MiB in 69 packages
✔️ Installed Dependencies
Installing Docker & Compose(1/17) Installing ca-certificates (20241121-r1)
(2/17) Installing libseccomp (2.5.5-r1)
(3/17) Installing runc (1.2.2-r2)
(4/17) Installing containerd (2.0.0-r2)
(5/17) Installing log_proxy (0.7.4-r0)
(6/17) Installing containerd-openrc (2.0.0-r2)
(7/17) Installing libmnl (1.0.5-r2)
(8/17) Installing libnftnl (1.2.8-r0)
(9/17) Installing libxtables (1.8.11-r1)
(10/17) Installing iptables (1.8.11-r1)
(11/17) Installing iptables-openrc (1.8.11-r1)
(12/17) Installing tini-static (0.19.0-r3)
(13/17) Installing docker-engine (27.3.1-r2)
Executing docker-engine-27.3.1-r2.pre-install
(14/17) Installing docker-openrc (27.3.1-r2)
(15/17) Installing docker-cli (27.3.1-r2)
(16/17) Installing docker-cli-buildx (0.19.1-r2)
(17/17) Installing docker (27.3.1-r2)
Executing busybox-1.37.0-r12.trigger
Executing ca-certificates-20241121-r1.trigger
OK: 296 MiB in 86 packages

  • Caching service dependencies ... [ ok ]
    mount: mounting none on /sys/fs/cgroup failed: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: error setting limit: Operation not permitted
  • docker: unable to apply RC_ULIMIT settings
  • /var/log/docker.log: creating file
  • /var/log/docker.log: correcting owner
  • Starting Docker Daemon ... [ ok ]
  • service docker added to runlevel default
    ✔️ Installed Docker & Compose
    ✔️ Fetched NPMplus
    Enter your TZ Identifier (e.g., Europe/Berlin): Europe/Helsinki
    Enter your ACME Email: XXXXXXXXXXX
    [+] Running 28/28tarting NPMplus (Patience)
    ✔ npmplus Pulled 15.3s
    ✔ f18232174bc9 Pull complete 1.2s
    ✔ a507b793f9af Pull complete 1.5s
    ✔ 85be7329d6c2 Pull complete 3.1s
    ✔ b0d8a12effa9 Pull complete 3.2s
    ✔ 4dd0d5f19062 Pull complete 3.3s
    ✔ 47d268ba3f24 Pull complete 3.3s
    ✔ e24282442b27 Pull complete 3.5s
    ✔ 9b6fdde9938d Pull complete 3.6s
    ✔ 7a4635c4b806 Pull complete 3.6s
    ✔ 42697d114328 Pull complete 3.8s
    ✔ 616e81952013 Pull complete 3.8s
    ✔ 7938a674778d Pull complete 3.8s
    ✔ 6956ebb3fc07 Pull complete 3.8s
    ✔ 2de6f8a71472 Pull complete 3.8s
    ✔ 0d38e9ba994a Pull complete 6.0s
    ✔ 3b545b5ade23 Pull complete 7.8s
    ✔ bc768fee117c Pull complete 7.8s
    ✔ 29a4332190c6 Pull complete 8.1s
    ✔ 0c38a2880582 Pull complete 10.6s
    ✔ 4f4fb700ef54 Pull complete 10.6s
    ✔ b93e6c374e0a Pull complete 12.9s
    ✔ 80fcc841cac4 Pull complete 12.9s
    ✔ f427e2ce2205 Pull complete 12.9s
    ✔ 871cc3acf768 Pull complete 12.9s
    ✔ cb100a3dc07d Pull complete 12.9s
    ✔ fb687710ed42 Pull complete 12.9s
    ✔ 79c47a36c0e3 Pull complete 12.9s
    [+] Running 1/1
    ✔ Container npmplus Started 0.3s
    ✔️ NPMplus is running and healthy
    ✔️ Builded and started NPMplus
  • service sshd added to runlevel default
    ssh-keygen: generating new host keys: RSA ECDSA ED25519
  • Starting sshd ... [ ok ]
    Retrieving Default Login (Patience)
    [ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}')

root@proliant:~#

🖼️ Additional context (optional).

In the LXC i get this

npmplus:# cat /opt/.npm_pwd
cat: can't open '/opt/.npm_pwd': No such file or directory
npmplus:
#

Originally created by @Mati-l33t on GitHub (Mar 13, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? NPMplus ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/npmplus.sh)" ### 📝 Provide a clear and concise description of the issue. I can access web ui but there is no login/password to be found ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 🔄 Steps to reproduce the issue. Enter bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/npmplus.sh)" in Proxmox shell ### ❌ Paste the full error output (if available). _ ______ __ ___ __ / | / / __ \/ |/ /___ / /_ _______ / |/ / /_/ / /|_/ / __ \/ / / / / ___/ / /| / ____/ / / / /_/ / / /_/ (__ ) /_/ |_/_/ /_/ /_/ .___/_/\__,_/____/ /_/ 🧩 Using Advanced Settings on node proliant 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 127 🏠 Hostname: npmplus 💾 Disk Size: 3 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 512 MiB 🌉 Bridge: vmbr0 📡 IP Address: 10.0.0.27/24 🌐 Gateway IP Address: 10.0.0.2 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;proxy;nginx 🔑 Root SSH Access: yes Warning: No SSH key provided. 🔍 Verbose Mode: yes 🚀 Creating a NPMplus LXC using the above advanced settings ✔️ Using Backup for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 127 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.0.0.27 ✔️ Internet Connected ✔️ DNS Resolved github.com to 140.82.121.4 Updating Container OSfetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz v3.21.3-144-gc9b177afb6a [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main] v3.21.3-150-gb531bb90760 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/community] OK: 25412 distinct packages available Upgrading critical system libraries and apk-tools: (1/1) Upgrading apk-tools (2.14.6-r2 -> 2.14.6-r3) Executing busybox-1.37.0-r9.trigger Continuing the upgrade transaction with new apk-tools: (1/16) Upgrading alpine-baselayout-data (3.6.8-r0 -> 3.6.8-r1) (2/16) Upgrading musl (1.2.5-r8 -> 1.2.5-r9) (3/16) Upgrading busybox (1.37.0-r9 -> 1.37.0-r12) Executing busybox-1.37.0-r12.post-upgrade (4/16) Upgrading busybox-binsh (1.37.0-r9 -> 1.37.0-r12) (5/16) Upgrading alpine-baselayout (3.6.8-r0 -> 3.6.8-r1) Executing alpine-baselayout-3.6.8-r1.pre-upgrade Executing alpine-baselayout-3.6.8-r1.post-upgrade (6/16) Upgrading busybox-mdev-openrc (1.37.0-r9 -> 1.37.0-r12) (7/16) Upgrading alpine-conf (3.19.0-r0 -> 3.19.2-r0) (8/16) Upgrading alpine-release (3.21.0-r0 -> 3.21.3-r0) (9/16) Upgrading ca-certificates-bundle (20241010-r0 -> 20241121-r1) (10/16) Upgrading libcrypto3 (3.3.2-r4 -> 3.3.3-r0) (11/16) Upgrading libssl3 (3.3.2-r4 -> 3.3.3-r0) (12/16) Upgrading ssl_client (1.37.0-r9 -> 1.37.0-r12) (13/16) Upgrading busybox-openrc (1.37.0-r9 -> 1.37.0-r12) (14/16) Upgrading busybox-suid (1.37.0-r9 -> 1.37.0-r12) (15/16) Upgrading musl-utils (1.2.5-r8 -> 1.2.5-r9) (16/16) Upgrading alpine-base (3.21.0-r0 -> 3.21.3-r0) Executing busybox-1.37.0-r12.trigger OK: 11 MiB in 33 packages ✔️ Updated Container OS Installing Dependencies(1/36) Installing brotli-libs (1.1.0-r2) (2/36) Installing c-ares (1.34.3-r0) (3/36) Installing libunistring (1.2-r0) (4/36) Installing libidn2 (2.3.7-r0) (5/36) Installing nghttp2-libs (1.64.0-r0) (6/36) Installing libpsl (0.21.5-r3) (7/36) Installing zstd-libs (1.5.6-r2) (8/36) Installing libcurl (8.12.1-r0) (9/36) Installing curl (8.12.1-r0) (10/36) Installing gawk (5.3.1-r0) (11/36) Installing libcom_err (1.47.1-r1) (12/36) Installing e2fsprogs-libs (1.47.1-r1) (13/36) Installing libffi (3.4.7-r0) (14/36) Installing libintl (0.22.5-r0) (15/36) Installing libeconf (0.6.3-r0) (16/36) Installing libblkid (2.40.4-r0) (17/36) Installing libmount (2.40.4-r0) (18/36) Installing pcre2 (10.43-r0) (19/36) Installing glib (2.82.5-r0) (20/36) Installing gpm-libs (1.20.7-r5) (21/36) Installing slang (2.3.3-r3) (22/36) Installing libssh2 (1.11.1-r0) (23/36) Installing mc (4.8.32-r0) (24/36) Installing nano (8.2-r0) (25/36) Installing newt (0.52.24-r1) (26/36) Installing openssh-keygen (9.9_p2-r0) (27/36) Installing libedit (20240808.3.1-r0) (28/36) Installing openssh-client-common (9.9_p2-r0) (29/36) Installing openssh-client-default (9.9_p2-r0) (30/36) Installing openssh-sftp-server (9.9_p2-r0) (31/36) Installing openssh-server-common (9.9_p2-r0) (32/36) Installing openssh-server-common-openrc (9.9_p2-r0) (33/36) Installing openssh-server (9.9_p2-r0) (34/36) Installing openssh (9.9_p2-r0) (35/36) Installing tzdata (2025a-r0) (36/36) Installing yq-go (4.44.5-r2) Executing busybox-1.37.0-r12.trigger Executing glib-2.82.5-r0.trigger OK: 44 MiB in 69 packages ✔️ Installed Dependencies Installing Docker & Compose(1/17) Installing ca-certificates (20241121-r1) (2/17) Installing libseccomp (2.5.5-r1) (3/17) Installing runc (1.2.2-r2) (4/17) Installing containerd (2.0.0-r2) (5/17) Installing log_proxy (0.7.4-r0) (6/17) Installing containerd-openrc (2.0.0-r2) (7/17) Installing libmnl (1.0.5-r2) (8/17) Installing libnftnl (1.2.8-r0) (9/17) Installing libxtables (1.8.11-r1) (10/17) Installing iptables (1.8.11-r1) (11/17) Installing iptables-openrc (1.8.11-r1) (12/17) Installing tini-static (0.19.0-r3) (13/17) Installing docker-engine (27.3.1-r2) Executing docker-engine-27.3.1-r2.pre-install (14/17) Installing docker-openrc (27.3.1-r2) (15/17) Installing docker-cli (27.3.1-r2) (16/17) Installing docker-cli-buildx (0.19.1-r2) (17/17) Installing docker (27.3.1-r2) Executing busybox-1.37.0-r12.trigger Executing ca-certificates-20241121-r1.trigger OK: 296 MiB in 86 packages * Caching service dependencies ... [ ok ] mount: mounting none on /sys/fs/cgroup failed: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: error setting limit: Operation not permitted * docker: unable to apply RC_ULIMIT settings * /var/log/docker.log: creating file * /var/log/docker.log: correcting owner * Starting Docker Daemon ... [ ok ] * service docker added to runlevel default ✔️ Installed Docker & Compose ✔️ Fetched NPMplus Enter your TZ Identifier (e.g., Europe/Berlin): Europe/Helsinki Enter your ACME Email: XXXXXXXXXXX [+] Running 28/28tarting NPMplus (Patience) ✔ npmplus Pulled 15.3s ✔ f18232174bc9 Pull complete 1.2s ✔ a507b793f9af Pull complete 1.5s ✔ 85be7329d6c2 Pull complete 3.1s ✔ b0d8a12effa9 Pull complete 3.2s ✔ 4dd0d5f19062 Pull complete 3.3s ✔ 47d268ba3f24 Pull complete 3.3s ✔ e24282442b27 Pull complete 3.5s ✔ 9b6fdde9938d Pull complete 3.6s ✔ 7a4635c4b806 Pull complete 3.6s ✔ 42697d114328 Pull complete 3.8s ✔ 616e81952013 Pull complete 3.8s ✔ 7938a674778d Pull complete 3.8s ✔ 6956ebb3fc07 Pull complete 3.8s ✔ 2de6f8a71472 Pull complete 3.8s ✔ 0d38e9ba994a Pull complete 6.0s ✔ 3b545b5ade23 Pull complete 7.8s ✔ bc768fee117c Pull complete 7.8s ✔ 29a4332190c6 Pull complete 8.1s ✔ 0c38a2880582 Pull complete 10.6s ✔ 4f4fb700ef54 Pull complete 10.6s ✔ b93e6c374e0a Pull complete 12.9s ✔ 80fcc841cac4 Pull complete 12.9s ✔ f427e2ce2205 Pull complete 12.9s ✔ 871cc3acf768 Pull complete 12.9s ✔ cb100a3dc07d Pull complete 12.9s ✔ fb687710ed42 Pull complete 12.9s ✔ 79c47a36c0e3 Pull complete 12.9s [+] Running 1/1 ✔ Container npmplus Started 0.3s ✔️ NPMplus is running and healthy ✔️ Builded and started NPMplus * service sshd added to runlevel default ssh-keygen: generating new host keys: RSA ECDSA ED25519 * Starting sshd ... [ ok ] Retrieving Default Login (Patience) [ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}') root@proliant:~# ### 🖼️ Additional context (optional). In the LXC i get this npmplus:~# cat /opt/.npm_pwd cat: can't open '/opt/.npm_pwd': No such file or directory npmplus:~#
OVERLORD added the not a script issuebug labels 2026-02-04 20:24:55 +03:00
Author
Owner

@MickLesk commented on GitHub (Mar 13, 2025):

and in default settings? why unpriviligeted?

@MickLesk commented on GitHub (Mar 13, 2025): and in default settings? why unpriviligeted?
Author
Owner

@MrSiJo commented on GitHub (Mar 13, 2025):

I have the same issue, however, i notice your comment @MickLesk about unpriviledged which mine is as well but i'm not sure why that's default either.

⚙️ Using Default Settings on node promox
🖥️ Operating System: alpine
🌟 Version: 3.21
📦 Container Type: Unprivileged
💾 Disk Size: 3 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🆔 Container ID: 115
🚀 Creating a NPMplus LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using nvme1tb for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 115 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: ipaddress
✔️ Internet Connected
✔️ DNS Resolved github.com to 20.26.156.215
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Installed Docker & Compose
✔️ Fetched NPMplus
Enter your TZ Identifier (e.g., Europe/Berlin): Europe/London
Enter your ACME Email: emailaddress
✔️ NPMplus is running and healthy
✔️ Builded and started NPMplus
✔️ Customized Container
Retrieving Default Login (Patience)
[ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}')

@MrSiJo commented on GitHub (Mar 13, 2025): I have the same issue, however, i notice your comment @MickLesk about unpriviledged which mine is as well but i'm not sure why that's default either. ⚙️ Using Default Settings on node promox 🖥️ Operating System: alpine 🌟 Version: 3.21 📦 Container Type: Unprivileged 💾 Disk Size: 3 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🆔 Container ID: 115 🚀 Creating a NPMplus LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using nvme1tb for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 115 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: ipaddress ✔️ Internet Connected ✔️ DNS Resolved github.com to 20.26.156.215 ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Installed Docker & Compose ✔️ Fetched NPMplus Enter your TZ Identifier (e.g., Europe/Berlin): Europe/London Enter your ACME Email: emailaddress ✔️ NPMplus is running and healthy ✔️ Builded and started NPMplus ✔️ Customized Container Retrieving Default Login (Patience) [ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}')
Author
Owner

@tremor021 commented on GitHub (Mar 13, 2025):

works fine here

@tremor021 commented on GitHub (Mar 13, 2025): works fine here
Author
Owner

@MickLesk commented on GitHub (Mar 13, 2025):

emailaddress is an real email address? it failed if there is not an @ inside like mail@example.com

@MickLesk commented on GitHub (Mar 13, 2025): emailaddress is an real email address? it failed if there is not an @ inside like mail@example.com
Author
Owner

@MrSiJo commented on GitHub (Mar 13, 2025):

it was the correct format i just removed the real value that i pasted here.

@MrSiJo commented on GitHub (Mar 13, 2025): it was the correct format i just removed the real value that i pasted here.
Author
Owner

@MickLesk commented on GitHub (Mar 13, 2025):

then check docker logs for your container

docker ps (get container id)
docker logs container_id

The tool should be running smoothly, its just the passwort crawling

@MickLesk commented on GitHub (Mar 13, 2025): then check docker logs for your container docker ps (get container id) docker logs container_id The tool should be running smoothly, its just the passwort crawling
Author
Owner

@MrSiJo commented on GitHub (Mar 13, 2025):

Here's the logs

`
npmplus:~# docker logs d5f0cd07f19b



| \ || . | \ \ ___ | | _ _ ___
| || /| || . | || | |[-[
|_||| ||||| /|| _|/__/
|_|

Version: 2.12.3+640668a
Date: Thu Mar 13 16:15:38 GMT 2025

At least one env or the template version changed, all hosts will be regenerated.
mkdir: created directory '/data/tls'
mkdir: created directory '/data/tls/certbot'
mkdir: created directory '/data/tls/certbot/renewal'
mkdir: created directory '/data/tls/custom'
mkdir: created directory '/data/npmplus'
mkdir: created directory '/data/html'
mkdir: created directory '/data/access'
mkdir: created directory '/data/crowdsec'
mkdir: created directory '/data/modsecurity'
mkdir: created directory '/data/modsecurity/crs-plugins'
mkdir: created directory '/data/nginx'
mkdir: created directory '/data/nginx/redirection_host'
mkdir: created directory '/data/nginx/proxy_host'
mkdir: created directory '/data/nginx/dead_host'
mkdir: created directory '/data/nginx/stream'
mkdir: created directory '/data/custom_nginx'
'/usr/local/nginx/conf/conf.d/include/modsecurity.conf.example' -> '/data/modsecurity/modsecurity-default.conf'
'/usr/local/nginx/conf/conf.d/include/coreruleset/crs-setup.conf.example' -> '/data/modsecurity/crs-setup.conf'
'/usr/local/nginx/conf/conf.d/include/coreruleset/rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example' -> '/data/modsecurity/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf'
'/usr/local/nginx/conf/conf.d/include/coreruleset/rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf.example' -> '/data/modsecurity/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf'
'/usr/local/nginx/conf/conf.d/include/ban.html' -> '/data/crowdsec/ban.html'
'/usr/local/nginx/conf/conf.d/include/captcha.html' -> '/data/crowdsec/captcha.html'
'/usr/local/nginx/conf/conf.d/include/crowdsec.conf' -> '/data/crowdsec/crowdsec.conf'
no DEFAULT_CERT_ID set, using dummycerts.


User: root
PUID: 0
User ID: 0
PGID: 0
Group ID: 0

Saving debug log to /tmp/certbot-log/letsencrypt.log
Account registered.

Running in stand-alone mode...

LINEAGE RESULT REASON

Starting services...
2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:82
2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:82
2025/03/13 16:15:41 [notice] 212#212: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/0/0)
2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:172
2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:172
2025/03/13 16:15:41 [alert] 221#221: sched_setaffinity() failed (22: Invalid argument)
[Global ] › ℹ info Using Sqlite: /data/npmplus/database.sqlite
[Global ] › ℹ info Creating a new JWT key pair...
[Global ] › ℹ info Wrote JWT key pair to config file: /data/npmplus/keys.json
[Migrate ] › ℹ info Current database version: none
[Migrate ] › ℹ info [initial-schema] Migrating Up...
[Migrate ] › ℹ info [initial-schema] auth Table created
[Migrate ] › ℹ info [initial-schema] user Table created
[Migrate ] › ℹ info [initial-schema] user_permission Table created
[Migrate ] › ℹ info [initial-schema] proxy_host Table created
[Migrate ] › ℹ info [initial-schema] redirection_host Table created
[Migrate ] › ℹ info [initial-schema] dead_host Table created
[Migrate ] › ℹ info [initial-schema] stream Table created
[Migrate ] › ℹ info [initial-schema] access_list Table created
[Migrate ] › ℹ info [initial-schema] certificate Table created
[Migrate ] › ℹ info [initial-schema] access_list_auth Table created
[Migrate ] › ℹ info [initial-schema] audit_log Table created
[Migrate ] › ℹ info [websockets] Migrating Up...
[Migrate ] › ℹ info [websockets] proxy_host Table altered
[Migrate ] › ℹ info [forward_host] Migrating Up...
[Migrate ] › ℹ info [forward_host] proxy_host Table altered
[Migrate ] › ℹ info [http2_support] Migrating Up...
[Migrate ] › ℹ info [http2_support] proxy_host Table altered
[Migrate ] › ℹ info [http2_support] redirection_host Table altered
[Migrate ] › ℹ info [http2_support] dead_host Table altered
[Migrate ] › ℹ info [forward_scheme] Migrating Up...
[Migrate ] › ℹ info [forward_scheme] proxy_host Table altered
[Migrate ] › ℹ info [disabled] Migrating Up...
[Migrate ] › ℹ info [disabled] proxy_host Table altered
[Migrate ] › ℹ info [disabled] redirection_host Table altered
[Migrate ] › ℹ info [disabled] dead_host Table altered
[Migrate ] › ℹ info [disabled] stream Table altered
[Migrate ] › ℹ info [custom_locations] Migrating Up...
[Migrate ] › ℹ info [custom_locations] proxy_host Table altered
[Migrate ] › ℹ info [hsts] Migrating Up...
[Migrate ] › ℹ info [hsts] proxy_host Table altered
[Migrate ] › ℹ info [hsts] redirection_host Table altered
[Migrate ] › ℹ info [hsts] dead_host Table altered
[Migrate ] › ℹ info [settings] Migrating Up...
[Migrate ] › ℹ info [settings] setting Table created
[Migrate ] › ℹ info [access_list_client] Migrating Up...
[Migrate ] › ℹ info [access_list_client] access_list_client Table created
[Migrate ] › ℹ info [access_list_client] access_list Table altered
[Migrate ] › ℹ info [access_list_client_fix] Migrating Up...
[Migrate ] › ℹ info [access_list_client_fix] access_list Table altered
[Migrate ] › ℹ info [pass_auth] Migrating Up...
[Migrate ] › ℹ info [pass_auth] access_list Table altered
[Migrate ] › ℹ info [redirection_scheme] Migrating Up...
[Migrate ] › ℹ info [redirection_scheme] redirection_host Table altered
[Migrate ] › ℹ info [redirection_status_code] Migrating Up...
[Migrate ] › ℹ info [redirection_status_code] redirection_host Table altered
[Migrate ] › ℹ info [stream_domain] Migrating Up...
[Migrate ] › ℹ info [stream_domain] stream Table altered
[Migrate ] › ℹ info [stream_domain] Migrating Up...
[Migrate ] › ℹ info [stream_ssl] Migrating Up...
[Migrate ] › ℹ info [stream_ssl] stream Table altered
[Migrate ] › ℹ info [change_incoming_port_to_string] Migrating Up...
[Migrate ] › ℹ info [change_incoming_port_to_string] stream Table altered
[Migrate ] › ℹ info [regenerate_default_host] Migrating Up...
[Migrate ] › ℹ info [change_forwarding_port_to_string] Migrating Up...
[Migrate ] › ℹ info [change_forwarding_port_to_string] stream Table altered
[Migrate ] › ℹ info [allow_empty_forwarding_port] Migrating Up...
[Migrate ] › ℹ info [allow_empty_forwarding_port] proxy Table altered
[Setup ] › ℹ info Creating a new user: admin@example.org with password: iArhP1j7p1P6TA92FA2FMbbUGYqwcYzxC4AVEe12Wbi94FY9gNN62aKyF1shrvG4NycjjX9KfmDQiwkLZH1ZDR9xMjiG2QmoHXi
[Setup ] › ℹ info Initial admin setup completed
[Setup ] › ℹ info Default settings added
[Global ] › ⬤ debug CMD: nginxbeautifier -s 4 /usr/local/nginx/conf/conf.d/default.conf
[IP Ranges] › ℹ info Fetching IP Ranges from online services...
[IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[Global ] › ⬤ debug CMD: certbot-ocsp-fetcher.sh -c /data/tls/certbot/live -o /data/tls/certbot/live --no-reload-webserver --quiet
[SSL ] › ℹ info Certbot Renewal Timer initialized
[IP Ranges] › ℹ info IP Ranges Renewal Timer initialized
[Global ] › ℹ info Backend PID 214 listening on port 48681
[Nginx ] › ℹ info Reloading Nginx
[Global ] › ⬤ debug CMD: nginx -s reload
2025/03/13 16:15:58 [alert] 277#277: sched_setaffinity() failed (22: Invalid argument)
npmplus:~#
`

@MrSiJo commented on GitHub (Mar 13, 2025): Here's the logs ` npmplus:~# docker logs d5f0cd07f19b ------------------------------------- _ _ ___ __ __ _ | \ || . \| \ \ ___ | | _ _ ___ | || _/| || . \| || | |[_-[ |_\_||_| |_|_|_|| _/|_| \__|/__/ |_| ------------------------------------- Version: 2.12.3+640668a Date: Thu Mar 13 16:15:38 GMT 2025 ------------------------------------- At least one env or the template version changed, all hosts will be regenerated. mkdir: created directory '/data/tls' mkdir: created directory '/data/tls/certbot' mkdir: created directory '/data/tls/certbot/renewal' mkdir: created directory '/data/tls/custom' mkdir: created directory '/data/npmplus' mkdir: created directory '/data/html' mkdir: created directory '/data/access' mkdir: created directory '/data/crowdsec' mkdir: created directory '/data/modsecurity' mkdir: created directory '/data/modsecurity/crs-plugins' mkdir: created directory '/data/nginx' mkdir: created directory '/data/nginx/redirection_host' mkdir: created directory '/data/nginx/proxy_host' mkdir: created directory '/data/nginx/dead_host' mkdir: created directory '/data/nginx/stream' mkdir: created directory '/data/custom_nginx' '/usr/local/nginx/conf/conf.d/include/modsecurity.conf.example' -> '/data/modsecurity/modsecurity-default.conf' '/usr/local/nginx/conf/conf.d/include/coreruleset/crs-setup.conf.example' -> '/data/modsecurity/crs-setup.conf' '/usr/local/nginx/conf/conf.d/include/coreruleset/rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example' -> '/data/modsecurity/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf' '/usr/local/nginx/conf/conf.d/include/coreruleset/rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf.example' -> '/data/modsecurity/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf' '/usr/local/nginx/conf/conf.d/include/ban.html' -> '/data/crowdsec/ban.html' '/usr/local/nginx/conf/conf.d/include/captcha.html' -> '/data/crowdsec/captcha.html' '/usr/local/nginx/conf/conf.d/include/crowdsec.conf' -> '/data/crowdsec/crowdsec.conf' no DEFAULT_CERT_ID set, using dummycerts. ----- ------------------------------------- User: root PUID: 0 User ID: 0 PGID: 0 Group ID: 0 ------------------------------------- Saving debug log to /tmp/certbot-log/letsencrypt.log Account registered. Running in stand-alone mode... LINEAGE RESULT REASON Starting services... 2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:82 2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:82 2025/03/13 16:15:41 [notice] 212#212: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/0/0) 2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:172 2025/03/13 16:15:41 [notice] 212#212: parsed a resolver: "172.16.0.36" in /usr/local/nginx/conf/nginx.conf:172 2025/03/13 16:15:41 [alert] 221#221: sched_setaffinity() failed (22: Invalid argument) [Global ] › ℹ info Using Sqlite: /data/npmplus/database.sqlite [Global ] › ℹ info Creating a new JWT key pair... [Global ] › ℹ info Wrote JWT key pair to config file: /data/npmplus/keys.json [Migrate ] › ℹ info Current database version: none [Migrate ] › ℹ info [initial-schema] Migrating Up... [Migrate ] › ℹ info [initial-schema] auth Table created [Migrate ] › ℹ info [initial-schema] user Table created [Migrate ] › ℹ info [initial-schema] user_permission Table created [Migrate ] › ℹ info [initial-schema] proxy_host Table created [Migrate ] › ℹ info [initial-schema] redirection_host Table created [Migrate ] › ℹ info [initial-schema] dead_host Table created [Migrate ] › ℹ info [initial-schema] stream Table created [Migrate ] › ℹ info [initial-schema] access_list Table created [Migrate ] › ℹ info [initial-schema] certificate Table created [Migrate ] › ℹ info [initial-schema] access_list_auth Table created [Migrate ] › ℹ info [initial-schema] audit_log Table created [Migrate ] › ℹ info [websockets] Migrating Up... [Migrate ] › ℹ info [websockets] proxy_host Table altered [Migrate ] › ℹ info [forward_host] Migrating Up... [Migrate ] › ℹ info [forward_host] proxy_host Table altered [Migrate ] › ℹ info [http2_support] Migrating Up... [Migrate ] › ℹ info [http2_support] proxy_host Table altered [Migrate ] › ℹ info [http2_support] redirection_host Table altered [Migrate ] › ℹ info [http2_support] dead_host Table altered [Migrate ] › ℹ info [forward_scheme] Migrating Up... [Migrate ] › ℹ info [forward_scheme] proxy_host Table altered [Migrate ] › ℹ info [disabled] Migrating Up... [Migrate ] › ℹ info [disabled] proxy_host Table altered [Migrate ] › ℹ info [disabled] redirection_host Table altered [Migrate ] › ℹ info [disabled] dead_host Table altered [Migrate ] › ℹ info [disabled] stream Table altered [Migrate ] › ℹ info [custom_locations] Migrating Up... [Migrate ] › ℹ info [custom_locations] proxy_host Table altered [Migrate ] › ℹ info [hsts] Migrating Up... [Migrate ] › ℹ info [hsts] proxy_host Table altered [Migrate ] › ℹ info [hsts] redirection_host Table altered [Migrate ] › ℹ info [hsts] dead_host Table altered [Migrate ] › ℹ info [settings] Migrating Up... [Migrate ] › ℹ info [settings] setting Table created [Migrate ] › ℹ info [access_list_client] Migrating Up... [Migrate ] › ℹ info [access_list_client] access_list_client Table created [Migrate ] › ℹ info [access_list_client] access_list Table altered [Migrate ] › ℹ info [access_list_client_fix] Migrating Up... [Migrate ] › ℹ info [access_list_client_fix] access_list Table altered [Migrate ] › ℹ info [pass_auth] Migrating Up... [Migrate ] › ℹ info [pass_auth] access_list Table altered [Migrate ] › ℹ info [redirection_scheme] Migrating Up... [Migrate ] › ℹ info [redirection_scheme] redirection_host Table altered [Migrate ] › ℹ info [redirection_status_code] Migrating Up... [Migrate ] › ℹ info [redirection_status_code] redirection_host Table altered [Migrate ] › ℹ info [stream_domain] Migrating Up... [Migrate ] › ℹ info [stream_domain] stream Table altered [Migrate ] › ℹ info [stream_domain] Migrating Up... [Migrate ] › ℹ info [stream_ssl] Migrating Up... [Migrate ] › ℹ info [stream_ssl] stream Table altered [Migrate ] › ℹ info [change_incoming_port_to_string] Migrating Up... [Migrate ] › ℹ info [change_incoming_port_to_string] stream Table altered [Migrate ] › ℹ info [regenerate_default_host] Migrating Up... [Migrate ] › ℹ info [change_forwarding_port_to_string] Migrating Up... [Migrate ] › ℹ info [change_forwarding_port_to_string] stream Table altered [Migrate ] › ℹ info [allow_empty_forwarding_port] Migrating Up... [Migrate ] › ℹ info [allow_empty_forwarding_port] proxy Table altered [Setup ] › ℹ info Creating a new user: admin@example.org with password: iArhP1j7p1P6TA92FA2FMbbUGYqwcYzxC4AVEe12Wbi94FY9gNN62aKyF1shrvG4NycjjX9KfmDQiwkLZH1ZDR9xMjiG2QmoHXi [Setup ] › ℹ info Initial admin setup completed [Setup ] › ℹ info Default settings added [Global ] › ⬤ debug CMD: nginxbeautifier -s 4 /usr/local/nginx/conf/conf.d/default.conf [IP Ranges] › ℹ info Fetching IP Ranges from online services... [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [Global ] › ⬤ debug CMD: certbot-ocsp-fetcher.sh -c /data/tls/certbot/live -o /data/tls/certbot/live --no-reload-webserver --quiet [SSL ] › ℹ info Certbot Renewal Timer initialized [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized [Global ] › ℹ info Backend PID 214 listening on port 48681 [Nginx ] › ℹ info Reloading Nginx [Global ] › ⬤ debug CMD: nginx -s reload 2025/03/13 16:15:58 [alert] 277#277: sched_setaffinity() failed (22: Invalid argument) npmplus:~# `
Author
Owner

@MickLesk commented on GitHub (Mar 13, 2025):

mhm... user is exists. see line below

@MickLesk commented on GitHub (Mar 13, 2025): mhm... user is exists. see line below
Author
Owner

@MickLesk commented on GitHub (Mar 13, 2025):

ive changed the error handling now.

try again

@MickLesk commented on GitHub (Mar 13, 2025): ive changed the error handling now. try again
Author
Owner

@MrSiJo commented on GitHub (Mar 13, 2025):

ok so it did error again

  ✔️  NPMplus is running and healthy
  ✔️  Builded and started NPMplus
  ✔️  Customized Container
  ✔️  Saved default login to /opt/.npm_pwd
bash: line 103: return: can only `return' from a function or sourced script

[ERROR] in line 103: exit code 2: while executing command return 0

but the username/password is created in the expected location /opt/.npm_pwd

@MrSiJo commented on GitHub (Mar 13, 2025): ok so it did error again ``` ✔️ NPMplus is running and healthy ✔️ Builded and started NPMplus ✔️ Customized Container ✔️ Saved default login to /opt/.npm_pwd bash: line 103: return: can only `return' from a function or sourced script [ERROR] in line 103: exit code 2: while executing command return 0 ``` but the username/password is created in the expected location /opt/.npm_pwd
Author
Owner

@MickLesk commented on GitHub (Mar 13, 2025):

fixed echo

@MickLesk commented on GitHub (Mar 13, 2025): fixed echo
Author
Owner

@rubenssoto commented on GitHub (Mar 14, 2025):

@MickLesk should the LXC container asking for login and password?

Image

Sorry, I'm new here, all other LXC's that I created using the scripts I didn't need login and password to login in the LXC.

@rubenssoto commented on GitHub (Mar 14, 2025): @MickLesk should the LXC container asking for login and password? ![Image](https://github.com/user-attachments/assets/11a81b4a-42e6-4072-90f2-0770bf053089) Sorry, I'm new here, all other LXC's that I created using the scripts I didn't need login and password to login in the LXC.
Author
Owner

@Mati-l33t commented on GitHub (Mar 14, 2025):

Type root and press enter

@Mati-l33t commented on GitHub (Mar 14, 2025): Type root and press enter
Author
Owner

@MickLesk commented on GitHub (Mar 14, 2025):

Yeah, alpine needs root

@MickLesk commented on GitHub (Mar 14, 2025): Yeah, alpine needs root
Author
Owner

@r-trigo commented on GitHub (Mar 16, 2025):

[ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}')

As my run stopped at this message too ☝ , the /opt/.npm_pwd file wasn't created. I was then able to retrieve the default login from the docker logs with:

docker logs npmplus | grep password
@r-trigo commented on GitHub (Mar 16, 2025): > [ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}') As my run stopped at this message too ☝ , the `/opt/.npm_pwd` file wasn't created. I was then able to retrieve the default login from the docker logs with: ```bash docker logs npmplus | grep password ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#626