You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Troubleshooting undertaken, and/or other relevant information:
Looking in /var/log/lighttpd/error.log shows
(mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: file(/etc/pihole/adlists.list): failed to open stream: Permission denied in /var/www/html/pihole/index.php on line 120
The permissions on /etc/pihole/adlists.list are
$ sudo ls -al /etc/pihole/adlists.list
-rw------- 1 root root 381 Sep 15 17:42 /etc/pihole/adlists.list
The text was updated successfully, but these errors were encountered:
After much searching (including a complete system reinstall) I finally remembered to check my bashrc. And yes, there is a umask setting.
umask 0077
So the pi-hole install script is relying on a different umask? I see that the default umask is normally 0022. I'll manually set that and do the pi-hole install now.
In raising this issue, I confirm the following:
How familiar are you with the the source code relevant to this issue?:
1
Expected behaviour:
The Pi-hole admin page should work
Actual behaviour:
[ERROR]: There are no adlist URL's found within /etc/pihole/adlists.list
Steps to reproduce:
Fresh install on Raspberry Pi with all the latest updates. Point a webbrowser at http:///admin/
Debug token provided by uploading
pihole -d
log:Not provided
Troubleshooting undertaken, and/or other relevant information:
Looking in /var/log/lighttpd/error.log shows
(mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: file(/etc/pihole/adlists.list): failed to open stream: Permission denied in /var/www/html/pihole/index.php on line 120
The permissions on /etc/pihole/adlists.list are
$ sudo ls -al /etc/pihole/adlists.list
-rw------- 1 root root 381 Sep 15 17:42 /etc/pihole/adlists.list
The text was updated successfully, but these errors were encountered: