supervisor: hassio-supervisor fails to start and attach to an not running hassio_supervisor
Describe the issue you are experiencing
hassio-supervisor fails to start and attach to an already created but not runing hassio_supervisor
On an ordinary reboot, I find that hassio_supervisor never restart correctly, and I cannot start with systemctl start hassio-supervisor.service
It looks like the /usr/sbin/hassio-supervisor is hanging on the docker start --attach hassio_supervisor.
I am running docker version
Docker version 20.10.4
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
What is the used version of the Supervisor?
supervisor-2021.02.11
What type of installation are you running?
Home Assistant Supervised
Which operating system are you running on?
Debian
What is the version of your installed operating system?
Debian GNU/Linux 10 (buster)
What version of Home Assistant Core is installed?
core-2021.2.3
Steps to reproduce the issue
Try and reboot with an updated debian system and notice the supervisor doesn’t come back up.
docker rm -f hassio_supervisor, allows it come back up correctly.
Anything in the Supervisor logs that might be useful for us?
# Put your logs below this line
Nothing to log.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 5
- Comments: 32
another temporary solution by holding back the upgrade by issuing this command:
to cancel the hold when it’s safe to upgrade.
Editted for typos
Upgrading to docker-ce to 20.10.5 seems to fix the issue…
Workaround: By downgrading docker-ce and cli HA supervised starts again.
sounds similar to this issue in Docker engine repo https://github.com/moby/moby/issues/42093#issuecomment-787100537
Think its similar to this. https://github.com/home-assistant/supervisor/issues/1529 but no resolution there. I was able to get everything to work as expected commenting out the first or of the || statement
For Ubuntu Server on Pi this worked for me
Find your specific docker version using
apt-cache madison docker-ceThen downgrade using
sudo apt-get install docker-ce=5:20.10.3~3-0~ubuntu-focal containerd.iosudo apt-get install docker-ce-cli=5:20.10.3~3-0~ubuntu-focal containerd.iosudo apt-get install docker-ce-rootless-extras=5:20.10.3~3-0~ubuntu-focal containerd.iosudo rebooteverything running smoothly again.
I also downgrade one more docker component and now every thing is fine.
How about issuing alert as it was done with previous docker issue @pvizeli ?
did this break with Docker 20.10.4? I haven’t had any problem on 20.10.3.