Docker diginc/pihole:debian Lighttpd not starting error.log permission denied



Has anyone managed to run diginc/pihole:debian on docker successfully? I am trying to run Pihole behind traefik proxy. Traefik appears to be working correctly. But pihole web interface is not starting because lighttpd fails to start with

opening errorlog  '/var/log/lighttpd/error.log' failed: permission denied

I have been trying to get this working for days now. Opened an issue on GitHub but no response in days. Here is my docker-compose file.

Any help would be much appreciated.



What is the output of ls -l /var/log/lighttpd

drwxr-x---+ 2 www-data    www-data    4096 Jan 14  2017 lighttpd


Is that the directory itself, or the contents of it?
What is the output of ls -l /var/log/lighttpd/


Actually guys, I got this working. Due to all the testing and trials my /var/lib/docker folder was all messed up. Stopped docker, deleted the folder, and restarted. I had to recreate my containers from my docker-compose but everything worked after i did this.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.