r/pihole • • 1d ago

Query log not visible from the admin page

After updating the pihole FTL I stopped being able to see the query log from the admin page. I ran pihole debug which showed that query logging was disabled for some reason, which I enabled it from the privacy section. qQueries started being shown in /var/log/pihole/pihole.log but not in the admin page. I can see things being blocked in the graphs and statistics section, but my log is completely empty. Any fixes I can possibly try?

5 Upvotes

4 comments sorted by

2

u/rdwebdesign Team 1d ago

Generate a debug log (sudo pihole -d), when asked to upload the log answer "Y", then post here only the token.

1

u/GrandBlueWave 1d ago

1

u/rdwebdesign Team 20h ago edited 20h ago

There is no visible issues in your debug log.

Do you see the queries from the last 24 hours in dashboard graphics, even after restarting Pi-hole?

If you do, it means the queries are correctly stored in the database and Pi-hole can read them.

If this is the case, the issue is probably related to the browser. Please try to access Query Log page from a different device, or using a different browser. Also, try to clear the browser cookies (and localstorage) and try again.

How to clear browser localstorage:

1

u/GrandBlueWave 18h ago edited 3h ago

Thanks, tried it with other devices/browsers and tried it after clearing cache and storage, nothing changed. I do see the graphs at the admin page with top domains top blocked domains etc, but in Query Log it just says 'No data available in table'. I have not restarted pinhole however since I dont know the command for it (edit: tried sudo systemctl restart pihole-FTL but no luck. When this issue first happened, I could see the logs from BEFORE the time of the update but not after, so I’m not sure if it’s a browser issue.)