-
Notifications
You must be signed in to change notification settings - Fork 3k
Unable to start npm container... #2991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@BHuck74 |
Stuck at the exact same spot with the same logs on a fresh install of
And
Here's the docker command I used to try running the service (changing out $ docker run -d -h nginxproxymanager-2 --network macvlan.docker --ip 192.168.0.28 \
--mac-address 02:42:c0:a8:00:8c --name=nginxproxymanager-2 \
-v /mnt/docker/applications/nginx-proxy-manager-2/data:/data \
-v /mnt/docker/applications/nginx-proxy-manager-2/letsencrypt:/etc/letsencrypt \
-p 80:80 -p 443:443 -p 81:81 --restart unless-stopped jc21/nginx-proxy-manager:latest I've also tried setting the following variables with no success: Do note that I've used To answer what @dziubalabs asked above, no this directory is not an NFS or SAMBA share. |
Actually not, local ext4 FS... |
Dear all, Thank you for your comments. I finally succeeded with bringing up the stack by doing... nothing. The process just take a while, don't ask me why 🤷♂️ It's not just a matter of minutes, but more. Cheers |
Great! I was asking about mounted FS, since I had similar issues with other docker. I first added 777 permissions to the main folder and it went OK. Then I needed to figure out what permissions and ownership the FS needed. |
Huh... That's very interesting. I'll try leaving it alone then. @BHuck74 is that only for the first start or does it need time for every start? |
I'm in the same shoes... |
yes, in the morning all is good. Even if I restart it, it starts up quickly. So I guess it was only trying to do some maintenance or something. |
Well, today I have the same issue. It takes a long time to start up or restart, and the logs are exactly the same. |
Before this happen to me, I try to backup NPM instance. The "Setting ownership ..." is a part of script to chmod all files related. I guess that's where the problems came from. |
Just found that certbot created well over a thousand keys for my small homeserver setup in the same folders described above. Confused and experiencing the same issue as OP with container taking far too long to start (actually, I've only waited 20 minutes so far and it's failed to start entirely so far). Honestly, I'm just trying to solve my initial issue of not being able to renew SSL Certs and seem to be running into more and more issues lol. |
Hi, |
Same here. There's just 163 files in the mount, but "changing ownership" takes roughly 90 seconds. It's a ZFS pool, so data should be in-memory, I think this should / could be improved? But maybe it's not about permissions, but some logging output missing? |
I suspect it might be:
It's changing 3.5k files on startup. Note sure if we need a new issue: "Container is slow to start" |
I did a time on that command:
I'm running on:
With the docker filesystems running on the spinning HDDs. |
See NginxProxyManager#2991 Removes uneeded file permission changes in rootfs certbot install. Tested installing custom DNS provider plugins for certbot, works correctly.
My change was included, but then inadvertently broken again.
The The existing ones are part of the root install that is readable by all. |
If anyone is encountering this issue my PR #3617 fixes it for me. Instead of having to wait >2 hours for startup it only took 1 Minute and 30 seconds in my case. |
Dear all,
I've spent hours trying to get the following stack working but still encounter the following poor log file:
Checklist
jc21/nginx-proxy-manager:latest
docker image?Describe the bug
Stack init seems to get stuck...
Nginx Proxy Manager Version
Not able to get the stack accessible.
To Reproduce
Steps to reproduce the behavior:
Docker-compose file:
** Portainer log file **
Operating System
Debian 10
The text was updated successfully, but these errors were encountered: