Closed unurgunite closed 2 years ago
same issue with new fresh install on Rpi4
I believe this is a duplicate of #860
Run as root:
usermod -aG www-data pihole
usermod -aG pihole www-data
chown pihole:www-data /etc/pihole/*
chown pihole:www-data /etc/pihole/.
and restart Apache (or reboot) solved the problem for me.
It is allowing the pihole and Apache user each into each others groups.
And setting ownership of the /etc/pihole
folder and files to pihole user and groupship Apache user.
Versions
Platform
Expected behaviour I went to
http://my_ip/admin/groups-domains.php?type=black
and tried to add a domain to blacklist. Since then this domain is not accessible from my networkActual behaviour I went to
http://my_ip/admin/groups-domains.php?type=black
and tried to add a domain to the blacklist, but instead get an error inside the red block:P.S: I have the same issue with whitelist. On top of that,
pihole -w example.com
andpihole -b example.com
works without any errors