-
-
Notifications
You must be signed in to change notification settings - Fork 179
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] Nothing showing up in web ui #660
Comments
what do the (web & collector) logs say? |
Hi same here, no disks displayed, smartctl see them when i run the command on the docker container. |
I don't know if it's related, but for me I recently setup something similar.
The Scrutiny container just dies randomly, which in turn makes it impossible for the collectors (in the same local network) to report anything to the Web. Health Check doesn't help either since it doesn't restart the container. I tried using Influx 2.1, 2.2 and now lately 2.7. No difference - and the DB is always stable it seems. OSUbuntu 24.04 Docker version(running rootless)
Scrutiny verison0.8.1 (master-web) InfluxDB version2.7 (also tested 2.1 and 2.2) Folder strucutre
EDIT 2 hours laterNow it seems to have been running fine. Will get back with some logs in case it happens again. |
OK, so here are some logs: Scrutiny
Influx DB
This happens when I try to connect to the web after being disconnected for a while. @AnalogJ do you need anything else to debug? Made a donation through PayPal) |
OK, so I think I found it! https://forums.docker.com/t/linux-rootless-docker-only-starting-after-user-login/141505/2 It's because I run |
I'm also running rootless docker and came up with a work around assuming we trust this program to run as root on the host. Interested in hearing about improvements to this method to lock it down as much as possible (different user with just smartctl and http access?). Set up Hub/Spoke deployment with just influx and the web UI. Expose the direct web UI port only to localhost.
Install collector on host system as described here: https://github.com/AnalogJ/scrutiny/blob/master/docs/INSTALL_MANUAL.md#collector Set up the cronjob as root:
|
I'm glad you got this figured out. I don't run docker in |
Hey all I need some help, Ive got Scrutiny Master-Web and Master-Collector with influxdb installed. Now it took some time to get everything working with the influxdb bucket/org/token, but all is well, scrutiny has created the extra buckets, web ui launches. BUT Ive got no drives showing up at all in the web ui. I ran the smartctl scan inside and out of docker, and it did infact show the drives. Below in the yml for scrutiny and collector. Please any help is appreciated.
The text was updated successfully, but these errors were encountered: