Initializing Immich v2.2.3
Detected CPU Cores: 16
Starting api worker
Starting microservices worker
[Nest] 7 - 11/15/2025, 2:58:50 PM LOG [Microservices:WebsocketRepository] Initialized websocket server
[Nest] 35 - 11/15/2025, 2:58:50 PM LOG [Api:WebsocketRepository] Initialized websocket server
Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'database'
}
microservices worker error: Error: getaddrinfo ENOTFOUND database, stack: Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26)
microservices worker exited with code 1
Killing api processInitializing Immich v2.2.3
Detected CPU Cores: 16
Starting api worker
Starting microservices worker
[Nest] 7 - 11/15/2025, 2:58:50 PM LOG [Microservices:WebsocketRepository] Initialized websocket server
[Nest] 35 - 11/15/2025, 2:58:50 PM LOG [Api:WebsocketRepository] Initialized websocket server
Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'database'
}
microservices worker error: Error: getaddrinfo ENOTFOUND database, stack: Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26)
microservices worker exited with code 1
Killing api processfixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 20
selecting default shared_buffers ... 400kB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
2025-11-15 09:29:15.368 UTC [88] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
2025-11-15 09:29:15.368 UTC [88] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
running bootstrap script ...
Using SSD storage
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are enabled.fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 20
selecting default shared_buffers ... 400kB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
2025-11-15 09:29:15.368 UTC [88] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
2025-11-15 09:29:15.368 UTC [88] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
running bootstrap script ...
Using SSD storage
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are enabled.