Comments (15)
Hi, sorry about that... I don't see anything wrong with the addon code from the log I think you'll have better support from the app repo : https://github.com/AnalogJ/scrutiny
from hassio-addons.
Hey @alexbelgium
I think this is related to the addon overriding the smartctl
command args:
hassio-addons/scrutiny/rootfs/etc/cont-init.d/01-configuration.sh
Lines 71 to 76 in 22ed716
The default commands don't include the --device
flag - https://github.com/AnalogJ/scrutiny/blob/master/collector/pkg/config/config.go#L46-L49
However it's conditionally added depending on the device type - https://github.com/AnalogJ/scrutiny/blob/master/collector/pkg/collector/metrics.go#L128
from hassio-addons.
the end result is 2 sets of device flags --dev
and --device
from hassio-addons.
ah - good point! Thanks I'll update FA
from hassio-addons.
New version installed, tested and it's still the same problem during startup
from hassio-addons.
Okay, thanks
from hassio-addons.
AnalogJ/scrutiny#607 (comment)
from hassio-addons.
Thanks very much @AnalogJ !
I've removed the problematic code, could you please confirm @pxFIN if it works?
It was added a long time ago to solve some devices not being recognized and I suppose it is not needed anymore
from hassio-addons.
I will when i see new release.. it should be visible right ?
No new updates
from hassio-addons.
Just refresh your repo manually or wait a bit and it will appear
from hassio-addons.
Btw, did you update only scrutiny but not full access version ?
from hassio-addons.
Did more experimenting.. uninstalled Scrutiny FA addon.. installed again
Here's relevant logs
starting scrutiny
2024/03/19 13:17:53 No configuration file found at /opt/scrutiny/config/scrutiny.yaml. Using Defaults.
___ ___ ____ __ __ ____ ____ _ _ _ _
/ __) / __)( _ \( )( )(_ _)(_ _)( \( )( \/ )
\__ \( (__ ) / )(__)( )( _)(_ ) ( \ /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
github.com/AnalogJ/scrutiny dev-0.8.0
Start the scrutiny server
time="2024-03-19T13:17:53+02:00" level=info msg="Trying to connect to scrutiny sqlite db: /opt/scrutiny/config/scrutiny.db\n" type=web
time="2024-03-19T13:17:53+02:00" level=info msg="Successfully connected to scrutiny sqlite db: /opt/scrutiny/config/scrutiny.db\n" type=web
time="2024-03-19T13:17:53+02:00" level=info msg="InfluxDB certificate verification: true\n" type=web
scrutiny api not ready
time="2024-03-19T13:17:53+02:00" level=info msg="Database migration starting. Please wait, this process may take a long time...." type=web
time="2024-03-19T13:17:53+02:00" level=info msg="Database migration completed successfully" type=web
time="2024-03-19T13:17:53+02:00" level=info msg="SQLite global configuration migrations starting. Please wait...." type=web
time="2024-03-19T13:17:53+02:00" level=info msg="SQLite global configuration migrations completed successfully" type=web
[13:17:54] INFO: Starting NGinx...
time="2024-03-19T13:17:58+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2024-03-19T13:17:58+02:00" level=info msg="127.0.0.1 - db21ed7f-scrutiny-fa [19/Mar/2024:13:17:58 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.88.1\" (3ms)" clientIP=127.0.0.1 hostname=db21ed7f-scrutiny-fa latency=3 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.88.1
time="2024-03-19T13:17:58+02:00" level=info msg="127.0.0.1 - db21ed7f-scrutiny-fa [19/Mar/2024:13:17:58 +0200] \"HEAD /api/health\" 200 0 \"\" \"curl/7.88.1\" (17ms)" clientIP=127.0.0.1 hostname=db21ed7f-scrutiny-fa latency=17 method=HEAD path=/api/health referer= respLength=0 statusCode=200 type=web userAgent=curl/7.88.1
starting scrutiny collector (run-once mode. subsequent calls will be triggered via cron service)
2024/03/19 13:17:58 No configuration file found at /opt/scrutiny/config/collector.yaml. Using Defaults.
___ ___ ____ __ __ ____ ____ _ _ _ _
/ __) / __)( _ \( )( )(_ _)(_ _)( \( )( \/ )
\__ \( (__ ) / )(__)( )( _)(_ ) ( \ /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
AnalogJ/scrutiny/metrics dev-0.8.0
time="2024-03-19T13:17:58+02:00" level=info msg="Verifying required tools" type=metrics
time="2024-03-19T13:17:58+02:00" level=info msg="Executing command: smartctl --scan --json" type=metrics
time="2024-03-19T13:17:58+02:00" level=info msg="Sending detected devices to API, for filtering & validation" type=metrics
time="2024-03-19T13:17:58+02:00" level=info msg="127.0.0.1 - db21ed7f-scrutiny-fa [19/Mar/2024:13:17:58 +0200] \"POST /api/devices/register\" 200 40 \"\" \"Go-http-client/1.1\" (1ms)" clientIP=127.0.0.1 hostname=db21ed7f-scrutiny-fa latency=1 method=POST path=/api/devices/register referer= respLength=40 statusCode=200 type=web userAgent=Go-http-client/1.1
time="2024-03-19T13:17:58+02:00" level=info msg="Main: Completed" type=metrics
time="2024-03-19T13:18:03+02:00" level=info msg="Checking Influxdb & Sqlite health" type=web
time="2024-03-19T13:18:03+02:00" level=info msg="127.0.0.1 - db21ed7f-scrutiny-fa [19/Mar/2024:13:18:03 +0200] \"GET /api/health\" 200 16 \"\" \"curl/7.88.1\" (2ms)" clientIP=127.0.0.1 hostname=db21ed7f-scrutiny-fa latency=2 method=GET path=/api/health referer= respLength=16 statusCode=200 type=web userAgent=curl/7.88.1
smartctl command (smartctl --scan --json) is missing device type.. no scrutiny.yaml so defaults are used..
from hassio-addons.
I switched from backups back to 0.7.2 which works.. 0.7.3 finds SSD but always shows failed
smartctl gives checksum error but still can see all the smart parameters
from hassio-addons.
Thanks ; given none of my code change in that time frame I don't see how to support you
from hassio-addons.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hassio-addons.
Related Issues (20)
- β¨ [REQUEST] ws-scrcpy
- Purge
- [EPic Games Free] error appears in cli as soon as add-on starts HOT 12
- π [resiliosync] <2.8.0.1389> HOT 1
- β¨ [REQUEST] Photoprism newer version available HOT 5
- β [addon] title
- π [Postgress] Connection to local host failed HOT 7
- π [Jellyfin] DLNA config not found HOT 4
- Wger mail setting
- [Photoprism] Addon won't start after some trouble with shares HOT 3
- β¨ [REQUEST] Navidrome HOT 15
- [tandoor recipies]Ingress suport nginx Error 500 HOT 1
- [NAVIDROME] Can't read config.json HOT 1
- π [Addon Jellyfin NAS] FFMPEG_PATH: unbound variable HOT 4
- β¨ [REQUEST] Homepage
- π [WHATSAPPER] WebUI doesnβt work. Only a blank page comes up HOT 1
- [Portainer] The addon does not start - s6-mkdir: warning: unable to mkdir /var/run/s6/container_environment: Invalid argument HOT 8
- π Birdnet-Go HOT 5
- β¨ [REQUEST] Photoprism watchdog config HOT 3
- π [Nextcloud] Nextcloud only starts in maintenance mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-addons.