Igor Posted January 15 Posted January 15 Download Armbian with HA (v24.11) Then boot the image, wait few minutes and login via http://ip_address_of_armbian_running_ha:8123 (official onboarding manual) Home Assistant Supervised is, more or less, a full blown Home assistant. Install Home Assistant on any Armbian Bookworm (experimental) Main difference between HA OS and Armbian with HA is that underlying OS here is clean Armbian Debian Bookworm and there is custom dedicated buildroot OS that is provided for a few single board computers, primarily for Raspberry Pi. We provide HA on a small selection of single board computers, but in theory, its possible to run this on (almost) all that are possible to build. Quote Changes to Armbian OS are minimal as HA is running under Docker. I am running HA on Odroid N2+ and it works without any problems. I have z-wave network with sensors and switches, air humidifier, Android TV, Android phones, dishwasher, ... Things works flawlessly, much better then few years back when I started with home automation for a first time, with OpenHab. This time it was setup from scratch and in a matter of days, most of devices are in function, playing with automation. Tested on: Odroid N2/N2+ Odroid M1 Nanopi R4S Rock 5B Uefi-x86 Khadas VIM1S Khadas VIM4 (Amlogic vendor kernel trouble, failing / need inspection) Bananapi M2 Pro Provided for but untested (images you find on board downloads locations, seek them here https://www.armbian.com/download/😞 Spoiler Bananapicm4io Bananapim2s Bananapim5 Bigtreetech-cb1 Khadas-edge2 Khadas-vim1 Khadas-vim2 Khadas-vim3 Khadas-vim3l Lafrite Lepotato Nanopi-r6s Odroidn2l Onecloud Orangepi4-lts Orangepi5 Orangepi5-plus Renegade Rockpi-e Rockpro64 Rpi4b Rpi5b Sk-am62b Sk-am64b Sk-tda4vm Tinkerboard Tritium-h5 Uefi-arm64 DIY Spoiler How was this assembled? - you need a build framework which assembles Armbian (Debian variant is the only supported by HA) https://github.com/armbian/build (can be compiled in GitHub free runners too) - Docker extension: https://github.com/armbian/os/blob/main/userpatches/extensions/docker-ce.sh (dependency for ha extension) - Home Assistant extension: https://github.com/armbian/os/blob/main/userpatches/extensions/ha.sh ./compile.sh BOARD="uefi-x86" BRANCH=current RELEASE=bookworm ENABLE_EXTENSIONS="ha" KERNEL_CONFIGURE="no" BUILD_MINIMAL="yes" Contribute Spoiler How can you contribute and improve this experience? - improve extension cosmetically - and try to extend installation to Ubuntu (or Debian) - improve upstream code and make it more generic Images, which are build from this list, are dropped to dedicated repository release https://github.com/armbian/distribution/releases (there will be other applications in the future) and those images are automatically displayed at the board download pages. In case you will test the build, drop a note below, for working and not working. Home Assistant build extension works, but can be further improved and tweaked https://github.com/armbian/os/blob/main/userpatches/extensions/ha.sh and also upstream code https://github.com/home-assistant/supervised-installer has many places for improvements. Support: single board computer hardware https://www.armbian.com/bugs home assistant functions https://community.home-assistant.io/ 4 Quote
Nalexat Posted January 24 Posted January 24 (edited) Hello Igor, i`m beginner and need help with install on the orange pi zero 2+ h5 i`m write Armbian with HA on the SD, put them in the orange pi and zeroo with 6.1.63, with 6.6.11 balenaEtcher after checking it gives an error Edited January 24 by Nalexat new ver.test 0 Quote
Igor Posted January 25 Author Posted January 25 On 1/24/2024 at 8:45 PM, Nalexat said: orange pi zero 2+ h5 Sorry, this hardware is not supported. Putting HA on not supported hardware or just make that hardware usable and stable can be extremely costly. Armbian project helps you greatly to minimise efforts needed for this in first place, but we can't resolve all problems in hardware support (which should be in the domain of people who sold you hardware) or HomeAssistant. This installation was made for expert users of Home Assistant and we made it easier by providing ready to run images. If you can't DIY, IMO its best to get a Raspberry Pi or Odroid N2 (which is tested). 0 Quote
dusikasss Posted January 28 Posted January 28 I am ready to test the build on Orange Pajero 3 4GB. Unfortunately, I couldn't find the finished assembly. I also have difficulty building on my own when adding custom scripts ha.sh and docker-ce.sh Explicitly in the instructions https://docs.armbian.com/Developer-Guide_User-Configurations/ I have not found an answer on how to use custom scripts. I will be grateful for any help. 0 Quote
Igor Posted January 31 Author Posted January 31 On 1/28/2024 at 11:10 PM, dusikasss said: I am ready to test the build on Orange Pajero 3 4GB. Unfortunately, I couldn't find the finished assembly. We have no plans or budget to support this hardware. Finished assembly will be provided only for small selection of boards, most likely we will provide this for platinum support section only. Purpose of the topic is promoting Armbian build framework. If something can be done on board X, we can't help to make it on board Y. Without investing tens or hundreds thousands of dollars. This is your problem. Board provider problem. Not ours. Build framework can do this, but if board is not maintained ... it might not just work. 0 Quote
Alexx Posted February 11 Posted February 11 Hi @Igor. Now i am using the Armbian 23.8.1 Bullseye with Linux 6.1.27-ophub in my Tanix Tx3 Tv box and HA supervised with Unsupported system messages. Can i use one og these img's or are only for other hardware? 0 Quote
Igor Posted February 11 Author Posted February 11 23 minutes ago, Alexx said: Can i use one og these img's or are only for other hardware? I don't know. It was tested on Odroid N2 and Nanopi M4. If you seek for plug and play solution and you don't want to support open source development, buy a Raspberry Pi, Odroid N2, ... 27 minutes ago, Alexx said: Now i am using the Armbian 23.8.1 I am afraid, that is not the case. https://docs.armbian.com/User-Guide_Getting-Started/#how-to-check-download-authenticity. 0 Quote
SteeMan Posted February 11 Posted February 11 3 hours ago, Alexx said: Linux 6.1.27-ophub That is not an Armbian build. Ophub is a fork of Armbian that continues to use the Armbian name without permission. They do not participate in Armbian development, nor do they participate in these forums. You need to contact them for support of their builds. 0 Quote
Argo Sõõru Posted February 15 Posted February 15 (edited) Hi @Nalexat. You may try this H5 image: https://github.com/armbian/community/releases/download/24.5.0-trunk.19/Armbian_community_24.5.0-trunk.19_Orangepizeroplus2-h5_bookworm_current_6.6.16_minimal.img.xz You need to decompress this image before you write to SD card. If its boots up. Then you can use this guide creatively: Replace first line, must be PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" What I know Armbian was working well on my Orange Pi PC2 which is H5 (with HA Supervised) Edited February 15 by Argo Sõõru 0 Quote
Igor Posted February 23 Author Posted February 23 Today I went and update OS packages on my Odroid N2 running Armbian HA instance. Logs: Spoiler root@odroidn2:/home/igorp# apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: containerd.io docker-ce docker-ce-cli docker-compose-plugin libc-bin libc-l10n libc6 libcryptsetup12 libgnutls30 libnetplan0 libpam-systemd libsystemd-shared libsystemd0 libudev1 locales netplan.io systemd systemd-journal-remote systemd-resolved systemd-sysv tar tzdata udev usbutils usrmerge 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 76,3 MB of archives. After this operation, 8532 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://deb.debian.org/debian bookworm/main arm64 tar arm64 1.34+dfsg-1.2+deb12u1 [818 kB] Get:2 https://download.docker.com/linux/debian bookworm/stable arm64 containerd.io arm64 1.6.28-1 [21,3 MB] Get:3 http://deb.debian.org/debian bookworm/main arm64 libc6 arm64 2.36-9+deb12u4 [2322 kB] Get:4 http://deb.debian.org/debian bookworm/main arm64 libc-bin arm64 2.36-9+deb12u4 [530 kB] Get:5 http://deb.debian.org/debian bookworm/main arm64 systemd-sysv arm64 252.22-1~deb12u1 [41,9 kB] Get:6 http://deb.debian.org/debian bookworm/main arm64 libpam-systemd arm64 252.22-1~deb12u1 [208 kB] Get:7 http://deb.debian.org/debian bookworm/main arm64 systemd-journal-remote arm64 252.22-1~deb12u1 [92,2 kB] Get:8 http://deb.debian.org/debian bookworm/main arm64 systemd-resolved arm64 252.22-1~deb12u1 [279 kB] Get:9 http://deb.debian.org/debian bookworm/main arm64 systemd arm64 252.22-1~deb12u1 [2829 kB] Get:10 https://download.docker.com/linux/debian bookworm/stable arm64 docker-ce-cli arm64 5:25.0.3-1~debian.12~bookworm [12,4 MB] Get:11 https://download.docker.com/linux/debian bookworm/stable arm64 docker-ce arm64 5:25.0.3-1~debian.12~bookworm [14,8 MB] Get:12 http://deb.debian.org/debian bookworm/main arm64 libsystemd-shared arm64 252.22-1~deb12u1 [1508 kB] Get:13 http://deb.debian.org/debian bookworm/main arm64 libcryptsetup12 arm64 2:2.6.1-4~deb12u2 [205 kB] Get:14 http://deb.debian.org/debian bookworm/main arm64 libsystemd0 arm64 252.22-1~deb12u1 [308 kB] Get:15 http://deb.debian.org/debian bookworm/main arm64 libgnutls30 arm64 3.7.9-2+deb12u2 [1313 kB] Get:16 https://download.docker.com/linux/debian bookworm/stable arm64 docker-compose-plugin arm64 2.24.5-1~debian.12~bookworm [10,4 MB] Get:17 http://deb.debian.org/debian bookworm/main arm64 udev arm64 252.22-1~deb12u1 [1602 kB] Get:18 http://deb.debian.org/debian bookworm/main arm64 libudev1 arm64 252.22-1~deb12u1 [102 kB] Get:19 http://deb.debian.org/debian bookworm/main arm64 usrmerge all 37~deb12u1 [13,3 kB] Get:20 http://deb.debian.org/debian bookworm/main arm64 tzdata all 2024a-0+deb12u1 [297 kB] Get:21 http://deb.debian.org/debian bookworm/main arm64 libc-l10n all 2.36-9+deb12u4 [674 kB] Get:22 http://deb.debian.org/debian bookworm/main arm64 locales all 2.36-9+deb12u4 [3902 kB] Get:23 http://deb.debian.org/debian bookworm/main arm64 netplan.io arm64 0.106-2+deb12u1 [101 kB] Get:24 http://deb.debian.org/debian bookworm/main arm64 libnetplan0 arm64 0.106-2+deb12u1 [86,3 kB] Get:25 http://deb.debian.org/debian bookworm/main arm64 usbutils arm64 1:014-1+deb12u1 [70,2 kB] Fetched 76,3 MB in 9s (8658 kB/s) Preconfiguring packages ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../tar_1.34+dfsg-1.2+deb12u1_arm64.deb ... Unpacking tar (1.34+dfsg-1.2+deb12u1) over (1.34+dfsg-1.2) ... Setting up tar (1.34+dfsg-1.2+deb12u1) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../libc6_2.36-9+deb12u4_arm64.deb ... Unpacking libc6:arm64 (2.36-9+deb12u4) over (2.36-9+deb12u3) ... Setting up libc6:arm64 (2.36-9+deb12u4) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../libc-bin_2.36-9+deb12u4_arm64.deb ... Unpacking libc-bin (2.36-9+deb12u4) over (2.36-9+deb12u3) ... Setting up libc-bin (2.36-9+deb12u4) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../0-systemd-sysv_252.22-1~deb12u1_arm64.deb ... Unpacking systemd-sysv (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../1-libpam-systemd_252.22-1~deb12u1_arm64.deb ... Unpacking libpam-systemd:arm64 (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../2-systemd-journal-remote_252.22-1~deb12u1_arm64.deb ... Unpacking systemd-journal-remote (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../3-systemd-resolved_252.22-1~deb12u1_arm64.deb ... Unpacking systemd-resolved (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../4-systemd_252.22-1~deb12u1_arm64.deb ... Unpacking systemd (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../5-libsystemd-shared_252.22-1~deb12u1_arm64.deb ... Unpacking libsystemd-shared:arm64 (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../6-libcryptsetup12_2%3a2.6.1-4~deb12u2_arm64.deb ... Unpacking libcryptsetup12:arm64 (2:2.6.1-4~deb12u2) over (2:2.6.1-4~deb12u1) ... Preparing to unpack .../7-libsystemd0_252.22-1~deb12u1_arm64.deb ... Unpacking libsystemd0:arm64 (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Setting up libsystemd0:arm64 (252.22-1~deb12u1) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.9-2+deb12u2_arm64.deb ... Unpacking libgnutls30:arm64 (3.7.9-2+deb12u2) over (3.7.9-2+deb12u1) ... Setting up libgnutls30:arm64 (3.7.9-2+deb12u2) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../udev_252.22-1~deb12u1_arm64.deb ... Unpacking udev (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Preparing to unpack .../libudev1_252.22-1~deb12u1_arm64.deb ... Unpacking libudev1:arm64 (252.22-1~deb12u1) over (252.19-1~deb12u1) ... Setting up libudev1:arm64 (252.22-1~deb12u1) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../usrmerge_37~deb12u1_all.deb ... Unpacking usrmerge (37~deb12u1) over (35) ... Setting up usrmerge (37~deb12u1) ... (Reading database ... 29889 files and directories currently installed.) Preparing to unpack .../0-tzdata_2024a-0+deb12u1_all.deb ... Unpacking tzdata (2024a-0+deb12u1) over (2023c-5+deb12u1) ... Preparing to unpack .../1-libc-l10n_2.36-9+deb12u4_all.deb ... Unpacking libc-l10n (2.36-9+deb12u4) over (2.36-9+deb12u3) ... Preparing to unpack .../2-locales_2.36-9+deb12u4_all.deb ... Unpacking locales (2.36-9+deb12u4) over (2.36-9+deb12u3) ... Preparing to unpack .../3-containerd.io_1.6.28-1_arm64.deb ... Unpacking containerd.io (1.6.28-1) over (1.6.26-1) ... Preparing to unpack .../4-docker-ce-cli_5%3a25.0.3-1~debian.12~bookworm_arm64.deb ... Unpacking docker-ce-cli (5:25.0.3-1~debian.12~bookworm) over (5:24.0.7-1~debian.12~bookworm) ... Preparing to unpack .../5-docker-ce_5%3a25.0.3-1~debian.12~bookworm_arm64.deb ... Unpacking docker-ce (5:25.0.3-1~debian.12~bookworm) over (5:24.0.7-1~debian.12~bookworm) ... Preparing to unpack .../6-docker-compose-plugin_2.24.5-1~debian.12~bookworm_arm64.deb ... Unpacking docker-compose-plugin (2.24.5-1~debian.12~bookworm) over (2.21.0-1~debian.12~bookworm) ... Preparing to unpack .../7-netplan.io_0.106-2+deb12u1_arm64.deb ... Unpacking netplan.io (0.106-2+deb12u1) over (0.106-2) ... Preparing to unpack .../8-libnetplan0_0.106-2+deb12u1_arm64.deb ... Unpacking libnetplan0:arm64 (0.106-2+deb12u1) over (0.106-2) ... Preparing to unpack .../9-usbutils_1%3a014-1+deb12u1_arm64.deb ... Unpacking usbutils (1:014-1+deb12u1) over (1:014-1) ... Setting up libc-l10n (2.36-9+deb12u4) ... Setting up libnetplan0:arm64 (0.106-2+deb12u1) ... Setting up locales (2.36-9+deb12u4) ... Generating locales (this might take a while)... en_US.UTF-8... done sl_SI.UTF-8... done Generation complete. Setting up usbutils (1:014-1+deb12u1) ... Setting up tzdata (2024a-0+deb12u1) ... Current default time zone: 'Europe/Ljubljana' Local time is now: Fri Feb 23 19:22:20 CET 2024. Universal Time is now: Fri Feb 23 18:22:20 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up udev (252.22-1~deb12u1) ... Setting up libsystemd-shared:arm64 (252.22-1~deb12u1) ... Setting up containerd.io (1.6.28-1) ... Setting up docker-compose-plugin (2.24.5-1~debian.12~bookworm) ... Setting up docker-ce-cli (5:25.0.3-1~debian.12~bookworm) ... Setting up libcryptsetup12:arm64 (2:2.6.1-4~deb12u2) ... Setting up systemd (252.22-1~deb12u1) ... Setting file flags is only supported on regular files and directories, cannot set on '/var/log/journal'. Setting up systemd-journal-remote (252.22-1~deb12u1) ... Setting up netplan.io (0.106-2+deb12u1) ... Setting up docker-ce (5:25.0.3-1~debian.12~bookworm) ... Installing new version of config file /etc/init.d/docker ... Setting up systemd-resolved (252.22-1~deb12u1) ... Setting up systemd-sysv (252.22-1~deb12u1) ... Setting up libpam-systemd:arm64 (252.22-1~deb12u1) ... Processing triggers for libc-bin (2.36-9+deb12u4) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for dbus (1.14.10-1~deb12u1) ... Processing triggers for initramfs-tools (0.142) ... update-initramfs: Generating /boot/initrd.img-6.6.10-current-meson64 update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.6.10-current-meson64 Image Name: uInitrd Created: Fri Feb 23 19:23:20 2024 Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 15372432 Bytes = 15012.14 KiB = 14.66 MiB Load Address: 00000000 Entry Point: 00000000 update-initramfs: Armbian: Symlinking /boot/uInitrd-6.6.10-current-meson64 to /boot/uInitrd '/boot/uInitrd' -> 'uInitrd-6.6.10-current-meson64' update-initramfs: Armbian: done. I did reboot after this, then update Home Assistant Core via HA web interface to latest version 2024.2.3 All went fine! 1 Quote
Igor Posted February 28 Author Posted February 28 - fixed and tested images for Khadas VIM1S with install to eMMC - updated my test instance to 2024.2.5 0 Quote
pgd Posted March 8 Posted March 8 (edited) VIM4 : Home assistant starts and works except that it is impossible to install add-ons even in advanced mode because : System is running in an unhealthy state ! details on first startup : Spoiler 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 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) INFO: Starting local supervisor watchdog... s6-rc: info: service legacy-services successfully started [__main__] Initializing Supervisor setup [supervisor.docker.network] Can't find Supervisor network, creating a new network [supervisor.bootstrap] Setting up coresys for machine: odroid-n2 [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2024.02.1 [supervisor.docker.supervisor] Connecting Supervisor to hassio-network [supervisor.resolution.evaluate] Starting system evaluation with state initialize [supervisor.resolution.evaluate] System evaluation complete [__main__] Setting up Supervisor [supervisor.api] Starting API on 172.30.32.2 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task : 'utf-8' codec can't decode byte 0xe0 in position 5: invalid continuation byte [supervisor.dbus.manager] Connected to system D-Bus. [supervisor.dbus.agent] Load dbus interface io.hass.os [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1 [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1 [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1 [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1 [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1 [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled. [supervisor.dbus.agent] No OS-Agent support on the host. Some Host functions have been disabled. [supervisor.host.services] Updating service information [supervisor.host.sound] Updating PulseAudio information [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server [supervisor.host.network] Updating local network information [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'} [supervisor.docker.monitor] Started docker events monitor [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json [supervisor.docker.interface] No version found for ghcr.io/home-assistant/aarch64-hassio-cli [supervisor.plugins.base] No cli plugin Docker image ghcr.io/home-assistant/aarch64-hassio-cli found. [supervisor.plugins.cli] Running setup for CLI plugin [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-cli with tag 2024.02.1. [supervisor.plugins.cli] CLI plugin is now installed [supervisor.plugins.cli] Starting CLI plugin [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2024.02.1 - 172.30.32.5 [supervisor.docker.interface] No version found for ghcr.io/home-assistant/aarch64-hassio-dns [supervisor.plugins.base] No dns plugin Docker image ghcr.io/home-assistant/aarch64-hassio-dns found. [supervisor.plugins.dns] Running setup for CoreDNS plugin [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-dns with tag 2023.06.2. [supervisor.plugins.dns] CoreDNS plugin now installed [supervisor.plugins.dns] Starting CoreDNS plugin [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2 - 172.30.32.3 [supervisor.plugins.dns] Updated /etc/resolv.conf [supervisor.docker.interface] No version found for ghcr.io/home-assistant/aarch64-hassio-audio [supervisor.plugins.base] No audio plugin Docker image ghcr.io/home-assistant/aarch64-hassio-audio found. [supervisor.plugins.audio] Setup Audio plugin [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-audio with tag 2023.12.0. [supervisor.plugins.audio] Audio plugin now installed [supervisor.plugins.audio] Starting Audio plugin [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.12.0 - 172.30.32.4 [supervisor.docker.interface] No version found for ghcr.io/home-assistant/aarch64-hassio-observer [supervisor.plugins.base] No observer plugin Docker image ghcr.io/home-assistant/aarch64-hassio-observer found. [supervisor.plugins.observer] Running setup for observer plugin [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-observer with tag 2023.06.0. [supervisor.plugins.observer] observer plugin now installed [supervisor.plugins.observer] Starting observer plugin [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0 - 172.30.32.6 [supervisor.docker.interface] No version found for ghcr.io/home-assistant/aarch64-hassio-multicast [supervisor.plugins.base] No multicast plugin Docker image ghcr.io/home-assistant/aarch64-hassio-multicast found. [supervisor.plugins.multicast] Running setup for Multicast plugin [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-multicast with tag 2023.06.2. [supervisor.plugins.multicast] Multicast plugin is now installed [supervisor.plugins.multicast] Starting Multicast plugin [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2023.06.2 - Host [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets [supervisor.docker.interface] No version found for ghcr.io/home-assistant/odroid-n2-homeassistant [supervisor.homeassistant.core] No Home Assistant Docker image ghcr.io/home-assistant/odroid-n2-homeassistant found. [supervisor.homeassistant.core] Setting up Home Assistant landingpage [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag landingpage. [supervisor.homeassistant.core] Starting HomeAssistant landingpage [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/odroid-n2-homeassistant with version landingpage [supervisor.os.manager] No Home Assistant Operating System found [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository [supervisor.store.git] Cloning add-on https://github.com/esphome/home-assistant-addon repository [supervisor.store] Loading add-ons from store: 77 all - 77 new - 0 remove [supervisor.addons.manager] Found 0 installed add-ons [supervisor.backups.manager] Found 0 backup files [supervisor.discovery] Loaded 0 messages [supervisor.ingress] Loaded 0 ingress sessions [supervisor.resolution.check] Starting system checks with state setup [supervisor.resolution.check] System checks complete [supervisor.resolution.evaluate] Starting system evaluation with state setup [supervisor.resolution.evaluate] System evaluation complete [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup [supervisor.resolution.evaluate] Starting system evaluation with state setup [supervisor.resolution.evaluate] System evaluation complete [__main__] Running Supervisor CRITICAL (MainThread) [supervisor.core] System is running in an unhealthy state and needs manual intervention! [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available [supervisor.addons.manager] Phase 'initialize' starting 0 add-ons [supervisor.addons.manager] Phase 'system' starting 0 add-ons [supervisor.addons.manager] Phase 'services' starting 0 add-ons [supervisor.core] Skipping start of Home Assistant [supervisor.addons.manager] Phase 'application' starting 0 add-ons [supervisor.misc.tasks] All core tasks are scheduled [supervisor.core] Supervisor is up and running [supervisor.homeassistant.core] Home Assistant setup [supervisor.docker.interface] Updating image ghcr.io/home-assistant/odroid-n2-homeassistant:landingpage to ghcr.io/home-assistant/odroid-n2-homeassistant:2024.3.0 [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag 2024.3.0. [supervisor.host.info] Updating local host information [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json [supervisor.resolution.check] Starting system checks with state running [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server [supervisor.resolution.checks.base] Run check for docker_config/system [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system [supervisor.resolution.checks.base] Run check for multiple_data_disks/system [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server [supervisor.resolution.checks.base] Run check for pwned/addon [supervisor.resolution.checks.base] Run check for no_current_backup/system [supervisor.resolution.module] Create new suggestion create_full_backup - system / None [supervisor.resolution.module] Create new issue no_current_backup - system / None [supervisor.resolution.checks.base] Run check for free_space/system [supervisor.resolution.checks.base] Run check for security/core [supervisor.resolution.checks.base] Run check for trust/supervisor [supervisor.resolution.check] System checks complete [supervisor.resolution.evaluate] Starting system evaluation with state running [supervisor.resolution.evaluate] System evaluation complete [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup [supervisor.host.services] Updating service information [supervisor.host.network] Updating local network information [supervisor.host.sound] Updating PulseAudio information [supervisor.host.manager] Host information reload completed Edited March 8 by Igor spoiler 0 Quote
Igor Posted March 8 Author Posted March 8 2 hours ago, pgd said: it is impossible to install add-ons even in advanced mode because I am having one almost identical device (Khadas VIM1S, same kernel) for testing. Installed add-on: Spoiler Logs https://pastebin.com/raw/JVpwyx1C shows no problems. Are you using our images with preinstalled HA supervisor? If you DIY-ed, you need to fix this problem on your own. Here are some clues. Also did you try to reboot at least once? 0 Quote
pgd Posted March 8 Posted March 8 yes, i use your last vim4 image... I try reboots, SD EMMC with no success but integrations works fine... backups don't work either 0 Quote
Igor Posted March 8 Author Posted March 8 3 hours ago, pgd said: yes, i use your last vim4 image... I try reboots, SD EMMC with no success but integrations works fine... backups don't work either I managed to recreate this problem on VIM4 ... This HW has some old factory kernel, which could be the reason. Trying on some other device first. 0 Quote
Igor Posted March 8 Author Posted March 8 4 hours ago, pgd said: I try reboots, SD EMMC with no success but integrations works fine. Yes, its kernel / low level hardware issue with this particular device. We will look into this, but this won't happen "over the night". I tried with mainline based kernel on Odorid M1 and it works there. It also says warning about "docker and privileges" but reboot fixes that warning. Backup / restore works ... 0 Quote
pgd Posted March 8 Posted March 8 No worries about waiting for a new version! Thank-you for your prompt response. 0 Quote
Kalobok Posted March 8 Posted March 8 (edited) Great idea! Any chance Odroid XU4 will be added to the list? Edited March 8 by Kalobok 0 Quote
Igor Posted March 8 Author Posted March 8 16 minutes ago, Kalobok said: Any chance Odroid XU4 will be added to the list? 32bit, expect troubles ... make image and try? How-to is in the first post. 0 Quote
Kalobok Posted March 8 Posted March 8 Yes, will try. Do I understand correctly that I need to download Docker and HA extensions to userpatches/extensions directory and then build an image for XU4? 0 Quote
Igor Posted March 8 Author Posted March 8 2 hours ago, Kalobok said: Do I understand correctly that I need to download Docker and HA extensions to userpatches/extensions directory and then build an image for XU4? Yes. I have also updated instructions in the 1st post. 1 Quote
Kalobok Posted March 8 Posted March 8 It works. Lots of thanks for the design! ___ _ _ _ __ ___ _ _ _ / _ \ __| |_ __ ___ (_) __| | \ \/ / | | | || | | | | |/ _` | '__/ _ \| |/ _` | \ /| | | | || |_ | |_| | (_| | | | (_) | | (_| | / \| |_| |__ _| \___/ \__,_|_| \___/|_|\__,_| /_/\_\\___/ |_| Welcome to Armbian-unofficial 24.5.0-trunk Bookworm with Linux 6.1.80-current-odroidxu4 No end-user support: built from trunk System load: 68% Up time: 7 min Memory usage: 12% of 1.94G IP: 172.17.0.1 172.30.32.1 CPU temp: 50°C Usage of /: 20% of 15G RX today: 206.4 MiB 0 Quote
Igor Posted March 8 Author Posted March 8 17 minutes ago, Kalobok said: It works. Try those things that didn't work for @pgd just to make sure ... Also welcome to make a PR https://github.com/armbian/os/blob/main/userpatches/targets-release-apps.template#L35-L57 0 Quote
Kalobok Posted March 8 Posted March 8 After restoring from backup got this message: Learn more leads here: https://www.home-assistant.io/more-info/unsupported/cgroup_version I used Ignore and it disappeared. Also upgraded the HA Core: After the upgrade installed "File editor" add-on successfully. 0 Quote
Kalobok Posted March 8 Posted March 8 2 hours ago, Igor said: Also welcome to make a PR I would gladly do, but my knowledge of git is close to zero. Do you mind if I ask for some guidance directly? 0 Quote
Slawek Posted March 10 Posted March 10 Hi @Igor, many hanks for the HA version on Armbian - mine works perfectly on Odroid N2+ eMMC. As my eMMC is only 32GB, so I want to move datadisk to external USB SSD drive. Do you have any experience with this operation. Built-in HA feature does not work. CLI operation reports Error: 'DataDisk.migrate_disk' blocked from execution, no Home Assistant OS available. Probably due to different mount/folder structure. Any suggestions will be very welcome... Best regards Slawek 0 Quote
Igor Posted March 12 Author Posted March 12 On 3/10/2024 at 5:15 PM, Slawek said: Any suggestions will be very welcome... You can try default Armbian way, but beware this case was not tested, so its recommended for making a full HA backup so you can restore in no time. On 3/10/2024 at 5:15 PM, Slawek said: As my eMMC is only 32GB Mine too: igorp@odroidn2:~$ df -h Dat. sist. Vel. Upor. Prost Upo% Priklop na udev 1,7G 0 1,7G 0% /dev tmpfs 372M 5,9M 366M 2% /run /dev/mmcblk0p1 29G 5,4G 24G 19% / tmpfs 1,9G 0 1,9G 0% /dev/shm tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 4,0M 0 4,0M 0% /sys/fs/cgroup tmpfs 1,9G 0 1,9G 0% /tmp /dev/zram1 47M 38M 5,7M 87% /var/log tmpfs 372M 0 372M 0% /run/user/1000 I see no reasons to upgrade anywhere. Especially not to buggy USB3 storage. 0 Quote
Igor Posted April 1 Author Posted April 1 Supervisor sometimes losess healthy state https://github.com/home-assistant/supervisor/issues/4381 and this is not Armbian related problem. However, we will fix this problem. Future builds are going to be patched https://github.com/armbian/os/pull/177 and for already installed, users can easyily implement workaround from PR manually: creating bash script creating systemd service that execute that script enable that service Copy and paste instructions for older builds! Login via SSH and execute: sudo bash -c 'cat << EOF > /usr/local/bin/supervisor_fix.sh #!/bin/bash while true; do if ha supervisor info 2>&1 | grep -q "healthy: false"; then echo "Unhealthy detected, restarting" | systemd-cat -t $(basename "$0") -p emerg systemctl restart hassio-supervisor.service sleep 600 else sleep 5 fi done EOF' sudo chmod +x /usr/local/bin/supervisor_fix.sh sudo bash -c 'cat << EOF > /etc/systemd/system/supervisor-fix.service [Unit] Description=Supervisor Unhealthy Fix [Service] ExecStart=/usr/local/bin/supervisor_fix.sh [Install] WantedBy=multi-user.target EOF' sudo systemctl enable supervisor-fix sudo systemctl start supervisor-fix 0 Quote
Igor Posted April 11 Author Posted April 11 After applying patch from previous post, it updated to latest version without complaining about unhealthy status: 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.