Dashboard Top Client/Domains Stats Not Live Updating

Expected Behaviour:

  • Core v6.1.4

  • FTL v6.2.3

  • Web interface v6.2.1

On version 5.x on the dashboard all of the Top Domains/Clients statistics at the bottom of the dashboard page used to live update.

I am expecting all the stats on the dashboard to show live updates as they happen.

Actual Behaviour:

On my current version only the stats across the top of the page in colored boxes live update and the stats at the bottom in the Top Domains/Clients don’t live updated.

Debug Token:

Not provided - too much information.

Design intent according to ChatGPT:

The transition from Pi-hole v5 to v6 introduced significant changes to the web interface, including a complete rewrite that replaced the previous PHP-based system with an embedded Lua-based web server and REST API. This overhaul likely impacted various dashboard features, including the live updating of statistics.

In Pi-hole v5, the "Top Domains" and "Top Clients" sections were dynamically updated using JavaScript, often relying on variables like getQuerySources, topClientsBlocked, and summaryRaw&topItems. However, in v6, these variables are no longer present, and the dashboard's behavior has changed accordingly.

This AI answer is misleading.
The API was changed, but Pi-hole v6 dashboard is still dynamically updated using JavaScript.

This is completely wrong. The dashboard is constantly updated.

The tables (Top Clients and Top Domains) are updated every 60 seconds.
If your dashboard is not updating, please follow the help template and include a debug Token.

Yes, the tables do update every 60 seconds. Not live updating.

What do you mean by "live updating".

The only difference is: in v5 the lists were updated every 10 seconds and now v6 updates them every 60 seconds.

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