After I updated to the latest supervisor version yesterday (2024.4.4), I’m getting “Unhealthy System - Setup Failed” error in the settings and I can’t update any addon now.
Things I’ve tried -
Restoring a backup to one from a previous day. Didn’t work.
ha supervisor repair
ha supervisor restart
The logs for the supervisor show this error on boot:
File "/usr/src/supervisor/supervisor/os/data_disk.py", line 192, in load
self.sys_dbus.udisks2.udisks2_object_manager.dbus.object_manager.on_interfaces_added(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'object_manager'
2024-05-01 09:30:18.173 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task <coroutine object OSManager.load at 0x7fb2acba00>:
Running “ha res info” shows me that everything is enabled and says “unhealthy: - setup”.
I really don’t want to re-install the OS unless absolutely necessary.
Please help me…
2024-05-01 09:57:22.127 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2024.04.0
2024-05-01 09:57:22.173 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
2024-05-01 09:57:22.188 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.12.0
2024-05-01 09:57:22.243 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0
2024-05-01 09:57:22.291 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2024.03.0
2024-05-01 09:57:22.343 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 2 Home Assistant secrets
2024-05-01 09:57:22.346 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2024.4.4
2024-05-01 09:57:22.440 ERROR (MainThread) [supervisor.jobs] Unhandled exception: 'NoneType' object has no attribute 'object_manager'
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 303, in wrapper
return await self._method(obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/os/data_disk.py", line 192, in load
self.sys_dbus.udisks2.udisks2_object_manager.dbus.object_manager.on_interfaces_added(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'object_manager'
2024-05-01 09:57:22.446 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task <coroutine object OSManager.load at 0x7f90b63bc0>:
2024-05-01 09:57:23.392 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
2024-05-01 09:57:23.394 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/cebe7a76 repository
2024-05-01 09:57:23.395 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a889bffc repository
2024-05-01 09:57:23.400 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/7d06b5a0 repository
2024-05-01 09:57:23.402 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/49e24ccc repository
2024-05-01 09:57:23.408 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
2024-05-01 09:57:23.413 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/f4fdf59d repository
2024-05-01 09:57:23.417 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/92e558db repository
2024-05-01 09:57:23.421 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/423ea876 repository
2024-05-01 09:57:23.422 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/f4f71350 repository
2024-05-01 09:57:23.425 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
2024-05-01 09:57:23.428 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/1f3d020e repository
2024-05-01 09:57:23.430 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/45df7312 repository
2024-05-01 09:57:23.433 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/db21ed7f repository
2024-05-01 09:57:23.438 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/402f1039 repository
2024-05-01 09:57:23.440 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/b0cbb969 repository
2024-05-01 09:57:25.711 INFO (MainThread) [supervisor.store] Loading add-ons from store: 193 all - 193 new - 0 remove
2024-05-01 09:57:25.949 INFO (MainThread) [supervisor.addons.manager] Found 19 installed add-ons
2024-05-01 09:57:25.985 INFO (MainThread) [supervisor.docker.interface] Attaching to bropat/hassio-eufy-security-ws-aarch64 with version 1.8.0
2024-05-01 09:57:26.005 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-ssh with version 9.13.0
2024-05-01 09:57:26.014 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/uptime-kuma/aarch64 with version 0.12.0
2024-05-01 09:57:26.022 INFO (MainThread) [supervisor.docker.interface] Attaching to 7d06b5a0/aarch64-addon-argon_one_temp_linear with version 30a
2024-05-01 09:57:26.044 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-configurator with version 5.8.0
2024-05-01 09:57:26.050 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/sabeechen/hassio-google-drive-backup-aarch64 with version 0.112.1
2024-05-01 09:57:26.114 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/mincka/firefox-aarch64 with version 1.1.0
2024-05-01 09:57:26.134 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/node-red/aarch64 with version 17.0.12
2024-05-01 09:57:26.142 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/adguard/aarch64 with version 5.0.7
2024-05-01 09:57:26.144 INFO (MainThread) [supervisor.docker.interface] Attaching to 423ea876/aarch64-addon-godaddy_dns with version 1.0.4
2024-05-01 09:57:26.146 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/alexbelgium/flaresolverr-aarch64 with version 3.3.17
2024-05-01 09:57:26.156 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/alexbelgium/radarr_nas-aarch64 with version 5.4.6.8723-5
2024-05-01 09:57:26.163 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/alexbelgium/transmission_ls-aarch64 with version 4.0.5
2024-05-01 09:57:26.164 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mosquitto with version 6.4.0
2024-05-01 09:57:26.184 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/alexbelgium/bazarr-aarch64 with version 1.4.2
2024-05-01 09:57:26.194 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/alexbelgium/sonarr_nas-aarch64 with version 4.0.4.1515-5
2024-05-01 09:57:26.308 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/alexbelgium/prowlarr-aarch64 with version nightly-1.17.0.4448-ls183
2024-05-01 09:57:26.497 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-samba with version 12.3.1
2024-05-01 09:57:26.505 INFO (MainThread) [supervisor.docker.interface] Attaching to f4fdf59d/aarch64-addon-whatsapp_addon with version 1.3.5
2024-05-01 09:57:27.831 INFO (MainThread) [supervisor.backups.manager] Found 135 backup files
2024-05-01 09:57:28.301 INFO (MainThread) [supervisor.discovery] Loaded 2 messages
2024-05-01 09:57:28.301 INFO (MainThread) [supervisor.ingress] Loaded 11 ingress sessions
2024-05-01 09:57:28.302 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
2024-05-01 09:57:28.302 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-05-01 09:57:28.302 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-05-01 09:57:28.302 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-05-01 09:57:28.302 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-05-01 09:57:28.303 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-01 09:57:28.303 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup
2024-05-01 09:57:28.304 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-05-01 09:57:28.304 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-01 09:57:28.306 INFO (MainThread) [__main__] Running Supervisor
2024-05-01 09:57:28.314 CRITICAL (MainThread) [supervisor.core] System is running in an unhealthy state and needs manual intervention!
2024-05-01 09:57:28.321 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
2024-05-01 09:57:28.348 INFO (MainThread) [supervisor.addons.manager] Phase 'initialize' starting 0 add-ons
2024-05-01 09:57:28.349 INFO (MainThread) [supervisor.core] Supervisor reboot detected
2024-05-01 09:57:28.351 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
2024-05-01 09:57:28.353 INFO (MainThread) [supervisor.core] Supervisor is up and running
2024-05-01 09:57:28.353 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-05-01 09:57:28.356 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-05-01 09:57:28.356 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-05-01 09:57:28.356 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-05-01 09:57:28.359 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-05-01 09:57:28.389 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-05-01 09:57:28.644 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-05-01 09:57:28.644 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-05-01 09:57:28.658 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-05-01 09:57:28.658 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-05-01 09:57:28.669 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-05-01 09:57:28.670 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-05-01 09:57:28.683 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-05-01 09:57:28.684 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-05-01 09:57:28.684 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-05-01 09:57:28.684 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-05-01 09:57:29.138 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-01 09:57:29.139 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup
2024-05-01 09:57:29.774 INFO (MainThread) [supervisor.host.services] Updating service information
2024-05-01 09:57:29.790 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-05-01 09:57:30.070 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-05-01 09:57:30.081 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-05-01 09:57:30.368 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2024-05-01 09:57:30.374 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
2024-05-01 09:57:30.383 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2024-05-01 09:57:38.606 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-05-01 09:57:38.612 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-05-01 09:58:12.213 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from core_ssh
It’s an M.2. drive that’s running the show, I’m using an Argon One M.2. Case. Everything has been working smoothly for about a year now with this setup.
EDIT: I could be mistaken and it’s running on the micro SD card. I’ll need to open the case up to check I guess. Why does it matter? You’re thinking corruption of the drive?
Can you share the full startup log of Supervisor 2024.04.4? You can use the host logs with identifier to access more than 100 lines. E.g. this command from the official SSH/Web Terminal add-on:
ha host logs -t hassio_supervisor -n 1000 > /homeassistant/supervisor-2024.04.4.log
Can you also check if the host logs mention an issue with UDisks2?
For context: There was a change which relies on D-Bus signals from UDisks2. This error can be caused when UDisks2 is not present. But HAOS has UDisks2 installed, so I don’t get why this fails on your system. I’ve just checked my Raspberry Pi 4 installation here, it doesn’t show this error.
I should note, that because I tried to restore older backups as well, the only way I found to actually restore the old backups (otherwise I was blocked from doing it because of this error as well) was to do:
ha jobs options --ignore-conditions healthy
And then after the restore to do
ha jobs reset
ha supervisor restart
Nothing works.
I don’t see any mention of UDisk2 in the host logs.
The change that you mention, that’s new in 2024.04.04? Is there a way to downgrade supervisor to the previous version to check if that’s what’s causing the issue? Because this whole thing started right after the update, so I suspect it’s related.
UPDATE: I don’t have a microSD card at all in the raspberry pi, I’m running the OS from an M.2. drive (Argon One case that supports it). So maybe that’s somehow related to this issue?
It could be that the udisk detects the SDcard reader as a drive and then tries to read the information from it, which fails when no card is inserted.
It could be a use case that the devs have missed, so a bug report will have to be made, when it is confirmed.
FIXED. I ended up turning off the Raspberry Pi completely, unplugged it from the AC. left it unplugged for about a minute, then plugged it back in. The error is gone now, everything is working.
Your error might look the same, but probably aren’t.
If you are a supervised installation, then make sure all the dependencies for the Supervisor is up-to-date and then restart the host (not just the core).
If you are running HAOS then restart the host (not just the core).
Just experienced the same “unhealthy” supervisor issue when trying to move from 2024.11.2 to 2024.11.3. System ultimately became stable (on 2024.11.2) again after I 1) ran “ha supervisor repair” on cli and then 2) powered down the RPI server and powered back up.