-
-
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
Lighttpd fails to start on Synology: (network.c.464) can't bind to port: 80 Address already in use #464
Comments
I have now done this, and it's all sorted. Sorry for the spam! |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-mit-hue-sonos-iobroker-und-alexa/31042/14 |
Still they did not solve is not it. I'm using the latest version of pihole, on synology docker. Unbelievable |
If you believe you are having the same issue as OP, please provide some more detail. I can't do much with "unbelievable". Here is the code that sets the custom web port: docker-pi-hole/src/s6/debian-root/usr/local/bin/bash_functions.sh Lines 373 to 394 in a9ecd4e
Please run the container with the environment variable Also, please provide the command or compose file you are using to configure/start your container.7 I am running on Synology with no issues... |
This is a...
Description
I've updated the image from 4.2.X and setup a fresh container, same volumes and environment variables as before. It fails to start, and the log contains these lines over and over:
Expected Behavior
Container starts successfully.
Actual Behavior
Container fails to start.
Possible Fix
It seems that my
ServerIP
/WEB_PORT
configuration is being ignored, as/etc/lighttpd/lighttpd.conf
is trying to use port 80. Switching it to the same port as specified inWEB_PORT
makes everything work again.Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
ServerIP
,WEB_PORT
andVIRTUAL_HOST
Debug steps I have tried
docker run
example in the readme (removing any customizations I added)Context and extra information
#432, but I have
ServerIP
specifiedYour Environment
Docker version 17.05.0-ce, build 371caef-synology
The text was updated successfully, but these errors were encountered: