You are not logged in.
pihole web interface throws me the following error:
There was a problem applying your settings.
Debugging information:
PHP error (2): file_exists(): open_basedir restriction in effect. File(/var/log/apache2/error.log) is not within the allowed path(s): (/srv/http/pihole:/run/pihole-ftl/pihole-FTL.port:/var/log/apache2/error.log:" [...and so on and so on]Notice that var/log/apache2/error.log is included in the open_basedir. It does not exist, I even tried creating the folder and the file manually.
Last edited by itarill (2021-11-01 13:45:32)
Offline
The PHP documentation is not very clear, but it looks like you can only specify directories.
Offline
You might be right. I changed all the .log, .conf etc. files in the open_basedir to this. I might have misunderstood Arch wiki then, but it is also a little bit ambiguous.
I also had to create /etc/lighttpd folder (even though I use nginx), but the error is gone now.
Thanks!
Offline