Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Lighttpd failing to start due to error.log permission #268
This is a...
Lighttpd is failing to start with the following error:
Keeps trying to start with the same error. I have tried to manually restart lighttpd but it fails. I have also tried to modify permissions as discussed here.
I am on diginc/pihole:debian.
Here is my docker compose: https://pastebin.com/xRWiBYBp
Web interface accessible.
Lighttpd failing to start. So no web access. from the docker logs pihole seems to be working. All lists are downloaded etc.
Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
Debug steps I have tried
Context and extra information
Unable to access web interface.
I will try out your docker-compose.yaml file tonight but I have a question for you.
You checked off the box
Did it have the same problem as your docker-compose? That may indicate an environment problem since no one else is reporting stock docker run command lighttpd failures.
I find it easier to deal with permissions while using user remapping. Everything runs as root within the container and uid 0 is mapped to a non-priviledged user on the host. I just chown everything to this user on the directories mapped as rw in the container: