Home Assistant Supervised on Ubuntu not working

I had a major hardware failure yesterday and I’m trying to rebuild, but for some reason I’m unable to get the supervised version of Home Assistant running on Ubuntu. I’ve done this many times before without issue, but for some reason this time I’m having a terrible time getting it to work. I’m following the steps outlined here to the letter > Install Home Assistant (Supervised) on Debian - Matheson Steplock

The problem seems to be when the supervisor starts up and attempts to grab the other containers.

Here are the errors I’m seeing in the supervisor log. ANY help would be GREATLY appreciated.

21-11-10 16:34:52 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec 21-11-10 16:35:22 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-dns with tag 2021.06.0. 21-11-10 16:35:23 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0: 500 Server Error for **http+docker://localhost/v1.41/images/ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0/json** : Internal Server Error ("layer does not exist") 21-11-10 

16:35:23 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec 21-11-10 16:35:53 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-dns with tag 2021.06.0. 21-11-10 16:35:56 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0: 500 Server Error for **http+docker://localhost/v1.41/images/ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0/json** : Internal Server Error ("layer does not exist")`

If you are rebuilding the system, do yourself a favor and install Debian because it’s the only Linux distro that’s officially supported by Home Assistant’s development team. Even the linked article you posted is for installing Debian, not Ubuntu.

2 Likes

The thermonuclear option resolved the issue. E.G. sudo rm -rf /var/lib/docker

That is a temporary solution. Because it doesn’t address the underlying cause.
I really advise you to do what Taras already advised. Use Debian. Next time you get another error further down the road and you won’t find a solution or workaround. Then you are in real trouble. It’s not a healthy system this way.