Scrutiny app does not display any information

My YunoHost server

Hardware: Old laptop or computer
YunoHost version: (stable)
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | … (all of it)
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: scrutiny 0.7.2~ynh1

Description of my issue

I installed Scrutiny, but when I open it, I do not get any info:

The scrutiny collector log is here: hastebin

The one thing that pops up there – although oddly enough, YunoHost reports Scrutiny is working fine – is the following line (and variations of it):

time="2023-12-29T00:14:32+01:00" level=error msg="Could not retrieve device information for nvme0: exit status 2" type=metrics

On the other hand, if I ssh to the server and run smartctl --all /dev/nvme0 I do get the S.M.A.R.T. info I would expect.

Did I skip a setup step or what?


  • what’s the output of smartctl --info --json /dev/nvme0 ?
  • can you:
    1. add --debug at the end of the line starting with ExecStart= in the file /etc/systemd/system/scrutiny-collector.service
    2. execute systemctl daemon-reload
    3. manually start the collector with systemctl start scrutiny-collector.service
    4. check the log /var/log/scrutiny/collector.log which should be now more verbose

PS: hide or lightly modify you serial number

1 Like

Pastebin here. (also, thanks for the S/N reminder)

Pastebin here. Seems like a permission issue to me.

Humm strange
Is your host 100% yunohost ? Are you running in a container ?

Freshly built AMD64 PC, fresh install (cca. 2 weeks old), nothing else.

All I did was apt get htop, fish shell and a few such small CLI tools. Otherwise it’s very vanilla YunoHost.

The only thing I messed with the system (actually groups/permissions) was this part:

sudo su
cd /var/www/pelican
# Faire en sorte que tout les dossiers et fichiers appartiennent au groupe pelican
chown pelican:pelican -R .
# Ajouter nextcloud et www-data au groupe pelican
usermod -a -G pelican nextcloud
usermod -a -G pelican www-data
# Forcer à ce que les fichiers créés par nextcloud appartiennent toujours au groupe pelican
chmod g+s content
# Autoriser nextcloud (et incidemment www-data) à écrire dans content
chmod 770 content
chmod 660 content/* -R


That’s certainly the point.

  1. Can you edit /etc/systemd/system/scrutiny-collector.service and comment the 2 lines:
  • CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
  1. execute systemctl daemon-reload
  2. manually start the collector with systemctl start scrutiny-collector.service
  3. check the log /var/log/scrutiny/collector.log
1 Like

I did what you asked, and it works now, thanks :slight_smile:

/var/log/scrutiny/collector.log now shows the S.M.A.R.T. data in JSON format and ends with:

time="2023-12-30T14:57:34+01:00" level=info msg="Publishing smartctl results for [REDACTED]\n" type=metrics
time="2023-12-30T14:57:34+01:00" level=info msg="Main: Completed" type=metrics
1 Like

what could be interesting now is to know which of the 2 lines or the both is necessary to comment. Knowing that i could update the app. Unfortunately i don’t own an nvme device so can’t do that myself…
can you do those tests ?

1 Like

Sure, happy to.

It turns out, only this line needs to be commented out:


BTW, and not entirely on topic – is it intended that the time in the graph in Scrutiny app is shown in UTC and not local?

(When clicking on the device, the mouse-over on when individual tests were made shows it in local time though.)

Thanks :slight_smile:
Can’t say for time sorry

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.