Could you provide the crash logs?
@ivan.li please follow up.
Hi @Lionnel
Execute the following command to solve this problem.
$ sudo modprobe overlay
$ sudo modprobe nft_chain_nat
$ sudo modprobe nft_counter
$ sudo modprobe nft_compat
$ sudo modprobe nf_tables
Install Docker Reference Documents on VIM1S.
you need also theese commands:
sudo apt --fix-missing update
sudo apt-get update --fix-missing
sudo apt-get install jq wget curl avahi-daemon udisks2 libglib2.0-bin network-manager dbus apparmor -y
and… to set permanent modprobe command after reboot use this command by shell
sudo echo -e “\noverlay\nnft_chain_nat\nnft_counter\nnft_compat\nnf_tables\n” >> /etc/modules-load.d/modules.conf
then you see graphical windows to choice your preferred platform where install homeassistant supervised: I selected : khadas VIM3
and finally homeassistant started!!!
Hi,
I’m having the same problem - unable to install Home assistant supervised on UBUNTU 22.04.1 LTS - cause it is not supported by the official home assistant supervised installer
I followed this instructions first Installing Home assistant supervised on UBUNTU 22.04 LTS
When I met docker-ce error i followed this solve Docker IPTABLES Error
but - installer doesn’t support UBUNTU 22.04 LTS
I’dont have GUI ont my ubuntu server and i don’t really understand what i have to do with your github and your instructions @pappicio
Can you help ?
If I understand how to dump system with homeassistant and reuse it on EMMC, I can share the image file… for now, I have to study about
this is my HOMEASSISTANT SUPERVISED image to put on FAT32 formatted usb key and copy to emmc by OOWAW tool
connect to your LAN by cable and from chrome browser (or firefox, or edge) write:
vim1s:8123
and you can see homeassistant login page (1st login, you have to choice new username and confirm twice your new password)
or by a pc connected to your LAN, write in dos command:
ping vim1s
and you can see vim1s board IP
you have 2 system (shell) users:
root with password: root
pi with password: pi
all system is in Italian Language, but you can choice different for HomeAssistant
and system by shell using armbian-config tool (sudo armbian-config)
Oh wow that’s nice i think the khadas team could add a similar image in the installer that would be great. Thanks for your help @pappicio
Hello, the problem came from Iptables. I solved it with these commands:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install ca-certificates curl gnupg lsb-release
$ sudo mkdir -p /etc/apt/keyrings
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
$ echo “deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/ $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
$ sudo apt-get update
$ update-alternatives --set iptables /usr/sbin/iptables-legacy
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
$ sudo docker pull homeassistant/home-assistant
Thank you all
Hi Bredin76,
This command solved your problem : $ update-alternatives --set iptables /usr/sbin/iptables-legacy
Actually i used directly 2 lines - This one and the same one with ip6tables like i say in my post
Before this 2 lines - Docker Hello world is no running - after Hello world is ok.
then I succeed to have an Home assistant supervised working on DEBIAN Buster BUT i had to use homeassistant-supervised.deb in 1.2.0 cause since 1.3 you have to be on DEBIAN Bulleye => so Unhealthy installation
Next - i tried to update this debian buster, with home assistant supervised installed, using the first part of this tutorialBUT VIM1S falls in bootloop
I succeed to update a frash Buster installation in Bullseye BUT was unable to install home assistant supervised ( I tired 1.4.1 Script without success)…
I will try a new way by this week or the @pappicio .img
Regards
Hello, i tried to install this image but OOWOW does not detect it…
I tried by USB/FAT32 and SD card , the supports are detected but oowow dont find any image file
the image works, you have to decompress the file and put it on the usb key using the balena etcher software. owoo will see it next
but… if I remember well, only have to copy .img.zst (as you download it, without decompress it) file into a FAT32 microsd insert and start oowow system, then exploring into folders, you can find (as you do with online image files!) and install this image… I did this operations… if I remember well, not exploded it as ready to go system on sdcard, maybe is another way to do.
Hello, is the support of HA is still a work in progress ?
I ran into the same thing. I fixed it by running:
sudo nano /boot/uEnv.txt
Add systemd.unified_cgroup_hierarchy=0 apparmor=1 security=apparmor
to the boot_user_args=
section and reboot. So once added, you should have:
boot_user_args=systemd.unified_cgroup_hierarchy=0 apparmor=1 security=apparmor
This is the old installation guide and is not necessary anymore. You no longer need a USB and the image is accessible on the device itself with OOWOW. See replies below for more info on the updated guide.
For other newbies like myself, here’s an updated version of @pappicio’s image with the language set to English and the “AppArmor” and “CGroup” issues fixed.
There are 2 images to choose from. The first image will keep the LED on the device at default (on). The second image will instead set the LED light to ‘off’ after every boot. Choose whichever one you prefer.
Instructions:
Note: Use a USB drive as using an SD card did not work for me, unless using a USB SD card reader.
Put .zst file (no need to extract) onto a USB drive and insert into the device
Open OOWOW by holding the ‘function’ (middle) and pressing the ‘reset’ (right) button
When OOWOW starts, select ‘Exit’ as we’ll connect ethernet/wi-fi later
Select ‘Write image to eMMC’
Hit ‘Enter’ to select ‘…/’
Select your USB drive
Select the image .zst
Hit ‘Enter’ to select ‘Write’
Once completed, reboot the system
There are two logins (make sure to change these):
root with password root and
pi with password pi
Once logged in, connect your ethernet cable or set up Wi-Fi by running:
nmcli dev wifi rescan
nmcli dev wifi list
nmcli dev wifi connect "your network name" password "your network password"
ip addr show
Take note of your host IP address under your network adapter (eg. wlan0) and open HOSTIP:8123 (eg. 192.168.0.100:8123) in your browser. It might take a few minutes to appear.
PLEASE NOTE: Make sure to update Home Assistant immediately after setup, enable 2FA on Home Assistant (for good measure) and change the default logins on the VIM1S.
Nice to see this progress with vim1s, is there a way to turn the led off if we used the first image of @pappicio ?
Yes, you can do this by running:
sudo nano /etc/rc.local
Halfway down, you should see:
# Setup LED: heartbeat if bootup completed
with something like this underneath:
echo heartbeat | sudo tee /sys/class/leds/pwmled/trigger
Replace this with:
echo none | sudo tee /sys/class/leds/pwmled/trigger