arevindh / pihole-speedtest

Pihole Speedtest Mod
https://arevindh.github.io/pihole-speedtest/
MIT License
218 stars 22 forks source link

"Start time" column shows "Invalid date" after pihole update #158

Closed guygrinberger closed 4 months ago

guygrinberger commented 5 months ago

after updating pihole using pihole -up no results are seen on the speedtest graph. in the speedtest log I can see that the tests are running (I even cleared it so I can see it filling up) but the value of start time for each result is "Invalid date" Screenshot 2024-02-08 at 10 45 30 AM

arevindh commented 5 months ago

after updating pihole using pihole -up no results are seen on the speedtest graph. in the speedtest log I can see that the tests are running (I even cleared it so I can see it filling up) but the value of start time for each result is "Invalid date" Screenshot 2024-02-08 at 10 45 30 AM

Can you give more details

guygrinberger commented 5 months ago

@arevindh

arevindh commented 5 months ago

@arevindh

* OS Raspbian GNU/Linux 11 (bullseye)

* Chrome 121.0.6167.85
guygrinberger commented 5 months ago

@arevindh

ipitio commented 5 months ago

Try updating with the mod script

curl -sSLN https://github.com/arevindh/pi-hole/raw/master/advanced/Scripts/speedtestmod/mod.sh | sudo bash -s up
guygrinberger commented 5 months ago

@ipitio still having invalid date after update

ipitio commented 5 months ago

157 fixes all datetime issues (I hope)

guygrinberger commented 5 months ago

@ipitio just noticed this error while using the update script

fatal: HEAD does not point to a branch

  Error: Remote revision could not be obtained, please contact Pi-hole Support
ipitio commented 5 months ago

Yeah that's also fixed in the PR

ChrisWNY commented 4 months ago

I just updated Pi-hole to grab the latest FTL version and had to update Speedtest as well. I'm getting nothing for bar charts after pulling the latest speedtest repo. Speedtest log looks fine, and the dates display properly. If I go into Speedtest settings to "show chart preview," just see spinning arrows. My issues are the same as those outlined by the OP otherwise.

ipitio commented 4 months ago

Hmm are there any warnings or errors in the console?

There are some values stored in LocalStorage, could you first share the values for the keys that start with "speedtest", then try clearing site data?

And what browser are you using? Do you have the same issue on another browser or device?

ChrisWNY commented 4 months ago

Not sure what happened but it's working now...may have been a cache issue. I generally use MS Edge or Chrome, which are similar. New bar graph looks very nice btw.

guygrinberger commented 4 months ago

issue got resolved for me as well without any changes.