Whitelist Not Working - Pi-Hole 5

I just installed Pi-Hole version 5 over the top of version 4.4 and I cant get the whitelisting to work. On clicking on the whitelist button from the recent queries listing all seems to work, after awaiting a couple a seconds I get the successfully applied. But when going into the whitelisting nothing is showing it remains blank.

When trying to add manually I get this error:

Please provide a debug token by running pihole -d from the command line, or using the tools menu on the web interface (make sure you choose to upload it)

The debug token will be at the end of the ouptut. Thanks!

Debug token

https://tricorder.pi-hole.net/ja3plx308l

What is the output of the following command, which will show the file permissions:

ls -lha /etc/pihole/gravity.db

image

What is the output of

ps aux | grep lighttpd
groups www-data

?

What is the output of the second command?

image

In this forum, you can copy and paste output directly into a reply. This helps us help you, as we can copy and paste your output as needed for troubleshooting. When you post a screen snap, we can't do that.

Also tried this if it helps at all

image

I am a bit of a novice at this so my apologies. How do I do that via putty?

It case is already clear, your user www-data is missing membership in group pihole.

Run

sudo usermod -a -G pihole www-data
sudo service lighttpd restart

and try again.

Yes, thank you its now working.....

2 posts were split to a new topic: Terminal Tool recommendations

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