Deployed the container, deleted it, now I can't deploy again. #5385

Closed
opened 2026-02-05 11:24:59 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Hammerhand17 on GitHub (Feb 13, 2025).

The bug

Hello. I have deployed in my machine with docker an instance of immich and it worked fine; somehow, when I was uploading some photos, it stopped working and I haven't been able to restart it. So, as it was just started, I deleted the image and created it again but I always get the following error:

Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 6:59:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 6:59:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 6:59:52 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
[Nest] 7  - 02/13/2025, 6:59:52 PM     LOG [NestFactory] Starting Nest application...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (3)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (4)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (5)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (7)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (8)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [ExceptionHandler] Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'database'
}
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] OpenTelemetryModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] KyselyModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] KyselyCoreModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] OpenTelemetryCoreModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] ClsModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 7  - 02/13/2025, 7:00:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 7:00:52 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 7:00:52 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 7:01:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 7:01:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker

I don't mind losing the database or anything (just deployed) but can't make it work again.

Any help?

The OS that Immich Server is running on

Debian 12

Version of Immich Server

1.126.1

Version of Immich Mobile App

1.125.6

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Default docker-compose.yaml

Your .env content

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/disco1/immich
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=Europe/Madrid

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=My password

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

  1. Deploy
  2. Upload photos
  3. Delete the container and deploy again.
    ...

Relevant log output

Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 6:59:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 6:59:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 6:59:52 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
[Nest] 7  - 02/13/2025, 6:59:52 PM     LOG [NestFactory] Starting Nest application...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (3)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (4)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (5)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (7)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (8)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)...
Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
[Nest] 17  - 02/13/2025, 7:00:22 PM   ERROR [ExceptionHandler] Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'database'
}
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] OpenTelemetryModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] KyselyModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] KyselyCoreModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] OpenTelemetryCoreModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] ClsModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 17  - 02/13/2025, 7:00:22 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 7  - 02/13/2025, 7:00:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 7:00:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 7:00:52 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 7:00:52 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker
[Nest] 7  - 02/13/2025, 7:01:22 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 02/13/2025, 7:01:22 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
microservices worker exited with code 1
Killing api process
Initializing Immich v1.126.1
Detected CPU Cores: 12
Starting api worker
Starting microservices worker

Additional information

No response

Originally created by @Hammerhand17 on GitHub (Feb 13, 2025). ### The bug Hello. I have deployed in my machine with docker an instance of immich and it worked fine; somehow, when I was uploading some photos, it stopped working and I haven't been able to restart it. So, as it was just started, I deleted the image and created it again but I always get the following error: ``` Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 6:59:22 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 6:59:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 6:59:52 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... [Nest] 7 - 02/13/2025, 6:59:52 PM LOG [NestFactory] Starting Nest application... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (3)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (4)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (5)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (7)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (8)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [ExceptionHandler] Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'database' } [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [NestFactory] Starting Nest application... [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] OpenTelemetryModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] KyselyModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] KyselyCoreModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] OpenTelemetryCoreModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] ClsModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 7 - 02/13/2025, 7:00:22 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 7:00:52 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 7:00:52 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 7:01:22 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 7:01:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker ``` I don't mind losing the database or anything (just deployed) but can't make it work again. Any help? ### The OS that Immich Server is running on Debian 12 ### Version of Immich Server 1.126.1 ### Version of Immich Mobile App 1.125.6 ### Platform with the issue - [x] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Default docker-compose.yaml ``` ### Your .env content ```Shell # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=/mnt/disco1/immich # The location where your database files are stored DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List TZ=Europe/Madrid # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=My password # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. Deploy 2. Upload photos 3. Delete the container and deploy again. ... ### Relevant log output ```shell Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 6:59:22 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 6:59:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 6:59:52 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... [Nest] 7 - 02/13/2025, 6:59:52 PM LOG [NestFactory] Starting Nest application... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (3)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (4)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (5)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (7)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (8)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)... Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) [Nest] 17 - 02/13/2025, 7:00:22 PM ERROR [ExceptionHandler] Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'database' } [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [NestFactory] Starting Nest application... [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] OpenTelemetryModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] KyselyModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] KyselyCoreModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] OpenTelemetryCoreModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] ClsModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 17 - 02/13/2025, 7:00:22 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 7 - 02/13/2025, 7:00:22 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 7:00:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 7:00:52 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 7:00:52 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker [Nest] 7 - 02/13/2025, 7:01:22 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 02/13/2025, 7:01:22 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... microservices worker exited with code 1 Killing api process Initializing Immich v1.126.1 Detected CPU Cores: 12 Starting api worker Starting microservices worker ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5385