Must start hassio docker container manually after apt upgrade

After updating the system (apt upgrade), all docker containers have the status exited and I must start them manually e.g. docker run hassio_supervisor. Any ideas what went wrong? The new hassio_observer container though starts automatically.

I’m investigating this too. Seems that many threads have been updated in the past day with people complaining about the same problem…

2 Likes

This thread helped me do a dirty fix:
https://community.home-assistant.io/t/2-servers-2-locations-both-running-ha-both-quit-working-after-recent-server-update/253459

I didn’t want to spend too much time figuring it out so I reverted Docker to the previous version; ran this command to find out which version it was

apt-cache show docker-ce|grep 5:19

then ran this to downgrade docker-ce

sudo apt install docker-ce=5:19.03.14~3-0~raspbian-buster

then I pulled the images for my add-ons as per this comment:
https://community.home-assistant.io/t/2-servers-2-locations-both-running-ha-both-quit-working-after-recent-server-update/253459/16?u=oxyd
such as

sudo docker image pull homeassistant/armhf-addon-deconz:6.6.0

Gosh, even better, as per comment from ludeeus above!

Workaround

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.

1 Like

Oof, didn’t see the alert in time and just got nailed with this. Thanks for this, glad the community forum always saves my behind when I wreck my set up.

For those running on other versions of linux, found this tip on another forum. If you run this:

apt-cache policy docker-ce

It will list out the version of docker-ce you have installed and all the available versions. This can help you find your distro’s specific candidate to downgrade to.

2 Likes

More elegant than my grep, thank you :wink:

Note that I had to install the Terminal & SSH add-on and go into the web Terminal to easily run these 2 commands.

As per https://alerts.home-assistant.io/#docker_2010.markdown

I have upgraded to the beta channel to install Supervisor 2020.12.7, and was able to upgrade to Docker version 20.10.1,