New Supervised install busted, not sure what's going on

I’ve had another SD card fail on me and am going through the process of re-installing (again) HA Supervised. I’ve never had any issues before doing this, but today it is crashing.

Here is the relavent logs:
root@homeassistant:/ha/hassio# ha supervisor logs
22-06-22 20:17:38 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
22-06-22 20:17:38 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
22-06-22 20:17:38 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
22-06-22 20:17:38 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
22-06-22 20:17:38 WARNING (MainThread) [supervisor.dbus.manager] Can’t load dbus interface de.pengutronix.rauc: The name de.pengutronix.rauc was not provided by any .service files
22-06-22 20:17:38 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.resolve1
22-06-22 20:17:38 INFO (MainThread) [supervisor.host.info] Updating local host information
22-06-22 20:17:38 INFO (MainThread) [supervisor.host.services] Updating service information
22-06-22 20:17:38 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-06-22 20:17:38 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-06-22 20:17:38 INFO (MainThread) [supervisor.host.network] Updating local network information
22-06-22 20:17:39 INFO (MainThread) [supervisor.host.network] Updating local network information
22-06-22 20:17:39 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {‘hassio-supervisor’}
22-06-22 20:17:40 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.05.0
22-06-22 20:17:40 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
22-06-22 20:17:40 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_cli application
22-06-22 20:17:41 INFO (SyncWorker_1) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.05.0 - 172.30.32.5
22-06-22 20:17:41 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1
22-06-22 20:17:41 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-06-22 20:17:41 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_dns application
22-06-22 20:17:43 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1 - 172.30.32.3
22-06-22 20:17:43 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
22-06-22 20:17:43 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.05.0
22-06-22 20:17:43 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
22-06-22 20:17:43 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_audio application
22-06-22 20:17:44 INFO (SyncWorker_1) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.05.0 - 172.30.32.4
22-06-22 20:17:44 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0
22-06-22 20:17:44 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0
22-06-22 20:17:44 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
22-06-22 20:17:44 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_multicast application
22-06-22 20:17:45 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0 - Host
22-06-22 20:17:45 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-22 20:17:46 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
22-06-22 20:17:46 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2022.6.6
22-06-22 20:17:46 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
22-06-22 20:17:47 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
22-06-22 20:17:47 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
22-06-22 20:17:47 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
22-06-22 20:17:48 INFO (MainThread) [supervisor.store] Loading add-ons from store: 65 all - 65 new - 0 remove
22-06-22 20:17:48 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
22-06-22 20:17:48 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
22-06-22 20:17:48 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
22-06-22 20:17:48 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-22 20:17:48 INFO (MainThread) [supervisor.jobs] ‘ResolutionFixup.run_autofix’ blocked from execution, system is not running - CoreState.SETUP
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-22 20:17:48 INFO (MainThread) [main] Running Supervisor
22-06-22 20:17:48 INFO (MainThread) [supervisor.jobs] ‘OSManager.mark_healthy’ blocked from execution, no Home Assistant OS available
22-06-22 20:17:48 INFO (MainThread) [supervisor.addons] Phase ‘AddonStartup.INITIALIZE’ starting 0 add-ons
22-06-22 20:17:48 INFO (MainThread) [supervisor.core] Supervisor reboot detected
22-06-22 20:17:48 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-06-22 20:17:48 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-06-22 20:17:48 INFO (MainThread) [supervisor.host.info] Updating local host information
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-06-22 20:17:48 INFO (MainThread) [supervisor.host.services] Updating service information
22-06-22 20:17:48 INFO (MainThread) [supervisor.host.network] Updating local network information
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-06-22 20:17:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-06-22 20:17:48 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-06-22 20:17:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-06-22 20:17:49 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
22-06-22 20:17:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-06-22 20:17:49 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-06-22 20:17:49 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-06-22 20:17:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-22 20:17:50 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-06-22 20:17:50 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-06-22 20:18:03 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with Home Assistant Docker!
22-06-22 20:18:03 INFO (SyncWorker_1) [supervisor.docker.interface] Starting homeassistant
22-06-22 20:18:03 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-06-22 20:18:08 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
22-06-22 20:18:08 ERROR (MainThread) [supervisor.misc.tasks] Home Assistant watchdog reanimation failed!
22-06-22 20:18:08 INFO (MainThread) [supervisor.misc.tasks] Rebuilding the Home Assistant Container
22-06-22 20:18:08 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning homeassistant application
22-06-22 20:18:08 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-06-22 20:18:09 INFO (SyncWorker_2) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2022.6.6
22-06-22 20:18:09 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-06-22 20:18:14 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
22-06-22 20:18:29 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name=‘Task-47’ coro=<Scheduler._run_task.._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=HomeAssistantCrashError()>
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/misc/scheduler.py”, line 62, in _wrap_task
await task.coro_callback()
File “/usr/src/supervisor/supervisor/misc/tasks.py”, line 199, in _watchdog_homeassistant_docker
await self.sys_homeassistant.core.rebuild()
File “/usr/src/supervisor/supervisor/utils/init.py”, line 33, in wrap_api
return await method(api, *args, **kwargs)
File “/usr/src/supervisor/supervisor/homeassistant/core.py”, line 330, in rebuild
await self._start()
File “/usr/src/supervisor/supervisor/homeassistant/core.py”, line 283, in _start
await self._block_till_run(self.sys_homeassistant.version)
File “/usr/src/supervisor/supervisor/homeassistant/core.py”, line 466, in _block_till_run
raise HomeAssistantCrashError()
supervisor.exceptions.HomeAssistantCrashError

root@homeassistant:/ha/hassio# ha core logs
exec /init: exec format error

This last one is particularly interesting. I’ve seen this before where I installed the wrong architecture. I haven’t done that this time. This is a RPi 4 and these are the commands run to get the HA install

wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb

dpkg -i homeassistant-supervised.deb
dpkg -i os-agent_1.2.2_linux_aarch64.deb

I copied these directly from the supported install thread.

This is from a debian 11 image downloaded directly from their tested build site: 20220121_raspi_4_bullseye

I’m stuck and hoping somebody has some ideas. I’ve already blown this up and redone it to the SD card reformat level and have the same issue.

1 Like

I guess I should state the main issue…browser won’t connect, it throws ERR_CONNECTION_REFUSED.

After letting this sit for several hours, the logs are busy with HA deciding to rebuild the container, update addons and several other things. Whatever is broken is not compromising the supervisor container at all.

…and I figured it out.

It was entirely installing the wrong architecture. I was somehow bypassing the prompt the dpkg throws asking for it.

Figured it out with docker image ls and it having an x86_64 image. d’oh.

1 Like