I tried to install HA using the Home Assistant Supervised installer but it didn’t work. Could not find any good information about how to get it working so ill write me experience here so others can get it working.
Be sure to check for the latest release at Releases · home-assistant/os-agent · GitHub
Steps:
sudo apt-get install -y jq wget curl avahi-daemon udisks2 libglib2.0-bin network-manager dbus
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# change the "user" to your username
sudo usermod -aG docker user
wget https://github.com/home-assistant/os-agent/releases/download/1.4.1/os-agent_1.4.1_linux_aarch64.deb
sudo apt-get install -y ./os-agent_1.4.1_linux_aarch64.deb
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
sudo apt-get install -y ./homeassistant-supervised.deb
Result:
I tried with RasberryPi-3-64 and does enevtually work but there is a follow up step.
First concern, if you did not previously have network-manager installed prior to installing homeassistant-supervised, then things will break at this point; this is why it didnt work for me initially. Second concern, homeassistant-supervised will migrate your current /etc/network/interfaces config to network-manager config but it fails to propagate the DNS server setting. You must manually run the “nmtui” utility and assign a DNS server to your adapter after you’ve installed homeassistant-supervised if you weren’t using network-manager previously.
After you assign the DNS server (like 8.8.8.8) then you can reboot. After about 10 minutes port 8123 becomes active and you can then login to Home Assistant.
Hi, I’m also struggling with getting ha to work on Armbian. I run it on an Amlogic android tv box.
Followed the same procedure, only had an error concerning cgroup which I could fix else everything went fine. However I cannot reach ha web interface on port 8123.
But I can reach ha observer on port 4357 and the output seems to confirm everything went fine:
Home Assistant observer
Supervisor: Connected
Supported: Unsupported
Healthy: Healthy
Unsupported warning is expected. I already tried to add a DNS Server as you described but it didn’t work. Per default I had my routers ip as dns server. Changing it and rebooting didn’t help.
I’m not sure what you mean with that… Do you mean if should have done the change before installing ha and if not installing it breaks functionallity?
Another idea I had is, maybe only the supervisor container has a problem concerning its network settings?.. But no idea how I could check and fix that.
Nevermind…there are other issues. I looked into docker general log and it throws these errors:
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-sound" card_name="alsa_card.platform-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
W: [pulseaudio] module-udev-detect.c: Failed to open /proc/asound/card0: No such file or directory
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
And specifically in supervisor container I get this:
s6-rc: info: service legacy-services: stopping
23-04-25 15:13:32 INFO (MainThread) [supervisor.api] Stopping API on 172.30.32.2
23-04-25 15:13:32 INFO (MainThread) [supervisor.docker.monitor] Stopped docker events monitor
23-04-25 15:13:32 INFO (MainThread) [supervisor.misc.scheduler] Shutting down scheduled tasks
23-04-25 15:13:32 INFO (MainThread) [supervisor.dbus.manager] Closed conection to system D-Bus.
23-04-25 15:13:32 INFO (MainThread) [supervisor.hardware.monitor] Stopped Supervisor hardware monitor
23-04-25 15:13:32 INFO (MainThread) [supervisor.core] Supervisor is down - 0
23-04-25 15:13:32 INFO (MainThread) [__main__] Closing Supervisor
[13:13:32] INFO: Watchdog restart after closing
23-04-25 15:13:32 ERROR (MainThread) [asyncio] Task was destroyed but it is pending!
task: <Task pending name='Task-213' coro=<HomeAssistantCore.watchdog_container() running at /usr/src/supervisor/supervisor/homeassistant/core.py:459> wait_for=<Future pending cb=[Task.task_wakeup()]>>
23-04-25 15:13:32 ERROR (MainThread) [asyncio] Task was destroyed but it is pending!
task: <Task pending name='Task-304' coro=<HomeAssistantCore.watchdog_container() done, defined at /usr/src/supervisor/supervisor/homeassistant/core.py:453> wait_for=<Future pending cb=[Task.task_wakeup()]>>
23-04-25 15:13:32 ERROR (MainThread) [asyncio] Task was destroyed but it is pending!
task: <Task pending name='Task-316' coro=<HomeAssistantCore.watchdog_container() done, defined at /usr/src/supervisor/supervisor/homeassistant/core.py:453> wait_for=<Future pending cb=[Task.task_wakeup()]>>
[13:13:33] WARNING: Halt Supervisor
[13:13:33] INFO: Supervisor restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[13:13:41] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
s6-rc: info: service legacy-services successfully started
[13:13:42] INFO: Starting local supervisor watchdog...
23-04-25 13:13:46 INFO (MainThread) [__main__] Initializing Supervisor setup
23-04-25 13:13:46 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: qemuarm-64
23-04-25 13:13:46 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2023.04.1
23-04-25 13:13:46 WARNING (SyncWorker_1) [supervisor.docker.interface] Can't find ghcr.io/home-assistant/aarch64-hassio-supervisor for cleanup
23-04-25 13:13:46 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
23-04-25 13:13:46 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-25 13:13:46 INFO (MainThread) [__main__] Setting up Supervisor
23-04-25 13:13:47 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
23-04-25 13:13:47 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
23-04-25 13:13:47 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
23-04-25 13:13:47 WARNING (MainThread) [supervisor.dbus.agent] Can't connect to OS-Agent
23-04-25 15:13:48 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
23-04-25 15:13:48 INFO (MainThread) [supervisor.host.services] Updating service information
23-04-25 15:13:48 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[13:14:02] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
s6-rc: info: service legacy-services successfully started
[13:14:02] INFO: Starting local supervisor watchdog...
23-04-25 13:14:07 INFO (MainThread) [__main__] Initializing Supervisor setup
23-04-25 13:14:07 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: qemuarm-64
23-04-25 13:14:07 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2023.04.1
23-04-25 13:14:07 WARNING (SyncWorker_1) [supervisor.docker.interface] Can't find ghcr.io/home-assistant/aarch64-hassio-supervisor for cleanup
23-04-25 13:14:07 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
23-04-25 13:14:07 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-25 13:14:07 INFO (MainThread) [__main__] Setting up Supervisor
23-04-25 13:14:07 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
23-04-25 13:14:07 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
23-04-25 13:14:07 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
23-04-25 15:14:08 WARNING (MainThread) [supervisor.dbus.agent] Can't connect to OS-Agent
23-04-25 15:14:08 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
23-04-25 15:14:08 INFO (MainThread) [supervisor.host.services] Updating service information
23-04-25 15:14:08 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-04-25 15:14:39 INFO (MainThread) [supervisor.host.network] Updating local network information
23-04-25 15:14:39 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
23-04-25 15:14:39 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
23-04-25 15:14:39 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.11.0
23-04-25 15:14:40 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1
23-04-25 15:14:40 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
23-04-25 15:14:40 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.04.0
23-04-25 15:14:40 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0
23-04-25 15:14:40 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0
23-04-25 15:14:40 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-25 15:14:40 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
23-04-25 15:14:40 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/qemuarm-64-homeassistant with version 2023.4.6
23-04-25 15:14:40 WARNING (MainThread) [supervisor.homeassistant.core] Watchdog found Home Assistant failed, restarting...
23-04-25 15:14:40 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
23-04-25 15:14:40 INFO (SyncWorker_2) [supervisor.docker.interface] Starting homeassistant
23-04-25 15:14:41 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-25 15:14:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
23-04-25 15:14:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
23-04-25 15:14:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
23-04-25 15:14:43 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 71 new - 0 remove
23-04-25 15:14:43 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
23-04-25 15:14:43 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
23-04-25 15:14:43 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
23-04-25 15:14:43 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-25 15:14:43 WARNING (MainThread) [supervisor.resolution.evaluations.base] Detected unsupported OS: Armbian 23.02.2 Bullseye (more-info: https://www.home-assistant.io/more-info/unsupported/os)
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-25 15:14:43 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-25 15:14:43 INFO (MainThread) [__main__] Running Supervisor
23-04-25 15:14:43 WARNING (MainThread) [supervisor.core] System running in a unsupported environment!
23-04-25 15:14:43 INFO (MainThread) [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available
23-04-25 15:14:43 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
23-04-25 15:14:43 INFO (MainThread) [supervisor.core] Supervisor reboot detected
23-04-25 15:14:43 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
23-04-25 15:14:43 INFO (MainThread) [supervisor.core] Supervisor is up and running
23-04-25 15:14:43 INFO (MainThread) [supervisor.host.info] Updating local host information
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.MULTIPLE_DATA_DISKS/ContextType.SYSTEM
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.NO_CURRENT_BACKUP/ContextType.SYSTEM
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.NO_CURRENT_BACKUP - ContextType.SYSTEM / None
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
23-04-25 15:14:43 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-04-25 15:14:44 INFO (MainThread) [supervisor.host.services] Updating service information
23-04-25 15:14:44 INFO (MainThread) [supervisor.host.network] Updating local network information
23-04-25 15:14:45 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-04-25 15:14:51 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
23-04-25 15:14:51 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning homeassistant application
23-04-25 15:14:51 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
23-04-25 15:14:52 INFO (SyncWorker_2) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemuarm-64-homeassistant with version 2023.4.6
23-04-25 15:14:52 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-25 15:14:57 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
23-04-25 15:14:57 ERROR (MainThread) [supervisor.homeassistant.core] Watchdog restart of Home Assistant failed!
23-04-25 15:15:14 INFO (MainThread) [supervisor.host.manager] Host information reload completed
Bunch of errors and I have no idea how and what to fix.
If you dont have a Rock64 with armbian i suggest you open a new thread so your specific situation will be visible to others who could provide help.
I’m not sure what you mean with that… Do you mean if should have done the change before installing ha and if not installing it breaks functionallity?
If you dont have network-manager installed prior to running homeassistant-supervised.deb, then it will not function at all. You must uninstall homeassistant-supervised.deb and install network-manager and try the installer again.
Network-manager must be installed. You can ether migrate your network settings to network-manager yourself or as in my case i just installed network-manager only and the supervised installer automatically migrated my /etc/network/interfaces file into network-manager. Though failed to populate DNS settings in network-manager.
The supervised installer and or Docker use network-manager to create bridging/virtual adapters to facilitate networking. After a reboot and several minutes of waiting, port 8123 finally became active.
As for this command, obviously need to change the “user” to your username.
sudo usermod -aG docker user