@kanga_who, thanks a lot, it made the trick!
I’m reinstalling my system because of the docker issue, and decided to switch to Debian to make my installation supported.
I followed every step, but at step 4:
curl -fsSL get.docker.com | sh
I get stuck with the following error:
> # Executing docker install script, commit: 3d8fe77c2c46c5b7571f94b42793905e5b3e42e4 > + sh -c apt-get update -qq >/dev/null > + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl gnupg >/dev/null > + sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - >/dev/null > Warning: apt-key output should not be parsed (stdout is not a terminal) > + sh -c echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list > + sh -c apt-get update -qq >/dev/null > E: Method https has died unexpectedly! > E: Sub-process https received a segmentation fault.
I haven’t found anything regarding this error when i search this topic, so I hope somebody can help me with this.
I’ve just fudged my way through it reinstalling 4 times thinking I had an issue with HyperV but it was the docker issue the guys have mentioned above. All is well now.
You may need the prerequisites from the Docker Debian page:
$ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common
That might get you past that error. then follow on with Kanga’s instructions
Hello… Thank you for the installation procedure. But instead of installing on Debian 10 distribution, I used the Raspberry pi OS 64 bits (still in development but build on Debian 10 so fully compatible) to install Home Assistant supervised (I need to access the Pi via VNC to control remote equipments, easy with Raspbian OS)… It went very well (except as mentioned the docker version to downgrade to 19.03.13). Thank you again !
Unfortunately this didn’t solve the issue, still get the same error.
Raspberry Pi OS is not a supported OS by Home Assistant, you may want to check out this guide instead for installing Debian 10 on a Pi.
This guide and thread is discussing Debian 10, not Raspberry Pi OS
@kanga_who Raspberry pi OS 64 bits is based on Debian 10… So after installation, it says “supported Yes” !..
But I understand and accept that Raspbian OS 64 bits is under development and assume all the risks associated with it but Debian 10 light is so light that it is not meeting my requirements (VNC and browser access)… Nevertheless your procedure is also working for Raspbian OS, that’s my point… So I thank you for that, you saved me time and a lot of goggle search !
same problem here today 12/12/2020.
I try to modify file sources.list…but same resoults…
Ping is ok.
I made sudo update && upgrade.
all packages are update…but can not install network manager -software utilities-app armor - jq
Before doing an apt upgrade or after the downgrade of Docker it is best to do:
apt-mark hold containerd.io
apt-mark hold docker-ce-cli
apt-mark hold docker-ce
This prevents Docker from being upgraded. If in the future the supervisor has been fixed and is able to work with the 20.x version of Docker, you can undo these by:
apt-mark unhold containerd.io
apt-mark unhold docker-ce-cli
apt-mark unhold docker-ce
(This information was taken from: https://linoxide.com/linux-how-to/exclude-specific-package-apt-get-upgrade/)
Hi, Thanks for all the help. Linux an HA noob here…
I’m trying to get HomeAssistant supervised on an PC. followed the intructions and got all the way through to a working Home Assistant supervised, but when I reboot the it will not restart.
I followed the instructions here
and got it to restart, but it was Home Assistant Core(?) - not supervised.
My understanding is that the scprit should have set it up to autostart but I have tried a few times with no success. How can I get it to autostart supervised?
Myself and some others have posted this in a couple of other threads. The only issue it introduces, which you have covered off with the commands to un-do it is, people will forget what they have done and come back saying they now can’t upgrade, help, help! I’m not saying it’s a bad idea, but I can now see that it will potentially create another wave of user issues not being able to update Docker when needed.
It’s actually easier to stop OS updates for a week or so until Docker revert the changes they made and HA update the Supervisor.
sudo apt install docker-ce=5:19.03.13~3-0~debian-buster
I did a apt update and apt upgrade then tried the steps you suggested and the file above isn’t found ???
You should add the docker repository first, please see:
under the heading " Install using the repository ". After that you can follow the commands above.
Does anybody have an idea for this problem? I tried again but I can’t get past step 4.
Just follow the guide, but at step 2.2 you must change (for now) the way you install docker. You can’t use the automatic install script from docker, but instead you have to do this:
sudo -i apt-get install -y software-properties-common apparmor-utils apt-transport-https ca-certificates curl dbus jq network-manager systemctl disable ModemManager systemctl stop ModemManager
Here comes some steps that differ from the guide.
1) Add docker repository to Debian
see: https://docs.docker.com/engine/install/debian/#install-using-the-repository for more info.
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common
Add docker’s official GPG key
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
Set up the Repository
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/debian \ $(lsb_release -cs) \ stable"
2. Install old version of Docker
sudo apt install docker-ce=5:19.03.13~3-0~debian-buster sudo apt install docker-ce-cli=5:19.03.13~3-0~debian-buster sudo apt-get install containerd.io=1.3.9-1
3. Optionally: disable automatic update to newer version of docker
Please note, that this is optional. Only do this if you want to upgrade your debian and other packages. I advise just to not update till the issues with docker/supervisor are solved.
4. install hass supervised using the supervised install script
curl -sL "https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh" | bash -s
**5. Follow the guide from 2.3 onwards, but don’t upgrade using apt-get upgrade if you didn’t disable automatic updates to docker (step 3 of my post)
I hope this helps.
I successfully managed to install HA in Supervised Mode using this guide.
There only was a slight difference to the initial guide:
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
(which is the same as the installer.sh mentioned in the original post besides some initial comment parts)
but as I am running on a Raspberry Pi i needed to adjust the installer part according to https://github.com/home-assistant/supervised-installer#installation by using
sudo bash installer.sh --machine raspberrypi3
Without the specification of the machine type the installer would not successfully finish.
To those having issues with docker not starting containers correctly. There is an active alert for docker 20.10 on Debian (also affects other distros).
Docker 20.10 not compatible with Supervised installations
On December 9, 2020 Docker released version 20.10. This version is currently not compatible with the Supervisor that is running on a Supervised installation. If you are running our Home Assistant Operating System or Home Assistant Core directly in Docker, this alert does not apply to you.
There are 2 parts to this issue. The first is the removal of filtering of images over the API, this results in images not being recognized by the Supervisor correctly.
The second issue is changes in how the systemd service for Docker works, which results in the service
hassio-supervisor not being able to start on system boot.
The only known workaround at this point is downgrading Docker to the previous version. The example below is for Debian 10. If that is not your OS, check the documentation for your OS’s package manager on how to perform the downgrade.
apt install docker-ce=5:19.03.14~3-0~debian-buster apt install docker-ce-cli=5:19.03.14~3-0~debian-buster apt install containerd.io=1.3.9-1
When the downgrade is complete, do a system reboot. Once it has fully started you need to run
ha supervisor repair and
ha supervisor restart to fix problems with add-ons.
deleted by author