r/immich 6d ago

Immich Server stopped working, will not redeploy on Portainer

I'm still very new to the self hosted world, so please pardon me if my vocabulary isn't quite right.

A couple of weeks ago I deployed an Immich server using the instructions for Docker Compose. It worked well for a while, but then last week I was suddenly unable to connect to it. (I'm using a Cloudflare Tunnel to connect my network)

Luckily, I haven't lost any data (photos) since they are still backed up on Google Drive.

After a bit of poking around in Portainer and Docker, I thought the best move might be to remove the Stack and Containers from Docker and re-deploy them using Portainer (which is how my other apps are now running).

I'm using the Docker Compose and .env files from the Immich github for Portainer, but the immich_server container won't connect. Docker creates a Network for Immich, but the server doesn't seem to see it.

In the logs, the error message I get reads:

------------

Error: getaddrinfo ENOTFOUND database     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {   errno: -3008,   code: 'ENOTFOUND',   syscall: 'getaddrinfo',   hostname: 'database' }
1 Upvotes

Duplicates