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:latestdocker 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.
Sorry, all good now. I just restart one more time…
Faced the same issue, docker only works when restarted again
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.
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.
This is also the case for me. I have returned to 2.9.19 and can still use it normally. Continue to wait and see.
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, 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.
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.
Do you know if there are detailed instructions on how to use this for npm? I am not Docker savvy. The commands listed either give me a "no configuration file provided" or "no such container" error. Thanks!
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
The /etc/letsencrypt directories on the arm64 rpis that are timing out are not large (~125k and ~250k respectively). I've been running npm for about 18 months but use a single wildcard cert for each instance.
Just for pointing out that same issue (along with same workaround too) happens even starting from scratch with a brand new NPM container (v2.10.0).
EDIT - BTW just noticed that in another installation of mine (running v2.9.22 arm64) everything worked fine after upgrade to latest (v2.10.0)
Came here to add another vote that I am experiencing this issue
Fresh server install of ubuntu 22.04, new docker installed, same problem no certs, can't create a user default won't log in. Same error message as above.
+1
v2.9.22 works, v2.10 fails to launch with s6-rc: fatal: timed out
Fresh server install of ubuntu 22.04, new docker installed, same problem no certs, can't create a user default won't log in. Same error message as above.
I've just spun up Ubuntu 22.04.2 LTS amd64 with only docker installed and I don't have any problems using this config, login and changing default user works absolutely fine.
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
I've put a fix up and it's available in the github-develop docker tag, can you please try that and let me know if you get further. Please close this if that fixes it.
I've put a fix up and it's available in the
github-developdocker tag, can you please try that and let me know if you get further. Please close this if that fixes it.
the github-develop docker tag fixed it for me.
Great. I'll close this for now.
FWIW the problem seems to be that chown'ing the entire contents of the /etc/nginx folder on some systems caused the issue.
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 normal
this is on github-develop

this is on 2.9.22

the only change was the docker tag.
github-develop does not fix it for me.
❯ Configuring npmuser ...
id: 'npmuser': no such user
❯ Checking paths ...
❯ Setting ownership ...
s6-rc: fatal: 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.
s6-sudoc: fatal: unable to get exit status from server: Operation timed out
Update: The only way I could get it working asap was to run the container as root. e.g.:
services:
app:
user: root