ImmichI
Immich2w ago
thomas

Immich server connection timeout

Using the default .env and compose from https://docs.immich.app/overview/quick-start/

OS: Ubuntu 24.04.3 LTS x86_64
Docker version 29.1.2, build 890dcca

I'm getting ths error (full logs attached):
immich_server            | /usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:257
immich_server            |     errored(Errors.connection('CONNECT_TIMEOUT', options, socket))
immich_server            |                    ^
immich_server            | 
immich_server            | Error: write CONNECT_TIMEOUT database:5432
immich_server            |     at connectTimedOut (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:257:20)
immich_server            |     at Timeout.done [as _onTimeout] (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:1039:8)
immich_server            |     at listOnTimeout (node:internal/timers:590:11)
immich_server            |     at process.processTimers (node:internal/timers:523:7) {
immich_server            |   code: 'CONNECT_TIMEOUT',
immich_server            |   errno: 'CONNECT_TIMEOUT',
immich_server            |   address: 'database',
immich_server            |   port: 5432
immich_server            | }
immich_server            | 
immich_server            | Node.js v22.18.0
immich_server exited with code 1 (restarting)


This is my only docker application. If there is a system to completely reinstall on ubuntu, this wold help.
message.txt10.07KB
Was this page helpful?