Clients over time doesn’t update, just sits there with the spinning

Updated, only problem I have is the clients over time doesn't update, just sits there with the spinning arrows

Cleared the logs, tried icognito in Chrome, tried Firefox, no dice.

Reverted back to master and it updates as expected.

Running it on an Intel Nuc, Ubuntu 17.10

Edit: Forgot to check with Chrome developer tools, getting a 500 error for some reason:

Running incognito should negate the need to flush the browser cache I would've thought?

In any case, I tried with Firefox (which is a browser I've never used to access the dashboard) in addition to another computer entirely that I've never accessed the dashboard with either

All exhibit the same problem unfortunately

From /var/log/lighttpd/error.log:

2018-03-27 12:41:30: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function resolveHostname(), 1 passed in /var/www/html/admin/api_FTL.php on line 308 and exactly 2 expected in /var/www/html/admin/scripts/pi-hole/php/FTL.php:143
2018-03-27 12:41:30: (mod_fastcgi.c.2543) FastCGI-stderr: Stack trace:
2018-03-27 12:41:30: (mod_fastcgi.c.2543) FastCGI-stderr: #0 /var/www/html/admin/api_FTL.php(308): resolveHostname('192.168.1.149')
2018-03-27 12:41:30: (mod_fastcgi.c.2543) FastCGI-stderr: #1 /var/www/html/admin/api.php(86): require('/var/www/html/a...')
2018-03-27 12:41:30: (mod_fastcgi.c.2543) FastCGI-stderr: #2 {main}
2018-03-27 12:41:30: (mod_fastcgi.c.2543) FastCGI-stderr: thrown in /var/www/html/admin/scripts/pi-hole/php/FTL.php on line 143

Hmm OK, back to the idea board

Have you tried removing log files, the database too, then reboot just to be sure and wait 24 hours for the data to fill up ?!

This was the only thing I had to do to fix this issue after the last stable update :slight_smile:

Kudo's go to someone in the German forum at the time!

My browser is never the issue since it always clears it's cache on exit :wink:

+1 on this exact entry in my log as well and the same symptom after upgrade to the beta.

Linux PiHole 4.13.13-6-pve #1 SMP PVE 4.13.13-42 (Fri, 9 Mar 2018 11:55:18 +0100) x86_64 x86_64 x86_64 GNU/Linux

Found the fix.

in /var/www/html/admin/api_FTL.php
change line 308 from

$forward_dest[resolveHostname($tmp[2])] = floatval($tmp[1]);

to

$forward_dest[resolveHostname($tmp[2],true)] = floatval($tmp[1]);

Chart works great now!!

It works if you use true or false...just seems to need a second parameter.

2 Likes

Thanks man, this works :slight_smile:

1 Like

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