I’m running storj on docker on ubuntu. The web dashboard used to load fine. I updated it about a week ago and now the dashboard won’t load. It just spins but the data doesn’t load. If I check the docker logs, it looks like there is activity going on.
Sometimes I come back to my computer in the morning the page has loaded but the data is inaccurate or blank. Where can I check to see what’s going on?
Ctrl + f5 didn’t work. I’ve also tried different browsers with the same result. Just now, I removed the docker image and pulled the latest again and now it’s working. I’ve done this about 5-10 times within the last week to try to get it to work, not sure why it’s working now since I don’t think the version has changed. Not sure how long it will last but I will post if it happens again.
I have seen this where the dashboard takes longer to load than normal, although never more than 30s extra on my system. This usually happens when the disk is being thrashed for one reason or another. Do you happen to know if your disk is an SMR disk? When the behaviour is occurring, check your I/O wait times. Perhaps your disk is having a difficult time keeping up. You can use this command:
iostat -p /dev/sda -y 5
-p /dev/sda shows only the specific disk. Omit to see all disks, or change sda to your storage drive -y 5 refreshes the output every 5s
You should be mainly concerned with the %iowait value at the top of the output.
Then it’s more interesting issue.
Could you please, setup a debug
and give me results of the curl localhost:5999/mon/funcs (if you would post it here, put before the first line the line with a three backticks ``` and the same line with three backticks after the last line) when you trying to run a CLI dashboard.
And could you check - is the web dashboard working?
When the docker startt fails to launch the dashboard, then something goes so horribly wrong that it crashes the whole docker image and I am unable to stop the docker image after that point.
The only way is to reload the whole docker service: