Installing Home Assistant Supervised using Debian 12

Disable IPv6 and try again.

I found someone with a similar problem. He sent sudo -s and then the command and it worked. Unable to Install Docker - #5 by brikeyes - General Discussions - Docker Community Forums

I did the same and it worked as well. Don’t know what sudo -s does exactly :slight_smile:

Well, it gave me this error:

+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
E: Failed to fetch https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/docker-ce-rootless-extras_20.10.10~3-0~debian-buster_amd64.deb  Could not resolve 'download.docker.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

…but it seems I have docker is installed.

And now I have this
Grrr!!

wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_x86_64.deb
--2021-11-07 17:15:56--  https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_x86_64.deb
Resolving github.com (github.com)... failed: Name or service not known.
wget: unable to resolve host address ‘github.com’

I will try to disable IPv6

I reinstalled all from scratch and it is working now. thank you, guys!

LE: I backed up yesterday and it has not restarted since then. How do you check if HA is running what the problems are while on Debian? Any clues?

By installing as described it will be missing unzip and I can then not install HACS.
Assume by this description installing unzip will then give me an unsupported system?

You only get unsupported if you install extra docker containers.

1 Like

Okay thanks, then possibly the opening post should have been slightly rephrased

:warning: Using Debian 11 and following a strict set of guidelines available HERE will give you a supported installation of Home Assistant Supervised. If you choose at anytime to install additional software to the Debian operating system, your installation will become officially unsupported.

Technically, installing anything else than the required dependencies for a Supervised installation does make it unsupported, so the opening comment is accurate.

1 Like

and honestly who knows what bastardry is coming given the issue with ANY container made it unsupported only a couple of weeks ago after years with no issues…

5 Likes

I have trouble to get my bluetooth usb stick to find my BLE sensors. I use ble to get the data (this has worked before on my raspi3B+ very well.

How does HA supervisor can access the USB device? If I go to supervisor → host > hardware the stick is shown as Bluetooth_Radio. Did this also mean HA can access it?

Thanks

Hello,
A year ago, I installed ha supervised on my openmediavault 5.5 using the old script

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s 

which allowed me to choose the data folder on a disk accessible by the samba of omv.
I unfortunately broke my installation. And the old script doesn’t seem to work on omv 6 anymore.

So I would like to use the official way

dpkg -i homeassistant-supervised.deb

but I don’t see how I can declare the folder for
-d | --data-share $ PREFIX / share / hassio data folder for hass.io installation

Or is there a way to move this folder after installation?

1 Like

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