-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supervised installation not working on Docker 20.x #2359
Comments
Please do not respond with "same problem here", instead click on the 👍 reaction on the first post. We are aware of the issue but will not have time to fix it until after the Home Assistant Conference. |
@balloob maybe it's worth to post a blog regarding this or some social-media (FB/Twitter)? |
It comes frome:
EDIT: |
To add some more context to this issue witch is also described in the alert The issue has 2 parts. Filtering has been removed from the API that lists container images, with that change the Supervisor is not able to handle the response correctly. It looks like that will be resolved in docker/docker-py@1757c97 which is the library the Supervisor uses to communicate with Docker. The second part, is changes to the systemd service for Docker, that change results in the service for The quick-fix given in the issue description will for the most part work, but it's not enough, see the alert for a full rollback of Docker. |
Until support is implemented, here's the command to prevent packages from being upgraded:
And the command to revert that:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please don't abuse github as chat system. We have discord for this. This Issue is to track solutions and progress. All other is written on the alert: https://alerts.home-assistant.io/#docker_2010.markdown |
For history. Docker will release soon 20.10.1, which solves the issue with systemd, and we can work around the other bug with the docker-library. 20.10.0 will never get working |
This are the commands to rollback in ubuntu 18.04 (bionic)
and this, for prevent packages from being upgraded:
For other distributions, you can check with
and you can replace the commands that contain ubuntu-bionic with your version, in this format:
(mods: if you want to merge this comment in the first want, you re welcome!) |
@crisflashin The Home Assistant project does not support Ubuntu. Thus the initial post or alerts will not be updated with that information. |
In the meantime, perhaps, could some sort of check for the broken Docker version be implemented? I had to ask on Discord to find the alert and this issue - it's not very easy to research. |
If Docker doesn't work, there is not much to bootstrap that can check it. We have an issue here and put out an alert. If you are affected by this, you are running a Supervised installation, which is considered an advanced case and we assume one is capable of handling system administration. |
Wouldn't a check against
Fair enough, I suppose. |
Since nothing is starting, that would not work. |
I think you need to rethink what an "alert" means. There's nothing on the homeassistant.io website, nothing in the blog, nothing in the forums.
ok, fine, I get that you don't support ubuntu (and completely get that you can't support every operating system that some user arbitrarily decides they want to use), but it wouldn't take a lot to update the initial post and the alert (what alert?) to point users at relevant user experiences on unsupported operating systems. That's just helping the community help itself, and that's always a good thing. |
Today I decided to switch from HASS OS to Supervised Mode. Luckily I was made aware of the alert on https://alerts.home-assistant.io (https://alerts.home-assistant.io/#docker_2010.markdown). Guess how? By a user comment in a Home Assistant facebook group... My two cents even I was lucky for today and could just downgrade the freshly installed docker as mentioned in the alert:
So I have to agree with @jon-hedgerows by saying the communication part has a bit room for improvement. Maybe in general, even users running the Supervised mode need take care of a lot more things as documentation is saying, that´s the deal. |
Following on what others say, it might be a good thing to integrate those alerts into HA, like a notification. |
Well that might be too late. Sending notifications to a system which might already be down (cause e. g. in this case the base like docker is gone) is not very reliable. I´d vote for simply copy/pasting the existing eMail notification feature provided on https://status.home-assistant.io. But I guess for that discussion this issue isn´t the right place. Let´s see how to fix this so updating to latest Docker will be possible again. |
Docker 20.10.1 was released with an updated systemd unit file, and should probably fix this issue |
Great .... |
Thanks, @thaJeztah for the news |
Does this mean that it should be ok to run apt update/upgrade now? |
You first need Supervisor 2020.12.7, when you have that you can update Docker |
I can confirm it works - forced Supervisor update, apt upgrade and reboot worked (as usually) - flawlessly. |
Thanks for confirming, @andriej, good to hear! |
I also confirm that it works with the last docker-ce package |
Hw to force the update? Do I need to be in beta? |
Instructions for that has been added to the bottom of this: https://alerts.home-assistant.io/#docker_2010.markdown |
The latest version released 8 hours ago doesn't seem to work:
|
If you run a supported system, please open a new issue |
Describe the issue
Upgrading to the latest Debian 10 stable on 'healthy supported supervised' installation makes HA's components never come back again: supervisor, observer and all dockers including HA
Steps to reproduce
After that, the only working 'docker ps' docker will be observer with no possibility to come back online.
restarting of the supervisor and doing
ha su repair
helps to get HA (and only HA, without addons) back onlineBut it's not persistent and lost after reboot.
Enviroment details
Supervisor logs
Supervisor logs
System Information
System Information
What's quick-fix for those that have their whole house down, is to downgrade docker:
apt install docker-ce=5:19.03.14~3-0~debian-buster
and restore full-snapshot...
EDIT:
Full rollback as in alert until fixed:
The text was updated successfully, but these errors were encountered: