I tried to upgrade my immich docker images (1.127 to 1.131.3) and now immich_server continuously restarts with the message
microservices worker error: TypeError: Cannot read properties of undefined (reading 'replace'), stack: TypeError: Cannot read properties of undefined (reading 'replace')
at queryError (/usr/src/app/node_modules/postgres/cjs/src/connection.js:389:48)
at errored (/usr/src/app/node_modules/postgres/cjs/src/connection.js:384:17)
at Socket.data (/usr/src/app/node_modules/postgres/cjs/src/connection.js:318:9)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
microservices worker exited with code 1
Killing api process```
.env
UPLOAD_LOCATION=/mnt/md0/immich-app/library
DB_DATA_LOCATION=/mnt/md0/immich-app/postgres
IMMICH_VERSION=release
DB_PASSWORD=[secret]
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
And I am using the standard compose file from https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml, with #start_interval: 30s commented out
Docker version 28.0.4, build b8034c0, there is plenty of room on /mnt/md0
/dev/md0 55T 13T 40T 24% /mnt/md0
The docker logs for postgres only have
PostgreSQL Database directory appears to contain a database; Skipping initialization
```LOG: redirecting log output to logging collector process
HINT: Future log output will appear in directory "log".
.