Skip to main content immich on portainer asustor : r/immich

immich on portainer asustor

Problem Solved: I had bad path to photos and pgdata.

Hello is there anyone who can help me with immich instalation? I made stack like in immich page is suggested. But then immich_server stauts is showing "starting". And never change status to running. Log:

r/immich - immich on portainer asustor
Error: getaddrinfo ENOTFOUND database     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 18  - 11/05/2024, 11:56:16 AM   ERROR [ExceptionHandler] getaddrinfo ENOTFOUND database Error: getaddrinfo ENOTFOUND database     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) Initializing Immich v1.119.1 Detected CPU Cores: 4 Starting api worker Starting microservices worker [Nest] 8  - 11/05/2024, 11:56:48 AM     LOG [NestFactory] Starting Nest application... [Nest] 8  - 11/05/2024, 11:56:48 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Initializing Immich v1.119.1 Detected CPU Cores: 4 Starting api worker Starting microservices worker [Nest] 6  - 11/05/2024, 11:57:20 AM     LOG [NestFactory] Starting Nest application... [Nest] 6  - 11/05/2024, 11:57:20 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Initializing Immich v1.119.1 Detected CPU Cores: 4 Starting api worker Starting microservices workerError: getaddrinfo ENOTFOUND database    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)[Nest] 18  - 11/05/2024, 11:56:16 AM   ERROR [ExceptionHandler] getaddrinfo ENOTFOUND databaseError: getaddrinfo ENOTFOUND database    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)Initializing Immich v1.119.1Detected CPU Cores: 4Starting api workerStarting microservices worker[Nest] 8  - 11/05/2024, 11:56:48 AM     LOG [NestFactory] Starting Nest application...[Nest] 8  - 11/05/2024, 11:56:48 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...microservices worker exited with code 1Initializing Immich v1.119.1Detected CPU Cores: 4Starting api workerStarting microservices worker[Nest] 6  - 11/05/2024, 11:57:20 AM     LOG [NestFactory] Starting Nest application...[Nest] 6  - 11/05/2024, 11:57:20 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...microservices worker exited with code 1Initializing Immich v1.119.1Detected CPU Cores: 4Starting api workerStarting microservices worker

[Nest] 18  - 11/05/2024, 11:56:16 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)... Error: getaddrinfo ENOTFOUND database     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 18  - 11/05/2024, 11:56:16 AM   ERROR [ExceptionHandler] getaddrinfo ENOTFOUND database Error: getaddrinfo ENOTFOUND database     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) Initializing Immich v1.119.1 Detected CPU Cores: 4 Starting api worker Starting microservices worker[Nest] 18  - 11/05/2024, 11:56:16 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)...Error: getaddrinfo ENOTFOUND database    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)[Nest] 18  - 11/05/2024, 11:56:16 AM   ERROR [ExceptionHandler] getaddrinfo ENOTFOUND databaseError: getaddrinfo ENOTFOUND database    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)Initializing Immich v1.119.1Detected CPU Cores: 4Starting api workerStarting microservices worker
Get up to 50% OFF on All VPS Plans! The longer you rent, the bigger your discount! 🟠 Economy VPS — €1.43🟠 Ryzen VPS — €3.45🟠 VDS / Dedicated CPU — €7.50 🟠 All servers are available with pre-installed software
Thumbnail image: Get up to 50% OFF on All VPS Plans! The longer you rent, the bigger your discount! 🟠 Economy VPS — €1.43🟠 Ryzen VPS — €3.45🟠 VDS / Dedicated CPU — €7.50 🟠 All servers are available with pre-installed software
Sort by:
Best
Open comment sort options

The issue is that the server container can't find the database. Check the environment variables and container names.

It would be helpful if you could post the docker-compose.yml.

More replies