Home Assistant Add-On Immich

Hi,
I have been trying on and off for a few months to run this add-on.
Unfortunately every version released so far, results in the same issue for me.
The log says the database cannot be reached, rretrying.

There is nothing in the instructions to change the database host name, port or anyhting else so I have tried the defaults and also changing the hostname to the local ip address. Both have the same issue.
Any ideas or tips?

DB Hostname tryed:
127.0.0.1
192.168.0.4
homeassistant.local

All fail
[Nest] 1140 - 08/18/2024, 12:51:09 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)…
Error: connect ECONNREFUSED 127.0.0.1:5432

Paul

Do you mean this: GitHub - outadoc/immich-home-assistant: Home Assistant component to display random pictures from your Immich library.

hassio-addons/immich at master · alexbelgium/hassio-addons (github.com)

1 Like

did you read this line in the docs linked above?

Beware that you need to install a separate postgres addon to be able to connect the database. You can install the postgres addon already in my repository. Beware to change the password BEFORE starting it ; it won’t change afterwards

Also it may need the port number 2283. I have immich installed in on a separate server and it runs on that port.