npmplus - Error - Script error while creating default user #714

Closed
opened 2026-02-04 21:01:21 +03:00 by OVERLORD · 18 comments
Owner

Originally created by @dBitech on GitHub (Mar 29, 2025).

Have you read and understood the above guidelines?

yes

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

NPMplus LXC

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

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

📝 Provide a clear and concise description of the issue.

System does not create/provide the default login information:


   Retrieving Default Login (Patience)
[ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | grep -m1 "Creating a new user:")

root@pve-01:~# 

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

🔄 Steps to reproduce the issue.

run the installer, and follow thew prompts

Paste the full error output (if available).

......
......
(17/17) Installing docker (27.3.1-r3)
Executing busybox-1.37.0-r12.trigger
Executing ca-certificates-20241121-r1.trigger
OK: 297 MiB in 87 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): America/Vancouver
    Enter your ACME Email: xxx@xxxxxx.ca
    [+] Running 26/26tarting NPMplus (Patience)
    ✔ npmplus Pulled 13.9s
    ✔ f18232174bc9 Pull complete 1.4s
    ✔ a507b793f9af Pull complete 1.8s
    ✔ 85be7329d6c2 Pull complete 2.9s
    ✔ b0d8a12effa9 Pull complete 3.1s
    ✔ 5f05ab2731c8 Pull complete 3.4s
    ✔ 0308bbfef2ff Pull complete 3.5s
    ✔ 515aae389fa7 Pull complete 3.8s
    ✔ caaa07859306 Pull complete 4.0s
    ✔ c328314b0294 Pull complete 4.3s
    ✔ ed499e7c222e Pull complete 4.5s
    ✔ 0f0b99ec68c5 Pull complete 4.7s
    ✔ aa22a9e64e51 Pull complete 5.4s
    ✔ 1381829e87cb Pull complete 5.7s
    ✔ 1856f1f487e7 Pull complete 6.5s
    ✔ dba6b93a4015 Pull complete 6.8s
    ✔ 6ff4e35758ea Pull complete 7.9s
    ✔ 4f4fb700ef54 Pull complete 8.3s
    ✔ 7820c97b1c84 Pull complete 9.4s
    ✔ 3bd844992626 Pull complete 9.9s
    ✔ ee57a678957f Pull complete 10.2s
    ✔ 292be508d076 Pull complete 10.4s
    ✔ 94da71f14925 Pull complete 10.7s
    ✔ bb783cf9f1d4 Pull complete 11.0s
    ✔ fd52c0d48cec Pull complete 11.2s
    ✔ 2616f0f3d953 Pull complete 11.4s
    [+] Running 1/1
    ✔ Container npmplus Started 1.6s
    ✔️ 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 | grep -m1 "Creating a new user:")

root@pve-01:~#

🖼️ Additional context (optional).

No response

Originally created by @dBitech on GitHub (Mar 29, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? NPMplus LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/npmplus.sh)" ### 📝 Provide a clear and concise description of the issue. System does not create/provide the default login information: ``` Retrieving Default Login (Patience) [ERROR] in line 98: exit code 141: while executing command PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | grep -m1 "Creating a new user:") root@pve-01:~# ``` ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 🔄 Steps to reproduce the issue. run the installer, and follow thew prompts ### ❌ Paste the full error output (if available). ...... ...... (17/17) Installing docker (27.3.1-r3) Executing busybox-1.37.0-r12.trigger Executing ca-certificates-20241121-r1.trigger OK: 297 MiB in 87 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): America/Vancouver Enter your ACME Email: xxx@xxxxxx.ca [+] Running 26/26tarting NPMplus (Patience) ✔ npmplus Pulled 13.9s ✔ f18232174bc9 Pull complete 1.4s ✔ a507b793f9af Pull complete 1.8s ✔ 85be7329d6c2 Pull complete 2.9s ✔ b0d8a12effa9 Pull complete 3.1s ✔ 5f05ab2731c8 Pull complete 3.4s ✔ 0308bbfef2ff Pull complete 3.5s ✔ 515aae389fa7 Pull complete 3.8s ✔ caaa07859306 Pull complete 4.0s ✔ c328314b0294 Pull complete 4.3s ✔ ed499e7c222e Pull complete 4.5s ✔ 0f0b99ec68c5 Pull complete 4.7s ✔ aa22a9e64e51 Pull complete 5.4s ✔ 1381829e87cb Pull complete 5.7s ✔ 1856f1f487e7 Pull complete 6.5s ✔ dba6b93a4015 Pull complete 6.8s ✔ 6ff4e35758ea Pull complete 7.9s ✔ 4f4fb700ef54 Pull complete 8.3s ✔ 7820c97b1c84 Pull complete 9.4s ✔ 3bd844992626 Pull complete 9.9s ✔ ee57a678957f Pull complete 10.2s ✔ 292be508d076 Pull complete 10.4s ✔ 94da71f14925 Pull complete 10.7s ✔ bb783cf9f1d4 Pull complete 11.0s ✔ fd52c0d48cec Pull complete 11.2s ✔ 2616f0f3d953 Pull complete 11.4s [+] Running 1/1 ✔ Container npmplus Started 1.6s ✔️ 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 | grep -m1 "Creating a new user:") root@pve-01:~# ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 21:01:21 +03:00
Author
Owner

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

