pi-hole / web

Pi-hole Dashboard for stats and more
https://pi-hole.net
Other
2.03k stars 560 forks source link

"Total queries over last 24 hours" empty #3004

Closed tobbi closed 5 months ago

tobbi commented 6 months ago

Versions

Platform

Expected behavior

"Total queries over last 24 hours" is showing live data and updating

Actual behavior / bug

"Total queries over last 24 hours" is empty and not updating

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to the pihole admin interface and log in.
  2. Select "Dashboard" from the top left.
  3. See the total queries bar chart and how it's not updating.

Debug Token

Screenshots

Screenshot at Apr 16 17-24-49

Additional context

I posted about this problem here https://discourse.pi-hole.net/t/potential-bug-total-queries-over-last-24-hours-empty/69602 already. I just want to make sure to cross-reference this.

What API is responsible for updating the live data? I can check what the API returns for me then.

rdwebdesign commented 6 months ago

What API is responsible for updating the live data?

More than one:

tobbi commented 6 months ago

Okay, so I noticed that admin/api.php?overTimeData10mins (apparently only executed once when loading) returns

{"domains_over_time":[],"ads_over_time":[]}

Not sure if that is correct.

api.php?overTimeDataClients&getClientNames returns

{"clients":[{"name":"fritz.box","ip":"192.168.178.1"},{"name":"localhost","ip":"127.0.0.1"},{"name":"raspberrypi.fritz.box","ip":"192.168.178.23"},{"name":"localhost","ip":"::1"},{"name":"raspberrypi.fritz.box","ip":"<my public v6 IP>"}],"over_time":[]}
rdwebdesign commented 6 months ago

Please post your answers (including the last one above) in Discourse topic to keep all information in one place.

tobbi commented 5 months ago

This issue was resolved after I restarted my Raspberry Pi.