Installing Home Assistant Supervised using Debian 12

this should be part of the main procedure … thanks!

2 Likes

Meant to say at the time, the precise lines I added were not in my file. The lines that were commented out were a little different, as in my pasted text.

[Error] Please set machine for armv7l
I get this when trying to run your last script on a RPi 4B

The guide is made for Intel/AMD Machines.

Replace

curl -sL "https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh" | bash -s

with

curl -sL "https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh" | bash -s -- -m raspberrypi4
4 Likes

I am also interested in installing Home Assistant Supervised via Docker. I tried the old script (install on generic Linux) which was comparable to your script. However, I don’t like the whole systemctl part, as I have OMV also installed on the system.

I found on reddit (https://www.reddit.com/r/homeassistant/comments/ghih2y/new_path_for_ha_on_docker/?utm_source=share&utm_medium=ios_app&utm_name=iossmf), that it is also possible to install the Linux dependencies but instead of running the script, running the following command:

docker run --name hassio_supervisor
–detach
–restart always
–privileged
–security-opt apparmor:unconfined
–security-opt seccomp=unconfined
-v /run/docker.sock:/run/docker.sock
-v /home/USER/ha:/data
-e SUPERVISOR_SHARE=/home/USER/ha
-e SUPERVISOR_NAME=hassio_supervisor
-e HOMEASSISTANT_REPOSITORY=homeassistant/amd64-homeassistant
homeassistant/amd64-hassio-supervisor

Can anyone say if the missing systemctl part can cause major problems? What are the advantages of the systemctl actions?

Just wanted to add my thanks for this guide.
I installed HA Supervised in a Docker container on Debian with only a few small dependency issues, but this helped massively for someone who is new to Debian and HA, so thanks for the effort. Really please with my set up and it’s been rock solid for weeks now.

1 Like

I bought a Wyse 5020 Thin Client I want to run as dedicated Home Assistant. It is 4GB memory and 32 GB drive. Would this method of install be a good solution for it?

Yep, that machine should work well.

I Just rebuild an upgraded server, but when trying to install, the supervisor cannot pull in the other docker containers for some reason, inside the supervisor i can ping google etc… Any ideas?

20-08-13 17:43:33 INFO (MainThread) [supervisor.bootstrap] Initialize Supervisor Sentry
20-08-13 17:43:35 INFO (MainThread) [supervisor.bootstrap] Setup coresys for machine: null
20-08-13 17:43:35 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 232
20-08-13 17:43:35 ERROR (MainThread) [supervisor.docker] Docker logging driver json-file is not supported!
20-08-13 17:43:35 INFO (MainThread) [__main__] Setup Supervisor
20-08-13 17:43:35 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
20-08-13 17:43:35 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
20-08-13 17:43:36 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
20-08-13 17:43:36 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-08-13 17:43:36 INFO (MainThread) [supervisor.host.info] Update local host information
20-08-13 17:43:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-08-13 17:43:36 INFO (MainThread) [supervisor.host.services] Update service information
20-08-13 17:43:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-08-13 17:43:36 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-08-13 17:43:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-08-13 17:43:36 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-08-13 17:43:36 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-08-13 17:43:36 INFO (MainThread) [supervisor.host.services] Reload local service hassio-apparmor.service
20-08-13 17:43:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-08-13 17:43:36 INFO (MainThread) [supervisor.plugins.dns] No CoreDNS plugin Docker image homeassistant/amd64-hassio-dns found.
20-08-13 17:43:36 INFO (MainThread) [supervisor.plugins.dns] Setup CoreDNS plugin
20-08-13 17:43:36 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:43:36 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:43:36 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-13 17:44:06 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:44:06 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:44:06 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-13 17:44:36 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:44:36 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:44:36 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-13 17:45:06 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:45:07 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:45:07 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-13 17:45:37 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:45:37 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:45:37 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-13 17:46:07 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:46:07 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:46:07 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
20-08-13 17:46:37 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-13 17:46:37 WARNING (MainThread) [supervisor.updater] Can't process version data: 'null'
20-08-13 17:46:37 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec

Any ideas would be appreciated, as installing supervised has become really tedious, missing official documentation, a defective official script, … One would start to think they’re still trying to kill it off? :wink:

So with this configuration I will be able to use ssh and samba to manage Home Assistant. If I need to reboot the thin client is that possible.

I am getting the same error.

Looks like something in the script or the version json file is broken at the moment.

It appears the installer script was updated about 20hrs ago by the dev team.

I’m updating the info on my end now, should work again shortly.

2 Likes

@ajhutton @Wim_L Fixed and working again.

3 Likes

Thanks for the fast response :slight_smile: :heart:
I did have to prune the old networks and volumes first. Else it would keep going back to the same error.

DANGER: read before you execute

docker system prune -a --volumes

Thanks. It seems the docs now don’t even mention or link to any supervised installation any more??

I see there is also a guide for installing on Ubuntu. Which install would be best for a Dell Wyse 5020 thin client to be used as dedicated Home Assistant server with a Husbzb-1 for ZWave and Zigbee. I am coming from Windows environment and little experience with Debian or Ubuntu. Thanks-

I offered help to update the official install docs back in May, and my offer was declined. It increasingly looks like they are trying to slowly and quietly kill off Supervised.

2 Likes

Either will work, but if you want to be “Officially” supported, use this Debian guide and skip this line for installing SSH in step 1.18.

sudo apt install openssh-server -y

Other than that, I believe the Debian guide will give you an “officially” supported installation.

Thank you. I am going to give it a try when my thin client arrives.

Great. Post an update with how you get on.