It doesn't matter, sometimes it takes too long for the test. The container exists and is completely built. The password must be requested manually. There is no other way.

@MickLesk commented on GitHub (Mar 29, 2025): It doesn't matter, sometimes it takes too long for the test. The container exists and is completely built. The password must be requested manually. There is no other way.
Author
Owner

@ghost commented on GitHub (Mar 30, 2025):

Is it though? I don't have a /opt/.npm_pwd file.

Same error as author.

@ghost commented on GitHub (Mar 30, 2025): Is it though? I don't have a /opt/.npm_pwd file. Same error as author.
Author
Owner

@ghost commented on GitHub (Mar 30, 2025):

Aditionally, when I logged in to the machine, hoping to run the upgrade script, the page looks like Alpine defaults and the command would not run, suggesting an incomplete install.

Image

@ghost commented on GitHub (Mar 30, 2025): Aditionally, when I logged in to the machine, hoping to run the upgrade script, the page looks like Alpine defaults and the command would not run, suggesting an incomplete install. ![Image](https://github.com/user-attachments/assets/a5ae566f-3745-4b3e-b368-5b946a75afb6)
Author
Owner

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

QLO doesnt Work at alpine. No Update.

docker ps & docker logs

@MickLesk commented on GitHub (Mar 30, 2025): QLO doesnt Work at alpine. No Update. docker ps & docker logs
Author
Owner

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

done

@MickLesk commented on GitHub (Mar 31, 2025): done
Author
Owner

@mr8tom commented on GitHub (Apr 1, 2025):

installed just now alpine and default. same error on both:

cat /opt/.npm_pwd
cat: can't open '/opt/.npm_pwd': No such file or directory
@mr8tom commented on GitHub (Apr 1, 2025): installed just now alpine and default. same error on both: ``` cat /opt/.npm_pwd cat: can't open '/opt/.npm_pwd': No such file or directory ```
Author
Owner

@MickLesk commented on GitHub (Apr 1, 2025):

its not an error. read the description. You need docker logs to check

@MickLesk commented on GitHub (Apr 1, 2025): its not an error. read the description. You need docker logs to check
Author
Owner

@AllenZox commented on GitHub (May 12, 2025):

installed just now alpine and default. same error on both:

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

You are looking in the proxmox console, check the container console, the command will run and you will find the username and password generated

@AllenZox commented on GitHub (May 12, 2025): > installed just now alpine and default. same error on both: > > ``` > cat /opt/.npm_pwd > cat: can't open '/opt/.npm_pwd': No such file or directory > ``` You are looking in the proxmox console, check the container console, the command will run and you will find the username and password generated
Author
Owner

@icna99a commented on GitHub (May 23, 2025):

I just tried to install a npmplus LXC and got the same error.
I installed it and erase it twice, then I tried to edit the /opt/compose.yaml to change the mail and password stored in it without luck.
It's very frustrating to be stuck in front of the login page !!!

Edit : when using default settings it works. Somehow when I use advance settings installation (and I only changed IP adress and gateway) it doesn't !

@icna99a commented on GitHub (May 23, 2025): I just tried to install a npmplus LXC and got the same error. I installed it and erase it twice, then I tried to edit the /opt/compose.yaml to change the mail and password stored in it without luck. It's very frustrating to be stuck in front of the login page !!! Edit : when using default settings it works. Somehow when I use advance settings installation (and I only changed IP adress and gateway) it doesn't !
Author
Owner

@jawaff commented on GitHub (Aug 30, 2025):

I ran into the same problem regarding the user creation. I used the advance settings so that I could configure the vlan tag. It looks like it installed, but I don't have the /opt/.npm_pwd file in the container for the password.

@jawaff commented on GitHub (Aug 30, 2025): I ran into the same problem regarding the user creation. I used the advance settings so that I could configure the vlan tag. It looks like it installed, but I don't have the `/opt/.npm_pwd` file in the container for the password.
Author
Owner

@jawaff commented on GitHub (Aug 30, 2025):

Okay, I checked the docker logs and the user/password was there. Looks good to go even though there was the error on creation.

@jawaff commented on GitHub (Aug 30, 2025): Okay, I checked the docker logs and the user/password was there. Looks good to go even though there was the error on creation.
Author
Owner

@josbmw commented on GitHub (Aug 30, 2025):

Okay, I checked the docker logs and the user/password was there. Looks good to go even though there was the error on creation.

I have the same issue.
Where can I find these logs in Proxmox?

@josbmw commented on GitHub (Aug 30, 2025): > Okay, I checked the docker logs and the user/password was there. Looks good to go even though there was the error on creation. I have the same issue. Where can I find these logs in Proxmox?
Author
Owner

@MickLesk commented on GitHub (Aug 30, 2025):

Like every time in docker. docker ps, docker logs

@MickLesk commented on GitHub (Aug 30, 2025): Like every time in docker. docker ps, docker logs
Author
Owner

@josbmw commented on GitHub (Aug 30, 2025):

Like every time in docker. docker ps, docker logs

Sorry, but where can I find these in Proxmox?
I can't find any docker logs in the GUI.
And Proxmox uses LXC containers, which is not Docker as far as I know.

@josbmw commented on GitHub (Aug 30, 2025): > Like every time in docker. docker ps, docker logs Sorry, but where can I find these in Proxmox? I can't find any docker logs in the GUI. And Proxmox uses LXC containers, which is not Docker as far as I know.
Author
Owner

@MickLesk commented on GitHub (Aug 30, 2025):

Console... docker ps and docker logs with id from docker ps

@MickLesk commented on GitHub (Aug 30, 2025): Console... docker ps and docker logs with id from docker ps
Author
Owner

@josbmw commented on GitHub (Aug 30, 2025):

Console... docker ps and docker logs with id from docker ps

When I try this from the Proxmox console I get:
root@pvemain:~# docker ps
-bash: docker: command not found

Tried on several of my Proxmox servers, always same error.

Also tried in the console of the LXC, same error.

@josbmw commented on GitHub (Aug 30, 2025): > Console... docker ps and docker logs with id from docker ps When I try this from the Proxmox console I get: root@pvemain:~# docker ps -bash: docker: command not found Tried on several of my Proxmox servers, always same error. Also tried in the console of the LXC, same error.
Author
Owner

@MickLesk commented on GitHub (Aug 30, 2025):

In the LXC of npm plus, not in the PVE.

If docker Not recognized, the Script hasnt never installed docker..please read some quick start knowledge of docker. Its super simple

@MickLesk commented on GitHub (Aug 30, 2025): In the LXC of npm plus, not in the PVE. If docker Not recognized, the Script hasnt never installed docker..please read some quick start knowledge of docker. Its super simple
Author
Owner

@josbmw commented on GitHub (Aug 30, 2025):

Thnx, solved.

@josbmw commented on GitHub (Aug 30, 2025): Thnx, solved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#714