COnnection refused after installing supervised in DOcker container

Hi all
I tried to install HA into a docker container on my UBUNUTU. Following: Installing Home Assistant Supervised on Ubuntu 18.04.4 - Community Guides - Home Assistant Community (home-assistant.io)

However, I get a connection refused.
When I ask for the docker list, I get:


ef9c1632f501   ghcr.io/home-assistant/amd64-hassio-cli:2021.05.1     "/init /bin/bash -c …"   13 minutes ago   Up 13 minutes             hassio_cli
9bff9da2dd1b   ghcr.io/home-assistant/amd64-hassio-audio:2021.04.0   "/init"                  13 minutes ago   Up 13 minutes             hassio_audio
ce3473d92d56   ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0     "/init"                  14 minutes ago   Up 13 minutes             hassio_dns
d5b31c3de861   homeassistant/amd64-hassio-supervisor                 "/init"                  14 minutes ago   Up 14 minutes

So, the script…worked? But something isn;t :P.

Any tips
Victor

It didn’t quite work because the Home Assistant container itself was not created/started.

hmm, how is that possible, how would I fix that? :).
That would explain it though, yes :P.

Thanks for the reply!

How would I know?
Do a docker ps -a to check whether the container was created at all and, if so, a docker logs homeassistant to check the logs.

Here is the list of container from a working RPi3 installation:

CONTAINER ID   IMAGE                                                        COMMAND                  CREATED        STATUS        PORTS                    NAMES
4f5f94eea9db   homeassistant/armv7-hassio-multicast:2021.04.0               "/init"                  40 hours ago   Up 40 hours                            hassio_multicast
0194e6f1cb88   homeassistant/armv7-hassio-cli:2021.05.1                     "/init /bin/bash -c …"   40 hours ago   Up 40 hours                            hassio_cli
d63d8a6f1519   homeassistant/armv7-hassio-audio:2021.04.0                   "/init"                  40 hours ago   Up 40 hours                            hassio_audio
715a09716588   ghcr.io/home-assistant/armv7-hassio-dns:2021.06.0            "/init"                  40 hours ago   Up 40 hours                            hassio_dns
3d6dced4960b   ghcr.io/home-assistant/raspberrypi3-homeassistant:2021.7.1   "/init"                  4 days ago     Up 21 hours                            homeassistant
8fce152354c3   homeassistant/armv7-hassio-supervisor                        "/init"                  9 days ago     Up 40 hours                            hassio_supervisor
834dacfc43a5   ghcr.io/home-assistant/armv7-hassio-observer:2021.06.0       "/init"                  3 weeks ago    Up 40 hours   0.0.0.0:4357->80/tcp     hassio_observer

I’m, sorry.

CONTAINER ID   IMAGE                                                 COMMAND                  CREATED          STATUS          PORTS     NAMES
ef9c1632f501   ghcr.io/home-assistant/amd64-hassio-cli:2021.05.1     "/init /bin/bash -c …"   22 minutes ago   Up 22 minutes             hassio_cli
9bff9da2dd1b   ghcr.io/home-assistant/amd64-hassio-audio:2021.04.0   "/init"                  22 minutes ago   Up 22 minutes             hassio_audio
ce3473d92d56   ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0     "/init"                  22 minutes ago   Up 22 minutes             hassio_dns
d5b31c3de861   homeassistant/amd64-hassio-supervisor                 "/init"                  22 minutes ago   Up 22 minutes             hassio_supervisor
root@vicsserver:~# docker ps -a
CONTAINER ID   IMAGE                                                 COMMAND                  CREATED          STATUS                      PORTS     NAMES
ef9c1632f501   ghcr.io/home-assistant/amd64-hassio-cli:2021.05.1     "/init /bin/bash -c …"   30 minutes ago   Up 30 minutes                         hassio_cli
9bff9da2dd1b   ghcr.io/home-assistant/amd64-hassio-audio:2021.04.0   "/init"                  30 minutes ago   Up 30 minutes                         hassio_audio
ce3473d92d56   ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0     "/init"                  31 minutes ago   Up 31 minutes                         hassio_dns
d5b31c3de861   homeassistant/amd64-hassio-supervisor                 "/init"                  31 minutes ago   Up 31 minutes                         hassio_supervisor
ae3612dce494   hello-world                                           "/hello"                 33 minutes ago   Exited (0) 33 minutes ago             trusting_babbage

Is what the ps-a gives, the log says there isn’t a container with the name “homeassistant”.

So something is wrong I guess? :confused:

Maybe a docker logs hassio_supervisor will give some hints

I get a nice error:

21-07-16 13:49:06 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-observer with tag 2020.10.1.
21-07-16 13:49:07 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-observer:2020.10.1: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2020.10.1&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-observer: Internal Server Error ("name unknown")
21-07-16 13:49:07 WARNING (MainThread) [supervisor.plugins.observer] Error on install observer plugin. Retry in 30sec

:S…

Maybe related to:

This guide is now deprecated and will no longer be updated or maintained

Did you read the first part of the guide at all? It’s hard to miss, it’s in bold with warning icons.

1 Like

Ubuntu isn’t supported

You should read the ADR and only use the official installation method for Supervised.

Unless you object, I’ll hide that thread

1 Like

Please do.

Done, thanks :+1:

1 Like

I guess…thanks… AKA, just don’t do what I want to do?..

AKA do what you want (and I’m personally very sure it can be done), but it’s unsupported, so you’d better know what you do because you’re on your own…

1 Like