arboeh
(Arend Böhmer)
January 20, 2024, 11:47am
1
I had serious problems with Home Assistant (Core 2024.1.4 & Supervisor 2023.12.1) after updating the packages docker-ce and docker-ce-rootless-extras to 5:25.0.0.1.
Some of the containers didn’t start again and Home Assistant crashes completely.
After downgrading docker-ce and docker-ce-rootless-extras to 5:24.0.7.1 everything works fine again.
The whole thing took me a few complete Linux system restores and a few hours of troubleshooting…
schol93
(Dennis)
January 21, 2024, 12:47pm
3
Same problem running Ubuntu 20.04.6 LTS
akunia
(Akunia)
January 21, 2024, 1:57pm
4
Got the same thing with supervised ha installation on debian. The downgrade to 24.0.7 resolved my problem.
It should be pinned somewhere- the problem seems repeatable.
arboeh
(Arend Böhmer)
January 24, 2024, 9:55am
6
If I understood that correctly, the problem won’t be solved. The bug has been closed due to unsupported system… WTH
opened 05:28PM - 19 Jan 24 UTC
bug
unsupported
### Describe the issue you are experiencing
Today MY HA went crazy, probably … after a Debian OS update: it all started after an OS reboot.
From Settings > Integrations I see "Home Assistant Supervisor Failed setup, will retry"
![immagine](https://github.com/home-assistant/supervisor/assets/19230076/d356c312-ffd4-4ce0-96d4-5e1a4581b677)
Several other integrations same behaviour, some other are working (Shelly, MQTT, ZHA, HomeKit ...)
![immagine](https://github.com/home-assistant/supervisor/assets/19230076/0217dfef-1b04-4c38-9f69-c03797762aa1)
From HA Core Logs I see (among others):
```
Logger: homeassistant.helpers.system_info
Source: helpers/system_info.py:72
First occurred: 18:12:57 (1 occurrences)
Last logged: 18:12:57
```
No Home Assistant Supervisor info available
```
Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:557
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 18:02:11 (4 occurrences)
Last logged: 18:17:21
```
Can't read Supervisor data:
If I try to read HA Supervisor Logs: Failed to get supervisor logs, 502: Bad Gateway
What could be happend?
In Debian I found this updates to Docker Packages, today (with command `cat /var/log/apt/history.log`):
```
Start-Date: 2024-01-19 17:14:36
Commandline: packagekit role='update-packages'
Upgrade: docker-compose-plugin:amd64 (2.21.0-1~debian.11~bullseye, 2.24.1-1~debian.11~bullseye), docker-ce-cli:amd64 (5:24.0.7-1~debian.11~bullseye, 5:25.0.0-1~debian.11~bullseye), docker-buildx-plugin:amd64 (0.11.2-1~debian.11~bullseye, 0.12.1-1~debian.11~bullseye), docker-ce:amd64 (5:24.0.7-1~debian.11~bullseye, 5:25.0.0-1~debian.11~bullseye), docker-ce-rootless-extras:amd64 (5:24.0.7-1~debian.11~bullseye, 5:25.0.0-1~debian.11~bullseye)
End-Date: 2024-01-19 17:14:49
```
It all began after a reboot I did one hour after Debian OS Updates.
Tried to reboot Debian and HA several times: no changes
Tried to go for a backup: not visible when I press the button
Thanks
### What type of installation are you running?
Home Assistant Supervised
### Which operating system are you running on?
Debian
### Steps to reproduce the issue
1.
2.
3.
...
### Anything in the Supervisor logs that might be useful for us?
```txt
not available
```
### System Health information
not available
### Supervisor diagnostics
cannot find download diagnostics
### Additional information
_No response_
opened 10:51AM - 20 Jan 24 UTC
closed 01:25AM - 24 Jan 24 UTC
bug
unsupported
### Describe the issue you are experiencing
Running a Raspberry PI 4 with Bul… lseye 11 using HA Supervisor and everything Dockerized with compose. Flawless running for a long time.
After upgrading with `sudo apt update` and `sudo apt upgrade` where ONLY the following docker packages were upgraded:
```
sudo less /var/log/apt/history.log
Upgrade on 2024.01.19:
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)
```
the HA supervisor was not longer working. A reboot showed that the `hassio_dns` container failed to start. Removing all HA related containers+images and redeploying them, a usual task for me, showed the same behaviour.
Digging more into the issue it turned out, that after downgrading the packages (reverting the upgrade) to the former state with:
```
sudo apt install \
> docker-compose-plugin=2.21.0-1~debian.11~bullseye \
> docker-ce-cli=5:24.0.7-1~debian.11~bullseye \
> docker-buildx-plugin=0.11.2-1~debian.11~bullseye \
> docker-ce=5:24.0.7-1~debian.11~bullseye \
> docker-ce-rootless-extras=5:24.0.7-1~debian.11~bullseye
```
things were working flawless again.
Makring them on-hold (replace hold --> unhold if the issue has been solved):
```
sudo apt-mark hold \
docker-compose-plugin \
docker-ce-cli \
docker-buildx-plugin \
docker-ce \
docker-ce-rootless-extras
```
Seen too late, related to issue: #4827
### What type of installation are you running?
Home Assistant Supervised: Version 2023.12.1
### Which operating system are you running on?
Raspberry PI 4 with Bullseye 11
### Steps to reproduce the issue
Updating the docker packages as provided by the OS to the failing versions, see above.
### Anything in the Supervisor logs that might be useful for us?
These are the logs I gathered related to the issue:
**Supervisor**
```
24-01-20 10:49:35 ERROR (SyncWorker_0) [supervisor.docker.network] Can't link container to hassio-net: 500 Server Error for http+docker://localhost/v1.44/networks/6fd0056995cf122d94aedff99317209ac3300b4e5d417f3a3d0c7a63f7f4f158/connect: Internal Server Error ("invalid endpoint settings:
no configured subnet or ip-range contain the IP address 172.30.32.5")
```
**DNS**
```
[FATAL] plugin/loop: Loop (127.0.0.1:49294 -> :53) detected for zone ".", see https://coredns.io/plugins/loop#troubleshooting. Query: "HINFO 8909671670323975647.385028216040430990."
24-01-20 10:52:27 INFO (MainThread) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2 - 172.30.32.3
24-01-20 10:52:37 ERROR (MainThread) [supervisor.plugins.dns] Detected a DNS loop in local Network!
```
AlexMPH
(Alex)
January 24, 2024, 11:20am
7
Docker ce 25.0.1 is released and solves the issue for multiple users, have a try!
1 Like
arboeh
(Arend Böhmer)
January 24, 2024, 11:33am
8
Oh, just noticed it. Works!