Install Supervised/Supervisor on Raspberry Pi4 with Docker installation

I gave up and installed HA OS and it’s working

Thank you for your help :smiley:

1 Like

Out of curiosity, what else do you plan to do on the pi4, outside of HA? Looking for ideas here.

Most of what I had planed to do will be done with the nas i just bought

A media player, nas, firewall, next cloud, download station and I’m sure I’ll think of something next

Can’t have kodi with HA OS, right?

I am running in a raspberry pi 4 and I have tried this 3 times but can’t get it to run. I get positive results until the last step (sudo bash installer.sh --machine raspberrypi4). Every time I run the command it says “installer.sh: line 1: 404:: command not found.”

Same for me. The installer.sh file isnt there any more

Seems like it got deleted Delete installer.sh · home-assistant/supervised-installer@ece9fcc · GitHub

Hi all,
I installed the supervised like one-two weeks ago in raspbina 64bit. The only problem was with grub, that raspbian don’t use.

I follow this guide: https://peyanski.com/how-to-install-home-assistant-supervised-official-way/#How_to_Install_Home_Assistant_Supervised

But it is not fully correct. The steps I follow (more less) were:

  1. sudo apt-get install jq wget curl udisks2 libglib2.0-bin network-manager dbus -y

  2. sudo reboot now

  3. Install last agent version (currently 1.2.2): Release 1.2.2 · home-assistant/os-agent · GitHub
    a. Raspbian 32bit installation: wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_armv7.deb
    b. Raspbian 64bit installation: wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb

  4. Install the downloaded .deb. For example, for 32bit version: sudo dpkg -i os-agent_1.2.2_linux_armv7.deb

  5. Check if is correctly installed: gdbus introspect --system --dest io.hass.os --object-path /io/hass/os

  6. wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb

  7. sudo dpkg -i homeassistant-supervised.deb

1.1.1 version will finish in an error related with grub: Switch to cgroupv1 by ikifar2012 · Pull Request #201 · home-assistant/supervised-installer · GitHub

To fix, after the first installation, change: /var/lib/dpkg/info/homeassistant-supervised.postinst
1. sudo nano /var/lib/dpkg/info/homeassistant-supervised.postinst
2. Comment the lines at the end of file. See the github comment.


3. sudo apt autoremove
In this case, the installation will end without error.

Now we need to activate AppArmor:

  1. sudo apt install apparmor-utils

  2. sudo nano /boot/cmdline.txt

  3. Add lsm=apparmor

  4. sudo reboot now

  5. Check AppArmor

  • aa-status
    Need to print a result like: apparmor module is loaded.

  • aa-enable
    Need to print a result like: Yes

1 Like

Hi, I have followed the above steps for HA Supervised installation, but I get the error:

dpkg: dependency issues prevent configuration of homeassistant-supervised:
homeassistant-supervised depends on os-agent.
homeassistant-supervised depends on systemd-resolved; however:
`systemd-resolved’ package is not installed.

dpkg: error processing homeassistant-supervised package (–install):
dependency problems - left unconfigured.
Errors were encountered while processing:
homeassistant-supervised

I tried to install the `systemd-resolved’ package but it seems to be deprecated for the raspberry pi 4.

My raspberrypi 4 has the OS version from the Raspberry web, which is Debian 11.

Has anyone been able to solve this problem,

Thanks

See this topic:

Thank you.

I will follow this topic to see if I can install HA Supervised because otherwise I see no way to install add-ons.