immich_postgres keeps restarting after moving to Debian 13 (Trixie)
Hii, I have reinstall the server OS from Ubuntu 24.04 LTS to Debian 13, and try to bring up all containers. But the immich postgres container and immich server is not starting
This is the logs:
immich_server:
Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'database'
}
Node.js v22.18.0
Initializing Immich v2.4.1
Detected CPU Cores: 16
Missing history for endpoint: Retrieve auth status
(node:7) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'database'
}
Node.js v22.18.0
Logs from postgres:
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
How can I fix it?
Immich version: 2.4.1
Even have tried by repull the image, still not works
This is the logs:
immich_server:
Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'database'
}
Node.js v22.18.0
Initializing Immich v2.4.1
Detected CPU Cores: 16
Missing history for endpoint: Retrieve auth status
(node:7) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use
node --trace-warnings ... to show where the warning was created)node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
Error: getaddrinfo ENOTFOUND database
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'database'
}
Node.js v22.18.0
Logs from postgres:
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
/usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Using SSD storage
How can I fix it?
Immich version: 2.4.1
Even have tried by repull the image, still not works