Homeassistant broken (starting, but not working) on pi4 docker version 20.10.8

Hi,
first of all: im a huge fan of linuxserver since years. Thank you.

My question: i set up homeassistant via docker compose. it creates it, starts, but then nothing happens. the container seems to be running, but no ports are exposed.

==> these are the logs:

homeassistant-container-log

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.,
[s6-init] ensuring user provided files have correct perms…exited 0.,
[fix-attrs.d] applying ownership & permissions fixes…,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts…,
[cont-init.d] 01-envfile: executing… ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing… ,
,
-------------------------------------,
_ (),
| | ___ _ _,
| | / | | | / \ ,
| | _
\ | | | () |,
|| |
/ || _/,
,
,
Brought to you by linuxserver.io,
-------------------------------------,
,
To support LSIO projects visit:,
Donate | LinuxServer.io,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid: 1000,
User gid: 1000,
-------------------------------------,
,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 50-config: executing… ,
[cont-init.d] 50-config: exited 0.,
[cont-init.d] 60-usb-gid: executing… ,
[cont-init.d] 60-usb-gid: exited 0.,
[cont-init.d] 90-custom-folders: executing… ,
[cont-init.d] 90-custom-folders: exited 0.,
[cont-init.d] 99-custom-files: executing… ,
[custom-init] no custom files found exiting…,
[cont-init.d] 99-custom-files: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.

Thanks in advance

Could you provide the compose you used please?

Sure:

version: ‘3.3’
services:
linuxserver:
container_name: homeassistant
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
ports:
- ‘8123:8123’
volumes:
- ‘/home/pi/docker/homeassistant:/config’
restart: unless-stopped
image: ghcr.io/linuxserver/homeassistant

Meanwhile, i did further research: trying to get the official homeassistant-pi4-image running. It fails too with same symptoms: “running, but doing nothing, and no error codes”.

my research showed, that there is an alert regarding docker v20 and homeassistant supervisor. but i dont know, if it has anything to do with it.

if network_mode host is used there is no need for ports. Carefully read documentation.
Same thing is for official image.

1 Like