-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
(mod_fastcgi.c.1406) [ERROR]: spawning fcgi failed #217
Comments
Are there any volumes pointed to /var/? What's the container run configuration look like? |
I'm seeing the same issue with that image, as well as the current debian_dev tag. Simply creating the /var/run/lighttpd directory inside the container and giving www-data r/w access fixed the problem. Also tried building from your dockerfile, and the resulting image had the same problem. I didn't see any errors when lighttpd was installed, maybe something has changed with the deb. For now, adding a couple lines to the Dockerfile to create the directory and set perms works. |
+1 on this issue. should we put a PR in for the temp fix? |
I've been out sick for a week, trying to reproduce with docker_run.sh now. |
I was unable to reproduce. Can I see a docker run command example? Also what OS & Docker version are those of you seeing this problem using? I ran this exactly: https://raw.githubusercontent.com/diginc/docker-pi-hole/master/docker_run.sh
/var/run/lighttpd permissions:
|
and here:
Docker version 1.13.1, build fbadd78-unsupported
|
whoops almost forgot the docker run:
|
what about #220 reports this issue happening on CentOS and you report Fedora. Since I'm unable to reproduce the problem on ubuntu I'm wondering if there's a connection between this bug and the Docker OS being RedHat based. @xenithorb what OS are you? If the work around is simply a |
Interesting.
so much for the host OS not being that important to container images.. |
CentOS 7.4 here @diginc |
just-containers/s6-overlay#158 (comment) maybe the cause or related? |
Yeah looks like it- I think the best workaround for now is to add the VOLUME /run to the dockerfile or just make a note for people to add -v /run to the docker run command. Thoughts? |
I took away that renaming /init to something different would also be a valid work around since it would prevent the auto mounting /var. |
debian_dev tag use /s6-init instead of /init now: https://hub.docker.com/r/diginc/pi-hole/tags/ |
I can report that both solutions work, mounting Thanks |
Getting this in /var/log/lighthttpd/error.log
docker logs
shows s6 is restarting lighthttpd over and over again, but otherwise pi-hole setup was successful and DNSmasq is running and working. FTL is also running OK.The text was updated successfully, but these errors were encountered: