Installing Home Assistant Supervised using Debian 12

Worked for me!

Thank you

Nopes,

You can just install the newest docker version and try the newest beta has supervisor version. Or you can install the stable version of the has supervisor, but than you can’t use the newest docker :slight_smile:

Thanks for trying Mr DO, much appreciated but after the last six hours of trying I’ve given up and put the SBC in the trash. Simply couldn’t face another week like the last one.
Home Assistant is a doddle, I’ve had it running fine for the last year, but Linux is a nightmare for anyone who’s new to it. I guess I’m just too old to start learning about repositories, translations, packages, containers etc.

To help others who run into the same problem, this happens because you answered “No” to the question “Use a network mirror?” I had this problem while trying to install openssh

ssh - Cannot install sshd (openssh-server) on debian 10.4 - Server Fault

I’m actually also stuck at this point. I can add the docker repositories, but after that I can’t do an apt-get update anymore. It ends with:

E: Method https has dies unexpectedly!
E: Sub-process https received a segmentation fault.

When I try to install docker using
sudo apt install docker-ce=5:19.03.13~3-0~debian-buster it shows:
E: Version '5:19.03.13~3-0~debian-buster' for 'docker-ce' was not found

When I remove the docker sources from my sources list, which looks like this:

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
deb http://ftp.us.debian.org/debian/ buster main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main
deb [arch=amd64] https://download.docker.com/linux/debian buster stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian buster stable
deb-src http://deb.debian.org/debian/ buster-updates main

I can then do an apt-get update again. So the repositories from docker are somehow not working on the latest version of debian. Do you have any idea what could be wrong?

That is the exact same sources.list I have for docker and it is working with latest debian 10.7

see here as well

Did you do a

sudo apt-get update

?

Following the docker install doc above I see I can install any of the following packages:

david@debian:~$ apt-cache madison docker-ce
 docker-ce | 5:20.10.1~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:20.10.0~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.14~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.13~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.12~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.11~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.10~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.9~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.8~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.7~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.6~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.5~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.4~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.3~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.2~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.1~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:19.03.0~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.9~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.8~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.7~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.6~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.5~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.4~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.3~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.2~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.1~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 5:18.09.0~3-0~debian-buster | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 18.06.3~ce~3-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 18.06.2~ce~3-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 18.06.1~ce~3-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 18.06.0~ce~3-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 18.03.1~ce-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 18.03.0~ce-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 17.12.1~ce-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
 docker-ce | 17.12.0~ce-0~debian | https://download.docker.com/linux/debian buster/stable amd64 Packages
1 Like

Hi David,

Yes I did an sudo apt-get update, but that ended with the segmentation errors. I’m taking the machine to my work tomorrow to try it with a better connection, maybe that is the issue.

I just checked again, with another internet connection, it doesn’t make a difference. I add the repository by running

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

Then I do an sudo apt-get update and end with

rvoosterhout@hp-srv:~$ sudo apt-get update
Hit:1 http://deb.debian.org/debian buster-updates InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists... Done
E: Method https has died unexpectedly!
E: Sub-process https received a segmentation fault.

I try to put docker on debian vm inside qnap virtualisation but seems docker-ce is far away from me.
I read previous comments and assured that i have fresh updated system (it was only 2 hours since i installed)
So, I have access to net and this is hosts

2 hours later…installed docker but same message “no installation candidate” for network-manager apparmor jq. Twilight zone

What can i try ?



If i have controll of watchtower updates why can´t i have watchtower and supervised on same machne?

i have same setup and same problem any fix?

Did you just create a manual snapshot before re installing?

I am currently running my HA on a HP6300 with Ubuntu heedlessly and using Putty to get in and update the software. It has worked beautifully over the last 12 months and to say I’m a little nervous about redoing this is an understatement lol

I want to still run heedlessly, is it possible to SSH in without installing Open-SSH?

I think I might do a dry run on my old laptop and see how that goes first,

Because of this, ADR-0014

Stop using watchtower and switch to docker-compose with a cronjob to run every 12 hours

It’s possible that your hardware (QNAP NAS) isn’t supported by the required packages.

If you can, it would be far easier to use the HA OS image and run that as a VM rather than VM-+Debian+Docker+HA.

1 Like

:)) guess i didn’t think at the fact that hassos can be installed in virtual machine without the need of another platform. I will try to see how can i put a hassos image in virtualisation station.

Later edit: i remembered that qnap virtual machine accepts only iso images. I have to convert vdi or ova image and i didn’t find a tutorial with what settings should i try.

Last edit: imported ova hassos 5.8 and restored fullsnapshot. Only some : [supervisor.api.ingress] No valid ingress session None…guess is grafana not wanting to refresh

1 Like

Has anyone got a Plex server running on the same machine.
Would I be best installing it separately or with the Plex Addon for home assistant?
I have an additional HDD that I’d need to mount at /share/
How would one go about this in Debian?

I have a Plex server running in a docker container on the same machine. Works perfectly. Yes you’d have to mount an external drive and include that path in your docker build/command.

Im using docker-compose allreay? I like watchtower whay the hell can I use it for other stuf? im not using a lower raspberry pi device!.

Did you read the ADR?

The Supervisor expects very specific and limited software to be running on the machine. Anything else may cause issues with the Supervisor, or stop it working correctly.

1 Like