Can't Start Home Assistant Supervisor

At some point in the past two weeks, my instance of HA ran into a problem, and I’ve been trying to diagnose it whenever I have a free moment, but I think I’m out of my depth.

First, I couldn’t access the frontend locally or remotely for long stretches. I’d get an error message saying the page could not be reached, and I’d be too busy to deal with it, so I’d leave it for a while. Then I’d sit down to figure out the issue, and it would be working again. The first couple times, I figured it was some random hiccup. The third time it happened, I dug into the log, found an offending plugin, and removed it.

Now it seems the Supervisor won’t start. When I try to open “Add-ons, Backups & Supervisor” from the frontend, I get an error/troubleshooting page that says “Could not load the Supervisor panel!” The Observer keeps throwing this at me:

22-05-05 09:15:53 WARNING (SyncWorker_6) [supervisor.docker.interface] Can't grep logs from ghcr.io/home-assistant/aarch64-hassio-dns: 409 Client Error for http+docker://localhost/v1.41/containers/f72e29cac21d03a0c023f9d0941552dc461aa3ad33ad2188a52af0d981286979/logs?stderr=1&stdout=1×tamps=0&follow=0&tail=100: Conflict ("can not get logs from container which is dead or marked for removal")
22-05-05 09:15:53 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-05-05 09:15:53 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_dns application
22-05-05 09:15:53 ERROR (SyncWorker_1) [supervisor.docker] Can't create container from hassio_dns: 409 Client Error for http+docker://localhost/v1.41/containers/create?name=hassio_dns: Conflict ("Conflict. The container name "/hassio_dns" is already in use by container "f72e29cac21d03a0c023f9d0941552dc461aa3ad33ad2188a52af0d981286979". You have to remove (or rename) that container to be able to reuse that name.")
22-05-05 09:15:53 ERROR (MainThread) [supervisor.plugins.dns] Can't start CoreDNS plugin
22-05-05 09:15:53 ERROR (MainThread) [supervisor.misc.tasks] CoreDNS watchdog reanimation failed!
type or paste code here

It looks like I need to reinstall CoreDNS, but I have no idea what that is or how to get to it. Can anyone help? Am I at least on the right trail?

Any suggestions at all would be really helpful. I’m trying to avoid a reinstall

Which version of HA are you running?
Please share more info about your environment/setup to increase the chance to find someone with good suggestions.

Try to do as the error says: rename that container.

or if you have access to the console, run

ha su repair

You need to remove the container with ID f72e29cac21d03a0c023f9d0941552dc461aa3ad33ad2188a52af0d981286979
Per the log

In console type the following
docker rm -f f72e29cac21d03a0c023f9d0941552dc461aa3ad33ad2188a52af0d981286979

Then restart the system.

Thanks for the replies. I ended up reinstalling though. Also, apologies for the lack of needed info. I’m a novice, but I know better than to post this kind of vague, panicky stuff :wink:.

Actually, as I was reflashing my micro-SD card with HA 8.0 for my RPi 4, I discovered the card itself had gotten corrupted. So I flashed a new card and finished the reinstall. Rebuilding everything now.

Hi,
I have the same issue after I upgraded HA to the latest version 2023.11.2. I had downgraded to 2023.11.0 but it doesn’t solve. Since it is Hassos is not clear to me how can I remove the docker image, since I do not have access to docker. I trried ha su repair but it doesnt solve. Long story short: how can I remove the docker image ? Maybe using ha cli? thanks!