Wutru
Wutru
IImmich
Created by Wutru on 3/5/2023 in #help-desk-support
Unable to connect to the database
Hi, I am quite new to Docker and I have trouble setting it up. When I run docker compose up -d the web interface doesn't start. When I run docker logs immich_server I see the following error: [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [NestFactory] Starting Nest application... [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +69ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] DownloadModule dependencies initialized +1ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] ConfigModule dependencies initialized +7ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 03/05/2023, 7:03:56 PM LOG [InstanceLoader] BullModule dependencies initialized +1ms [Nest] 1 - 03/05/2023, 7:04:06 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... Error: Connection terminated due to connection timeout at Connection.<anonymous> (/usr/src/app/node_modules/pg/lib/client.js:132:73) at Object.onceWrapper (node:events:641:28) at Connection.emit (node:events:527:28) at Socket.<anonymous> (/usr/src/app/node_modules/pg/lib/connection.js:57:12) at Socket.emit (node:events:527:28) at TCP.<anonymous> (node:net:709:12)
36 replies