HuckleberryLovesYou / Homeassistant-Supervised-on-Raspberry-Pi-5

This is a tutorial about the installation of Homeassistant Supervised on your Raspberry Pi 5 running Raspberry Pi OS 64bit
19 stars 4 forks source link

Unhealthy System - Setup Failed #3

Open cpteng opened 3 months ago

cpteng commented 3 months ago

I have this error in my setting and i have no idea to fix it.

image

i have tried

ha supervisor repair ha supervisor restart

and

ha su repair ha core rebuild ha host reboot

to no avail.

i have no Portainer installed.

i am using a fresh raspberry pi 5

supervisor logs below

2024-03-28 15:00:47.269 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-03-28 15:00:47.269 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-03-28 15:00:47.270 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-03-28 15:00:47.275 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-03-28 15:00:47.280 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-03-28 15:00:47.321 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-03-28 15:00:47.325 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-03-28 15:00:47.326 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-03-28 15:00:47.326 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-03-28 15:00:47.423 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-03-28 15:00:47.424 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup
2024-03-28 15:01:06.021 INFO (MainThread) [supervisor.misc.scheduler] Shutting down scheduled tasks
2024-03-28 15:01:06.022 INFO (MainThread) [supervisor.docker.monitor] Stopped docker events monitor
2024-03-28 15:01:06.023 INFO (MainThread) [supervisor.api] Stopping API on 172.30.32.2
2024-03-28 15:01:06.038 INFO (MainThread) [supervisor.dbus.manager] Closed conection to system D-Bus.
2024-03-28 15:01:06.039 WARNING (MainThread) [supervisor.homeassistant.websocket] Connection is closed
2024-03-28 15:01:06.040 INFO (MainThread) [supervisor.core] Supervisor is down - 100
2024-03-28 15:01:06.041 INFO (MainThread) [__main__] Closing Supervisor
[07:01:06] INFO: Supervisor restart after closing
2024-03-28 07:01:08.172 INFO (MainThread) [__main__] Initializing Supervisor setup
2024-03-28 15:01:08.207 INFO (MainThread) [supervisor.bootstrap] Setting up coresys for machine: raspberrypi4-64
2024-03-28 15:01:08.211 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2024.03.1
2024-03-28 15:01:08.223 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
2024-03-28 15:01:08.224 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-03-28 15:01:08.225 INFO (MainThread) [__main__] Setting up Supervisor
2024-03-28 15:01:08.400 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
2024-03-28 15:01:08.414 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task <coroutine object HardwareManager.load at 0x7f922a9780>: 'utf-8' codec can't decode byte 0xd6 in position 0: invalid continuation byte
2024-03-28 15:01:08.416 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
2024-03-28 15:01:08.416 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
2024-03-28 15:01:08.417 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
2024-03-28 15:01:08.417 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
2024-03-28 15:01:08.417 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
2024-03-28 15:01:08.417 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
2024-03-28 15:01:08.417 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
2024-03-28 15:01:08.418 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
2024-03-28 15:01:08.418 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
2024-03-28 15:01:08.429 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
2024-03-28 15:01:08.446 WARNING (MainThread) [supervisor.dbus.agent] No OS-Agent support on the host. Some Host functions have been disabled.
2024-03-28 15:01:08.533 INFO (MainThread) [supervisor.host.services] Updating service information
2024-03-28 15:01:08.537 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-03-28 15:01:22.682 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-03-28 15:01:22.830 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
2024-03-28 15:01:22.839 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
2024-03-28 15:01:22.840 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-03-28 15:01:23.022 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2024.03.1
2024-03-28 15:01:23.040 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2024.03.0
2024-03-28 15:01:23.053 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
2024-03-28 15:01:23.058 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.12.0
2024-03-28 15:01:23.073 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0
2024-03-28 15:01:23.087 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2024.03.0
2024-03-28 15:01:23.101 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 1 Home Assistant secrets
2024-03-28 15:01:23.102 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2024.3.3
2024-03-28 15:01:23.110 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
2024-03-28 15:01:23.226 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
2024-03-28 15:01:23.226 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
2024-03-28 15:01:23.226 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/cebe7a76 repository
2024-03-28 15:01:23.227 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
2024-03-28 15:01:23.410 INFO (MainThread) [supervisor.store] Loading add-ons from store: 78 all - 78 new - 0 remove
2024-03-28 15:01:23.426 INFO (MainThread) [supervisor.addons.manager] Found 2 installed add-ons
2024-03-28 15:01:23.439 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-ssh with version 9.10.0
2024-03-28 15:01:23.442 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/vscode/aarch64 with version 5.15.0
2024-03-28 15:01:23.447 INFO (MainThread) [supervisor.backups.manager] Found 2 backup files
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.ingress] Loaded 5 ingress sessions
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-03-28 15:01:23.451 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup
2024-03-28 15:01:23.452 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-03-28 15:01:23.452 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-03-28 15:01:23.452 INFO (MainThread) [__main__] Running Supervisor
2024-03-28 15:01:23.454 CRITICAL (MainThread) [supervisor.core] System is running in an unhealthy state and needs manual intervention!

2024-03-28 15:01:08.414 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task <coroutine object HardwareManager.load at 0x7f922a9780>: 'utf-8' codec can't decode byte 0xd6 in position 0: invalid continuation byte

^ is this the problem?

Thanks!

HuckleberryLovesYou commented 3 months ago

Did you try using the pi5 variant during install shown in the screenshot below? Did you install ALL dependencies for HA?

Otherwise I don't really know a solution for your error. Screenshot_20240328_102129.jpg

cpteng commented 3 months ago

Did you try using the pi5 variant during install shown in the screenshot below?

i used the pi4 variant

Did you install ALL dependencies for HA?

i did

how can i safely uninstall homeassistant-supervised so i can reinstall it and choose the pi5 variant?

HuckleberryLovesYou commented 3 months ago

There a two options: Either reimage your system which is the safest but also removes everything

Or

Just delete everything referring to Homeassistant. To do that I can only link you to this issue referring to removing Homeassistant Supervised.