mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #2773] s6-rc: warning: unable to start service prepare #1907
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1907
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @techsolo12 on GitHub (Mar 29, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2773
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
After update to 2.10.1 i got a error, if i use a custom ssl-ciphers file.
Log:
[+] Running 1/1
✔ Container nginx-proxy-manager Recreated 0.2s
Attaching to nginx-proxy-manager
nginx-proxy-manager | s6-rc: info: service s6rc-oneshot-runner: starting
nginx-proxy-manager | s6-rc: info: service s6rc-oneshot-runner successfully started
nginx-proxy-manager | s6-rc: info: service fix-attrs: starting
nginx-proxy-manager | s6-rc: info: service fix-attrs successfully started
nginx-proxy-manager | s6-rc: info: service legacy-cont-init: starting
nginx-proxy-manager | s6-rc: info: service legacy-cont-init successfully started
nginx-proxy-manager | s6-rc: info: service prepare: starting
nginx-proxy-manager | ❯ Configuring npmuser ...
nginx-proxy-manager | id: 'npmuser': no such user
nginx-proxy-manager | ❯ Checking paths ...
nginx-proxy-manager | ❯ Setting ownership ...
nginx-proxy-manager | ❯ Dynamic resolvers ...
nginx-proxy-manager | ❯ IPv6 ...
nginx-proxy-manager | Enabling IPV6 in hosts in: /etc/nginx/conf.d
nginx-proxy-manager | - /etc/nginx/conf.d/production.conf
nginx-proxy-manager | - /etc/nginx/conf.d/include/ssl-ciphers.conf
nginx-proxy-manager | sed: cannot rename /etc/nginx/conf.d/include/sedXg1RRw: Device or resource busy
nginx-proxy-manager | s6-rc: warning: unable to start service prepare: command exited 4
nginx-proxy-manager | /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.
Nginx Proxy Manager Version
2.10.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clean start without an error.
Operating System
Debian 11.x
@ConTraXX commented on GitHub (Apr 1, 2023):
I had this issue and fixed it by downgrading the docker image to v2.9.22.
May or may not be the same as you, but for me I need to stop using watchtower. I believe it causes more problems than it could solve...and start pinning versions so that I can review changes and plan for them.
@hugalafutro commented on GitHub (Apr 6, 2023):
@ConTraXX I wholeheartedly recommend https://github.com/crazy-max/diun/ I have it setup so that every few days I get list of updated images on telegram, can then review changes or just backup / snapshot and take the plunge with new image. Watchtower looks nice I know; set it and forget it; but having used it on a machine running ~50 containers it was no bueno.
@k3d3 commented on GitHub (Apr 9, 2023):
I was having the same issue, because I had also overridden ssl-ciphers.conf.
This occurs because sed in a startup script tries to modify (via copying+replacing) every file in /etc/nginx and /data/nginx. The script causing this issue is
github.com/NginxProxyManager/nginx-proxy-manager@67208e43cc/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.shSo what I did was, in my docker-compose file, I added the following line under volumes:
It's not the greatest solution, but it's a workaround at least.
@zthxxx commented on GitHub (Apr 17, 2023):
same problem here, and the workaround in @k3d3's comment work for me
@elsternet commented on GitHub (May 5, 2023):
same problem here, same workaround worked.
@b3ni commented on GitHub (May 25, 2023):
Same problem, but not resolved.
Version: 2.9.22
Error at start:
When comment volume line: ip-forward.conf start ok.
@alexunderboots commented on GitHub (May 25, 2023):
downgrade to Version: 2.9.22 - not helpfull for me (((
@alexunderboots commented on GitHub (May 30, 2023):
It's work, thanks
@jar87 commented on GitHub (Dec 14, 2023):
Where did You do that? I can`t find file...:(
@kodamaChameleon commented on GitHub (Feb 10, 2024):
Errors
"Successful" Workaround
Having this same issue. Downgrading to version v2.10.4 solved the problem for me.
My docker-compose file:
Failed Attempts
- /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.shto volumes@bobbywaz commented on GitHub (May 5, 2024):
thanks k3d3, fixed for me too!
@kmanwar89 commented on GitHub (May 13, 2024):
I'm running into this issue on the v3 branch. Recognizing v3 isn't "released" yet, it's just interesting to note here because I (previously) was actually able to get v3 running, so this error seems to be "new" (I guess?). The /dev/null workaround did not work, unfortunately; logs below:
This is the compose file I'm using as a test:
This may have to do with the fact the last release on Dockerhub for v3 was 9 months ago, so not raising a stink over it, just adding it as a data point in case it helps anyone else later down the line.
Edit: I haven't done anything with ssl-ciphers.conf, so my error appears to be a bit more "native" in nature. I also don't have a 50-ipv6.sh file in the error directory based on poking around inside the containers' terminal:
My "working" instance of NPM is currently v2.11.2, and I haven't faced this issue in that version.
@fuqiangleon commented on GitHub (May 17, 2024):
@kmanwar89 did you fix the error above?
@kmanwar89 commented on GitHub (May 19, 2024):
Nope - I'm instead switching back to v2, and have been writing a Python program for programmatically adding in proxy hosts using Python instead. I was hoping someone with more knowledge of the error would chime in.
@artenais commented on GitHub (Dec 3, 2024):
In v3 seems to happen on acme.sh :
❯ Dynamic resolvers ...
+++ is_true true
++++ echo true
++++ tr '[:upper:]' '[:lower:]'
+++ VAL=true
+++ '[' true == true ']'
+++ echo 1
++ echo resolver '10.43.0.10 ipv6=off valid=10s;'
++ acme.sh -h
s6-rc: warning: unable to start service prepare: command exited 127
/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.
WORKAROUND FOR LOCAL PATH :
@github-actions[bot] commented on GitHub (Jun 11, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@Whatchawnt commented on GitHub (Jun 16, 2025):
I'm getting this as well tried
- /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.shand downgrading to v2.10.4 to no avail, also tried @kodamaChameleon method as well still nothing. I'm running on TrueNAS so maybe that also might play a role in things?@github-actions[bot] commented on GitHub (Jan 25, 2026):
Issue is now considered stale. If you want to keep it open, please comment 👍