Installing Home Assistant Supervised using Debian 12

yes I did same for Ubuntu and working again. Thanks for posting, I was about to as thought I was going crazy

1 Like

So my logs from - cat /var/log/apt/history.log

Upgrade: docker-compose-plugin:arm64 (2.21.0-1~debian.11~bullseye, 2.24.1-1~debian.11~bullseye), docker-ce-cli:arm64 (5:24.0.7-1~debian.11~bullseye, 5:25.0.0-1~debian.11~bullseye), docker-buildx-plugin:arm64 (0.11.2-1~debian.11~bullseye, 0.12.1-1~debian.11~bullseye), docker-ce:arm64 (5:24.0.7-1~debian.11~bullseye, 5:25.0.0-1~debian.11~bullseye), docker-ce-rootless-extras:arm64 (5:24.0.7-1~debian.11~bullseye, 5:25.0.0-1~debian.11~bullseye)

Installation - Home Assistant Supervised on a Raspberry Pi using Debian 11
So when I downgrade (do I need to include ā€˜arm64ā€™ or remove it; can someone suggest how to fix it to address my scenario)

sudo apt install
docker-compose-plugin=arm64~2.21.0-1~debian.11~bullseye
docker-ce-cli=arm64 5:24.0.7-1~debian.11~bullseye
docker-buildx-plugin=arm64 0.11.2-1~debian.11~bullseye
docker-ce=arm64 5:24.0.7-1~debian.11~bullseye
docker-ce-rootless-extras=arm64 5:24.0.7-1~debian.11~bullseye

Hello may be I was the first to report in GItHub, but I can confirm as a temporary workaround, you must downgrade Docker packages to the previuos working version.

You can find a brief guide in GitHub post, I wrote for newbies like me!

Hope there will be a long term solution!
Bye

See the commands I used in github post: I think we are in the very same configuration.
It worked for me and now my HA is working 100%
Bye

1 Like

@AlexMPH , @bighead85 @brianuab Please make sure you adhere to the ADR HERE and have Docker CE 20.10.17. If you are not running that specific version you may encounter problems with Supervised.

Also note that Ubuntu is not a supported OS and hasnā€™t been for about 2 years now. If you have not followed the ADR and the recommendations in this guide, please do not post for support or advice on how to fix problems.

3 Likes

Except that it says that:

Docker CE >= 20.10.17

So an update should in theory - clearly not in practice - break it, as it does not ask for a specific version just a minimum version

Unless something introduced in the newest Docker version does break it, which it seems to have.

Pretty simple solution, follow the ADR and additionally lock your version from updating. No need to update Docker if your HA is working and you are adhering to the ADR.

1 Like

I can confirm that docker-ce update breaks also a running Debian supervised Home Assistant. MariaDB will not start any more. See MariaDb container suddenly stopped starting

That is not what the ADR says though, is it?

Anyway, a fix on Docker side is on the way, which is expected to be retrofitted in version 25.0.1 (itā€™s the version 25 that breaks things) (ref:

)

1 Like

Docker ce 25.0.1 was just released with a fix for this, and multiple users (including me) have indicated it now works.

1 Like

Better be wise and wait before upgrading Docker. There is absolutely no reason to rush but let it settle and mature before hopping to 25.0.x.

While for some Docker CE 25.0.1 seem to work with HA Supervisor other users are still having issues with some addons like i.e InfluxDB and ebusd. More about the latter HERE.

thatā€™s not what the ADR actually says. The ADR only specifies a MINIMUM docker version. v25.0.1 seems to have fixed all issues I was seeing

1 Like

I understand that, I suggested in my next postā€¦

If you have a working system and have the ADR minimum version of all the dependencies there is no need to update them and risk breaking your install.

Docker updates breaking HA installs has happened a few times now, I donā€™t see the point in updating it unless itā€™s to meet a change in the ADR or patch a security flaw.

I only update when HA forces new dependencies. Iā€™ve only update handful of times since 2018. No reason to stay current with Debian when itā€™s meant to be LTS.

3 Likes

What are the potential security flaws in the 20 odd upgrades to docker-ce between 20.10.17 and the present? No, I donā€™t know either, but frankly Iā€™d rather keep my system up to date.

Then again maybe I should just pin my desktop to windows XP?

2 Likes

LTS means they provide updates Long Term, not that you shouldnā€™t use them!

1 Like

But neither you should use them. I have not read something about a security flaw or therelike with Docker CE 24.x.x which would make it wise to upgrade to 25.0.x.

But here again it seems to be a matter of the point of view: While some prefer to stay on the ā€œbleeding edgeā€ when it comes to upgrades (even these are not mandatory security updates), others prefer to stay on the more conservative side and wait a while to let the latest releases ā€œmatureā€ before installing them.

To each his own.

1 Like

Yeah take your point. Then again many make the legit comment that there are never enough testers.

The release of docker-ce 25.0.x appears to have introduced multiple issues for Supervised HA.

docker-ce 25.0.0 introduced a change in networking behavior the prevented Supervisor from starting. That issue was resolved with the release of docker-ce 25.0.1.
Once HA Supervised was operable on docker-ce 25.0.1 it became apparent there is an issue with the HA InfluxDB integration that may be caused by a change in docker file system mounting behavior introduced in moby v25.

In line with the cautionary approach advised by @Tamsy , it may be advisable to not use docker-ce 25.0.x until more is understood about the impact of the docker file system mounting behavior change.

See

Itā€™s already been discussed in this thread, read above.

1 Like