nginx-proxy-manager: s6-sudoc: fatal: unable to get exit status from server: Operation timed out
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latest
docker image?- Yes
- Are you sure you’re not using someone else’s docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug
After updating from 2.9.19 to 2.9.21, docker don’t start. See log below.
Nginx Proxy Manager Version 2.9.21
Operating System Odroid Debian OS docker arm64
Additional context
Docker-compose
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- app-data:/data
- letsencrypt:/etc/letsencrypt
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
volumes:
app-data:
letsencrypt:
Log of docker:
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01_perms.sh
/package/admin/s6-overlay-3.1.4.1/etc/s6-rc/scripts/cont-init: 20: /package/admin/s6-overlay-3.1.4.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/01_perms.sh: not found
cont-init: info: /etc/cont-init.d/01_perms.sh exited 127
cont-init: info: running /etc/cont-init.d/01_s6-secret-init.sh
/package/admin/s6-overlay-3.1.4.1/etc/s6-rc/scripts/cont-init: 20: /package/admin/s6-overlay-3.1.4.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/01_s6-secret-init.sh: Permission denied
cont-init: info: /etc/cont-init.d/01_s6-secret-init.sh exited 126
cont-init: warning: some scripts exited nonzero
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service prepare: starting
❯ Checking folder structure ...
s6-rc: fatal: timed out
s6-sudoc: fatal: unable to get exit status from server: Operation timed out
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 49 (4 by maintainers)
Links to this issue
Commits related to this issue
- Another fix for #2734, only chown parts of /etc/nginx — committed to NginxProxyManager/nginx-proxy-manager by jc21 a year ago
- Chown each folder on separately Really not sure why this fixes #2734 however it does actually help the ownership script succeed specifically on arm7/raspbian — committed to ZwerG-MaX/nginx-proxy-manager by jc21 a year ago
Came here to add another vote that I am experiencing this issue
@jc21 - this issue needs to be reopened.
This issue is not fixed and has been a problem for the last 2 weeks now. It works when you delete all your files and start new but it seems the first restart it comes back. It is quite disappointing that this issue would be closed without actually fixing anything.
Faced the same issue, docker only works when restarted again
Just editing my comment to let you know that pruning the cert folder worked for me:
npm_app is the name of my docker container for the jc21/nginx-proxy-manager:latest image. Change it according to your environment.
Yep , I removed it and did a reinstall but same problem. So now deleted it and switch to Cloudflare Tunnels.
Same here. Version 2.10.3 seems to be working ok. Thanks!
Updating to 2.10.3 completely fixed this issue for me as well
can confirm this issue persisted for months and seems to be gone after updating today. from 2.10.3 change notes:
why is this closed, the issue still exists or is there some other fix I didn’t find about
Same problem here, the log says:
❯ Configuring npmuser … id: ‘npmuser’: no such user s6-rc: fatal: timed out s6-sudoc: fatal: unable to get exit status from server: Operation timed out /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
Apparently the problem has been introduced in the version 2.9.21. The version 2.9.20 is working fine too. There was another issue opened (#2743) for that with the exact same issue (can’t reboot the container for version > 2.9.20). Now both issues are closed but it is not fixed yet. I don’t know why both were closed as the problem is still there. We should maybe open a new one (WDYT @jc21) ?
This worked for me. Let’s see how long it lasts!
Also agree, I had to downgrade to 2.9.22 to get everything working again, not sure why this is being closed if it is an issue on latest
I get same error as above on rpi arm64.
github-develop does not fix it for me.
Update: The only way I could get it working asap was to run the container as root. e.g.:
I’m not sure if this is an intented side effect of the
github-develop
docker tag but it does work and the proxy configs work. However if you login to the management then the user account is the admin@example with the changeme password again.If you login it shows 0 proxy hosts but there are proxy hosts from the old config.
If I change my docker tag to
2.9.22
then everything goes back to normalthis is on
github-develop
this is on
2.9.22
the only change was the docker tag.
Also have the problem. Tried stopping / restart Docker. Restart Synology NAS but keeps coming back. Because of that all my program’s are not running anymore that works with the proxy so hopping you find a fix
Log: s6-sudoc: fatal: unable to get exit status from server: Operation timed out /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information
Assuming this is happening on your existing stacks that have been running for a while, I’m guessing that the script that checks ownership at startup is taking longer than expected due to the size of your letsencrypt folder.
Certbot doesn’t clean up older certs and just leaves them there after each renewal, so this folder can get filled with files although they are not too big.
The second restart would be faster if the files were fresh in storage caches, perhaps.
See the release notes for 2.9.20 for instructions to prune this folder.
In the meantime I’ll look at fixing the timeout.
Same problem here. It does work if you restart the container. It does not work when first started (ie. after a computer reboot). It also doesn’t work again when starting after an update. Currently on version 2.9.22. I’m not sure where these logs it refers to are located. A big problem is that the container doesn’t restart on its own. It just hangs there not working until it is restarted.
This is still an issue. I would recommend opening it back up.