-
-
Notifications
You must be signed in to change notification settings - Fork 153
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] Could not retrieve device information for sda #626
Comments
I'm dealing with what might be the same issue. I'm getting SMART information updates in the webUI for every drive in Scrutiny except for sda. The system has been happily working for over a year but on "April 17, 2024 - 19:00" sda just stopped updating. It's worth noting that sda and sdb are the same model of drive and data on both drives is accessible with no issues. Looking over the logs from the container, I see a number of errors being reported upon startup.
Running the
So something is up with the version of smartctl that's packaged in the official docker container. For the sake of completeness, here's the output of
Here's the version info for the functional version of smartctl that I have installed on my host OS:
Obligatory OS and Docker Compose InformationOS: Ubuntu 22.04.4 LTS
|
Describe the bug
Preemptive apologies. I'm in a little over my head to be honest and still reasonably unfamiliar with Linux and command line. I'm following the manual installation guide since I'm using Xubuntu directly instead of Docker. There's several other similar issues posted, but they all seem to be Docker-specific and have Docker-specific solutions.
localhost:8080 "loads" when I run $ /opt/scrutiny/bin/scrutiny-web-linux-amd64 start --config /opt/scrutiny/config/scrutiny.yaml but not once I stop the command (ctrl+c or by closing terminal). I assume this is a very dumb error on my part with an embarrassingly simple solution. More relevantly, while the webpage loads, no actual information populates. I assume this is because:
Running $ /opt/scrutiny/bin/scrutiny-collector-metrics-linux-amd64 run --api-endpoint "http://localhost:8080" returns "ERRO[0000] Could not retrieve device information for sda: exit status 2 type=metrics"
I have three drives installed, so along with sda, sdb and nvme0 also return with the same error. $ smartctl --scan does return all 3 drives
Expected behavior
The Web UI to run without having an open terminal for when I run $ /opt/scrutiny/bin/scrutiny-web-linux-amd64 start --config /opt/scrutiny/config/scrutiny.yaml, and for the Web UI to actually populate information.
Screenshots
If applicable, add screenshots to help explain your problem.
Log Files
Since I'm not using Docker, I used $scrutiny-collector-metrics run --debug --log-file /tmp/collector.log in terminal, which returned "scrutiny-collector-metrics: command not found" Sorry!
The text was updated successfully, but these errors were encountered: