docker-speedtest-analyser
docker-speedtest-analyser copied to clipboard
Results no longer displaying
My speedtest has been working solidly for over a year now, however from saturday or so it stopped displaying. doesn't matter what i do the graph draws but no results come up. I have tried deleting the results.csv to create a new one but now it says "invalid date" on the x axis. I pulled the latest version to see if that fixed it but no luck
results are being written to the file, but not sure if there is an issue with the way it gets written.
Is the 1.2 version still working for you? In my setup latest version does run the speedtest (with the same invalid date error you have) but results are written correctly as the 1.2 version can show those results in the graph
Had the same issue, and did some research. In evaluation.js the processing of the timestamps fails. I guess the structure of the row.data[0] object of the Papa.parse has changed.
Changing the row.data[0] to row.data resolved the issue for me.
I hope that information helps.
I also have the issue with the results not showing in the graph. Currently running 1.3. and changed the row.data[0] to row.data -> Results are showing up. It did the trick. Thanks @Developer22974
Same here. Using the docker container and manually fixed it there as a temporary workaround - changed row.data[0] to row.data and all is working again.
Had the same issue, and did some research. In evaluation.js the processing of the timestamps fails. I guess the structure of the row.data[0] object of the Papa.parse has changed.
Changing the row.data[0] to row.data resolved the issue for me.
I hope that information helps.
Hi there, I found the file and edited the row but still not joy. Did i miss something else I needed to do?
What I found out was to clear the cache of the browser. Then do a refresh. Did you do this? Also maybe try out other browsers just to do some testing.
What I found out was to clear the cache of the browser. Then do a refresh. Did you do this? Also maybe try out other browsers just to do some testing.
That did the trick… I just tried an incognito mode and yes i can see it now! Thanks so much for your tips!
Awesome ! Yeah, it took me a while to figure that one out. I'm glad I could help.
Weird enough I am having the issue that the tester does not automatically run , it does it sporadically. So I have a 11am, then again 1pm, then again 3pm , then again 9pm. No pattern to be seen. I need to do some digging.
Just spun this up and I'm seeing no results either. Incognito mode/clearing the cache doesn't help. Is the PR going to be merged and a new release pushed out soon, or do I need to manually hack the js per the comments above?
Edit: Hacked the js per the PR to remove the '[0]' and it's working now. :)
I just did this and it looks like the file is able to be written but it has 0 content inside it? It's blank (fresh fresh copy)?
That's weird that there is no content.
These are the steps I use:
Open Docker -> open the docker container -> goto terminal -> create -> bash windows opens
In terminal -> cd /var/www/html/js vi evaluation.js
go to line Papa.parse("data/result.csv", { There you will find the line let dataArr = row.data;
See if this works
Sorry I apologise, I mean "I've just done this" as in I've re-run a fresh container.
I have not edited the contents of an existing one and I have a script, which stops, deletes, pulls fresh and re-spins all my containers once a week, so as soon as I commit a change to fix this one problem, a week later it will break again.
I suspect the fix needs to be done by roest01
Ah ok gotcha.
I've actually mapped out /var/www/html/js into my filesystem.
-v /dockerconfigs/speedtestanalyzer/js:/var/www/html/js
I've copied the contents of the files into here and about 2/3 down in the .js text file I removed the [0] and it has not worked. I give up at this stage and I'll wait for the developer to fix the bug in the original docker container, it's (presumably?) a very quick and simple process, tho it has been broken for months now, perhaps he's very busy.
Great idea to map it to your filesystem and interesting that the fix doesn't work for you. But I agree, hopefully the developer can fix this. Let's see.
So is this over and done with?
I guess this is dead. Thsi is a shame, my replacement just stuffed up too.
I never got it to work again.. It's still collecting data but won't display at all.
Need only edit a single file but it's awkward to do unfortunately. Also editing the file, didn't work for me personally.
yes I did the edit as well, didn't work for me either.
Thanks, I thought I was an idiot, being unable to figure it out! - Maybe someone sharp made a good fork of it, I havne't checked that.
That's weird that there is no content.
These are the steps I use:
Open Docker -> open the docker container -> goto terminal -> create -> bash windows opens
In terminal -> cd /var/www/html/js vi evaluation.js
go to line Papa.parse("data/result.csv", { There you will find the line let dataArr = row.data;
See if this works
This continues to work for me. Note the let dataArr = row.data;
is the correction. The original line looks like this: let dataArr = row.data[0];
It is line 93 of the original file: https://github.com/roest01/docker-speedtest-analyser/blob/master/js/evaluation.js#L93
To get into the shell of the running docker container execute the command docker exec -it <containername> sh
. From there the cd / and vi commands will work.
That's what I changed mine to initially, but still no joy.. even restarting the container etc didn't help
That's weird that there is no content. These are the steps I use: Open Docker -> open the docker container -> goto terminal -> create -> bash windows opens In terminal -> cd /var/www/html/js vi evaluation.js go to line Papa.parse("data/result.csv", { There you will find the line let dataArr = row.data; See if this works
This continues to work for me. Note the
let dataArr = row.data;
is the correction. The original line looks like this:let dataArr = row.data[0];
It is line 93 of the original file: https://github.com/roest01/docker-speedtest-analyser/blob/master/js/evaluation.js#L93
To get into the shell of the running docker container execute the command
docker exec -it <containername> sh
. From there the cd / and vi commands will work.
I'm honestly not super super dumb, with linux, I promise but I had real issues with this. I think VI is not fun to work with, however I did manage to edit the ghastly thing and it still didn't work for me.
I wonder if someone can just spin off a fork of it, that's fixed? (is it that simple? I don't actually 'get' forks yet)
I updated the container image I was using and see the results not flowing anymore as well. Looking at the logs the actual speetest python commands were erroring out. I was able to resolve this by going into the container and executing pip3 install speedtest-cli
. Once you do this, restart the container and try running a manual test.
sadly that didn't work for me. it's still running and recording results, it's just not displaying the results. I checked the results.csv and it's writing the results.
I'm glad people are discussing this again at least, thanks for the help.
My chart is full of "invalid date" all through it to be honest.
I suspect even if I nuke the container and the data, it'll still be broken.
If anyone finds a fork of this project that is still alive, please let us know here. I loved the simplicity of this, but the project seems to have gone dead.
On Tue, 7 Sept 2021 at 04:48, jaxjexjox @.***> wrote:
I'm glad people are discussing this again at least, thanks for the help. My chart is full of "invalid date" all through it to be honest.
I suspect even if I nuke the container and the data, it'll still be broken.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/roest01/docker-speedtest-analyser/issues/75#issuecomment-913950214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFIE76FEZQXDAF2XQEQAQLUAV4QNANCNFSM43LODG7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You want: https://github.com/ansemjo/speedtest-plotter and or https://github.com/henrywhitaker3/Speedtest-Tracker/ (currently broken, fixed soon)
Here are the lists of all the forks? Does anyone know how to check which one is the best or most updated? https://github.com/roest01/docker-speedtest-analyser/network/members