-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] interface conversion: interface {} is nil, not int64 #523
Comments
@AnalogJ I know you're busy with Fasten, but can you take a look at this issue? It's been a recurring problem and is probably a bug due to the traceback. |
hey @Cyberes I think I fixed this in the beta branch. Can you test the |
Great! I compiled the web binary from the beta branch but got this when loading
If you really want me to try it with Docker, let me know how I can use the beta |
@AnalogJ I'm currently in a situation where I need to view my hard drive metrics so I'd have to reset the InfluxDB database. I'm open to other solutions if there's another patch or workaround you'd like me to try. |
I'm getting this error:
with:
Its been running for quite some time just fine, actually, I managed to access the web interface of scrutiny, delete an old HD, got asked if I was sure as I was going to lose historical data and then everything hang with this error. Restarting the container does no good. |
Sounds like my issue. |
we need copies of the smartctl json output to run against our tests and determine which key is failing to de-serialize. |
I re-created my database and it's been working for a couple months without any issues, so I don't have anything to give you right now. But if the error crops back up I'll certainly share the JSON. As a side note, I replaced a few disks on a couple of my servers and I may have replaced the disk that was returning the bad JSON. |
I can make a copy of my scrutiny data by the weekend and then try to trigger the problem again by deleting an old HD from scrutiny's GUI. I'm just not sure where to find the "smartctl json output” you mentioned. |
OK, I made a copy of the InfluxDB and my scrutiny.db, went to the scrutiny GUI, deleted a device, refreshed and the GUI hangs. I copied the docker logs and have removed my email and pushbullet secret and am happy to share it. Its quite long, I'll have to see if I can attach it here. I can see the deletion in the logs, followed by a few other things happening in the background and then:
|
After about a month of collecting data it becomes impossible to load the metrics due to a 500 internal server error.
This has been a long-running issue and affects on Docker as well. I also tried building from source using commit
4b1d9dc2d3f5388440a6746c3bdce2b8e2bee91e
. The only way to fix this is to nuke the InfluxDB database.Metrics seem to be collected fine (as seen in the "last updated" field next to each disk), so the issue must be with displaying them as an error is thrown when I click a drive to view its metrics.
Log Files
InfluxDB is created with:
docker run -d --restart=always -p 8086:8086 \ --network="host" \ -v /var/docker-data/influxdb2:/var/lib/influxdb2 \ --name influxdb \ influxdb:2.2
I run the web dashboard in an LXC container which all my hosts send their data to.
The text was updated successfully, but these errors were encountered: