Installing Home Assistant Supervised using Debian 12

Shamelessly copy/pasted without giving credits from here.

1 Like

Yes, you wrote it out nIce, and I copied it back. Credit need to be given.

We all stand on each other shoulders.

Hello, I created a Debian11 VM on my proxmox server and now I get the following error message:

sudo bash -c "$(wget -qLO - https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/hassos_install.sh)"
bash: Zeile 62: pvesm: Kommando nicht gefunden.
numfmt: ungĆ¼ltige Zahl: ā€žfailureā€œ

That script is a different script. Use this to install supervised on debian 11:

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

dpkg -i homeassistant-supervised.deb

Ahhh, yes it does.

You are trying to run the HA OS script on Debian - it wonā€™t work.

Either follow the Debain 11 install guide, or, the Proxmox + HA OS guide.

I agree, thatā€™s why Iā€˜m running HA supervised as a VM on Proxmox. I use supervised only to run ser2net (although still in planning phase).

Iā€™m in the planning phase right now. Switching from IoBroker. What is the exact difference.
What is different with HA supervised?

Where can I find the correct installation instructions?

You need to do some reading my friend. Start on the HA website.

This guide is to install HA Supervised using Debian 11 as the OS.

If you want to run a VM, using Proxmox, follow this guide.

1 Like

oh yes i read it before and test it
Error on this point

Now i testet Proxmox Helper Scripts

bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/pve6_ha_container.sh)"

and now lxc is locked

pct unlock 107 

donĀ“t unlock :man_shrugging:t2:

You ran a pve6 script, youā€™re on pve7

This has nothing to do with the OP topic

1 Like

pve server rebootā€¦its okā€¦ what is login password

:see_no_evil:sorry its not my day

1 Like

This is a strange decision. Docker isolates containers, thatā€™s the whole point. Why on earth would installing another container would invalidate an install?

That and blacklisting Ubuntuā€¦ Debian hardware support is quite lacking and wonā€™t enable the display adapter on my small server where I was running supervised HA on Ubuntu until some dev decided they hated Ubuntu. I canā€™t install Debian on that server. Iā€™m now running the VM but I get random problems with home assistant dockers crashing and stopping for no reason. Itā€™s very unstable compared to my previous Ubuntu setup.

Sad to see a successful open source project like this take the wrong track.

Maybe itā€™s time to fork the project.

4 Likes

Hello everyone.
I was using HA supervised version for quite some time on RPI4 4GB. until recently i got my RPI SD -Card crash. Since then i am trying all available things to reinstall HA supervised on both Debian 10 and 11 but unfortunately was unsuccessful. recent, the following installation guide i followed on for Debian 11

Everything went well as per the guide. but after the installation was unable to connect to the HA frontend. After diagnosing, i found the HA core is keep crashing in HA supervised.

21-12-04 23:57:24 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-12-04 23:57:24 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-12-04 23:57:24 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-12-04 23:57:24 INFO (MainThread) [supervisor.host.services] Updating service information
21-12-04 23:57:24 INFO (MainThread) [supervisor.host.network] Updating local network information
21-12-04 23:57:25 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-12-04 23:57:25 INFO (MainThread) [supervisor.host.manager] Host information reload completed
21-12-05 00:01:14 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
21-12-05 00:01:15 INFO (SyncWorker_3) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2021.11.3
21-12-05 00:01:15 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
**21-12-05 00:01:20 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!**

I also tried to roll back to the previous core versions and later to the dev channel. But nothing worked out. I would really appreciate if someone can help me to understand where exactly is the problem and how i can get it fixed.

Many thanks in advance
Simer

Iā€™d suggest to log an issue in the HA Supervised section on Github.

Further to this, since there is no way to get back to supported again, I decided to add back watchtower to manage non-HA containers as I had been running before it made my system ā€˜unhealthyā€™ despite watchtower ignoring HA related addons etc. I have already set HA to ignore the unhealthy flag so now I am unsupported AND unhealthy but hopefully this wonā€™t block any updates.
I note this week they have pulled the portainer addon from the addon store too. Lucky my system was already running the native portainer and displaying it in HA anyway via an iFrame. Let the games begin. I wonder what they will block next? ssh on the host maybeā€¦ cos that is WAY dangerous.

4 Likes

Yea there was a long and semi heated discussion about the portainer add-on on GitHub. I ended up installing portainer from a different addon respository (alexbelgium), which is actually updated and maintained.

Yeah I never wanted it running as an addon anyway because if Supervisor had issues I couldnā€™t access it so I always ran the official portainer and itā€™s served me well. A third party repo isnā€™t that bad of an idea anyway. It would just be nice if user needs were considered and we were treated like adults. I donā€™t understand why dumbing this down is the highest objective. Novice users shouldnā€™t be using supervised anyway and if they do thatā€™s on them.