Installing Home Assistant Supervised using Debian 12

Thanks for the tip, i’ll try to have a VM in that case.

I admit that is is kind of surprising that bridging is a no go for the debian installation :confused:
i just reported that the script somehow broke my network and that it could detect the bridge and accept it.

In the end to make it work i removed the wifi/ethernet/bridge lines from the /etc/network/interfaces file
and created 3 files (one for each interfaces) in /etc/network/interfaces.d/ Indeed the script does not seems to do any modification there ^^

So it managed to work and i was also able to do some updates directly from HA.

But somehow updates are not possible anymore because HA believes it it has no internet…
Whereas i connect on it form outside my local network and it is still able to inform me of available updates ^^

As far as I understood this error message comes because the network interface as detected as “disabled” within system/network

So in the end to prevent bothering you with this request of supporting br0 i downloaded the virtualbox vm and tried to use it as replacement.

But i did not yet found out how to get all my data imported on it.

Of course i try to generate a savefile on my debian HA and import it on the virtualbox HA but got an error.
My second idea was to use virtal box file browser and copy/paste files manually, but there it asked for a user credential that i don’t have :confused:

If some of you have some advice for this, i would highly appreciate it :slight_smile:

Thanks a lot for your help and support.

Copy the (hidden) .storage folder from the config folder.
FYI: this .storage folder holds all devices and entities.
You might also want to include the yaml files you want to keep (configuration, automation, groups, scenes, scripts, secrets)

Paste everything back into the new setup (using the Samba addon) and reboot :wink:

2 Likes

thanks a lot i’ll try that :slight_smile:

1 Like

@kanga_who Debian 11 installation links are not valid not - the first link goes to Debian 12 image and the full image link returns 404 (the following text found also - Unofficial non-free images including firmware packages. UPDATE 10 Jun 2023: As of Debian 12 (Bookworm), firmware is included in the normal Debian installer images. USERS NO LONGER NEED TO LOOK FOR SPECIAL VERSIONS).

What should be used now?

As for now until HA Supervised fully supports Debian 12 (“Bookworm”) you can use the following links:

1 Like

As for now until HA Supervised fully supports Debian 12 (“Bookworm”)

@Tamsy, can not get it working with Debian 12.
dpkg -i homeassistant-supervised.deb fails, no dependencies are found (systemd-journal-remote, systemd-resolved). When I try to resolve it with apt-get -f install, it fails at

1. [info] Restarting NetworkManager
2. [info] Set up systemd-journal-gatewayd socket file
3. [info] Enable systemd-journal-gatewayd

see the full log at pastebin.

As mentioned HA Supervised does not yet support Debian 12. If you get HA up and running you will get an “Unsupported Installation”.

Either install Debian 11 (“Bullseye”) for now or wait for HA 2023.7.x which as rumor says will support Debian 12.

1 Like

ah, thanks. I’ve read your message incorrectly initially.

Are you sure about that? :slight_smile: I just checked (for an answer in another thread), and it says Debian 12 is supported for Supervised install…???

See here:

Arcording to this writing (19h ago): “[…] for now yes unsupported OS so unsupported system […]”

1 Like

Strange, isn’t it? But in doubt I don’t believe the documentation, I’d rather go with someone who tried it… :rofl:

1 Like

Exactly my thinking too :grin:

1 Like

There is no update mechanism for updating the homeassistant supervised deb or the os agent deb. You need to make sure you have the latest when trying stuff.

I have installed vanilla Debian-12 ob RPi4 and installed HA Supervised.
Does anyone know how I can overclock the PI4B when it is running vanilla Debian?
I have tried adding the overclocking params in /etc/default/raspi-firmware-custom, but they do not seem to have any effect.

Usually /boot/config.txt

You can just install the new version over the top. I have done os-agent multiple times to make sure I was running latest and due to a new bunch of HA instigated incompatibilities I just reinstalled the requirements and ran the deb script file again just a few days ago.

Yes of course, but my point is that it is not just a one-off set-and-forget.

Chicken and egg :
I have HAS installed on Debian 12 but ends up with “Unhealthy system - Not privileged”.
I can not install “Advanced SSH & Web Terminal” because : “AddonManager.install’ blocked from execution, system is not healthy - privileged”
Any clue ?

rerun supervised installer could help

You can also set it to ignore the health check