Installing Home Assistant Supervised using Debian 12

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

Simply because the pi isn’t x86_64. You wanted this thread Installing Home Assistant Supervised on a Raspberry Pi using Debian 12

As it says in post 1

This guide will help you to install Home Assistant Supervised, on almost any machine type you choose. This guide has been tested on machines including a Lenovo m72e, Dell Optiplex SFF 990, Dell Optiplex USFF 780 and a HP T520 thin client. If you are using a Raspberry Pi , follow this guide.

2 Likes

thanks,

I’ve learnt my lesson: if anything else fails, read the instructions

2 Likes