Skip to content
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

Provide the app in TrueNAS 24.10 Electric Eel #681

Closed
RebelliousX opened this issue Sep 5, 2024 · 4 comments · Fixed by truenas/apps#857
Closed

Provide the app in TrueNAS 24.10 Electric Eel #681

RebelliousX opened this issue Sep 5, 2024 · 4 comments · Fixed by truenas/apps#857

Comments

@RebelliousX
Copy link

RebelliousX commented Sep 5, 2024

TrueNAS upcoming Electric Eel v24.10 will move apps from Kubernetes to Docker. And once I did upgrade
from Dragonfish to the new Beta1, I can't find Scrutiny in the list of Apps to be installed.

I am not sure if you guys maintain the App for TrueNAS or not, but if you do, please consider adding it
to support the newer version. I really love Scrutiny.

Edit: I was able to install Scrutiny in Portainer in TrueNAS. But I still wish it gets to be an official app
from the list of offered apps in TrueNAS. Issue with Portainer? Scrutiny doesn't show up in the list
of running apps unless I open Portainer's webUI.

One thing I noticed, that I needed to modify the yaml for docker compose to make it work with NVME drive.

cap_add:
      - SYS_RAWIO
      - SYS_ADMIN # SYS_ADMIN is needed to get S.M.A.R.T sensors' readings for NVME drives. 

without SYS_ADMIN I was getting NVME status failed for some reason for /dev/nvme0
And the version line also throws a warning that it was ignored and obsolete too. So I removed that too
per the suggestion of that warning.

Note that I was able to install Scrutiny before when TrueCharts was supported, but now discontinued.
Scrutiny was in TrueCharts.

@tismofied
Copy link

I would love this addition as well!

@KaiStarkk
Copy link

+1, would be great to have a TrueNAS Scale app for Scrutiny.
Also, it would be a good way to clarify if any configuration is needed to avoid clashes between Scrutiny and the built in cron jobs on TrueNAS (assume Scrutiny is just collecting tests, not orchestrating them?)

@RebelliousX
Copy link
Author

RebelliousX commented Nov 19, 2024

It has been added to TrueNAS, but I am stuck trying to install it. Somehow it is a lot easier installing it from Portainer with a modified YAML file (new stack in portainer).

In TrueNAS, it is asking to add disks, I get the field "Host Disk Path" since I can get those using sudo smartctl --scan. But I don't know what it is asking exactly when it asks for a required field "Container Disk Path".

Any thoughts on how to get the container disk path?

My portainer stack yaml code if this helps:

services:
  scrutiny:
    container_name: scrutiny
    image: ghcr.io/analogj/scrutiny:master-omnibus
    cap_add:
      - SYS_RAWIO
      - SYS_ADMIN # SYS_ADMIN is needed to get S.M.A.R.T sensors' readings for NVME drives. Without it we get error.
    ports:
      - "30001:8080" # webapp (note that, the left is for host, and right for container, I changed the left)
      - "30002:8086" # influxDB admin
    volumes:
      - /run/udev:/run/udev:ro
      - ./config:/opt/scrutiny/config
      - ./influxdb:/opt/scrutiny/influxdb
    devices:
      - "/dev/sda"
      - "/dev/sdb"
      - "/dev/nvme0"
      # get list of devices by running: "sudo smartctl --scan" in TrueNAS shell console.

@RebelliousX
Copy link
Author

Closing this since it is added to TrueNAS now, but if anyone can help and answer the above post I would really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants