Homeassistant fail to install on docker QNAP

Dear all,
trying to install on docker on a TS-780 pro running QTS 4.3.6 and Containerstation 2.0.957

tried to install the latest Image Vers. of Home Assistant - but installation failes with the error message “x509: certificate has expired or is not yet valid”

BUT: docker certificate is brandnew as of 2024/05/15

Idea why its not working?

Code

Fehler    2024/05/16 22:11:47    Container    admin    Failed to do background task (create, home-assistant-3)
Fehler    2024/05/16 22:11:47    Container    admin    Background task error for create home-assistant-3: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/1b/1b17f5f1ee49965b74e8d86a580d7f40bf180a7dad8d49fd11d1a8d60bc8e3ac/data?verify=1715893306-FTGHr2IB7tE95vJ8raRtZ7E3nJ4%3D: x509: certificate has expired or is not yet valid
Info    2024/05/16 22:11:43    Container    admin    Start to do background task (create, home-assistant-3)

You should install HA as an App in Container Station using a Docker Compose YAML script. Here’s and example:

version: '3'
services:
  homeass:
    image: ghcr.io/home-assistant/home-assistant:2024.5.3
    restart: "no"
    network_mode: host

    environment:
      LANG: nb_NO.UTF-8
      TZ: Europe/Oslo

    volumes:
      - /share/Public/HomeAss-Config:/config
      - /share/Plex_Music:/media:ro

In the above example, change language and time zone to your own region. Then change the config path to whatever you want. The media path is optional.

1 Like

Great Viking! Installation worked thanks your YAML File. But now I miss an URL to adress the installation. I tried network_mode: bridge and host. Both wont deliver an adress.

To run Home Assistant after installation, just use the IP of the server where it runs, followed by port number 8123
Example: http://192.1681.156:8123

Thanks Viking for the Portnumber - works superfine
Next and last encounter is to include the Zwave.me ZME USB Dongle, that is plugged in my QNAP into Homeassistant.

And to add: I also need to run a Mosquitto Server. The ready Image wont also install ending with an error.

Which Mosquitto image are you trying to install?