Skip to content

Immich server bootloop after v1.135.1 updateΒ #5299

@vhsdream

Description

@vhsdream

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Immich

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

Here and here.

Confirmed on my own install.

Working on a fix.

πŸ”„ Steps to reproduce the issue.

Run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)" or update in the LXC.

❌ Paste the full error output (if available).

[Nest] 10093  - 06/19/2025, 3:04:13 PM    WARN [Microservices:DatabaseRepository] Migration "1750323941566-UnsetPrewarmDimParameter" failed
PostgresError: invalid configuration parameter name "vchordrq.prewarm_dim"
    at ErrorResponse (/opt/immich/app/node_modules/postgres/cjs/src/connection.js:790:26)
    at handle (/opt/immich/app/node_modules/postgres/cjs/src/connection.js:476:6)
    at Socket.data (/opt/immich/app/node_modules/postgres/cjs/src/connection.js:315: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) {
  severity_local: 'ERROR',
  severity: 'ERROR',
  code: '42602',
  detail: '"vchordrq" is a reserved prefix.',
  file: 'guc.c',
  line: '1225',
  routine: 'find_option'
}
microservices worker error: PostgresError: invalid configuration parameter name "vchordrq.prewarm_dim", stack: PostgresError: invalid configuration parameter name "vchordrq.prewarm_dim"
    at ErrorResponse (/opt/immich/app/node_modules/postgres/cjs/src/connection.js:790:26)
    at handle (/opt/immich/app/node_modules/postgres/cjs/src/connection.js:476:6)
    at Socket.data (/opt/immich/app/node_modules/postgres/cjs/src/connection.js:315: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

πŸ–ΌοΈ Additional context (optional).

I don't think the devs have a handle on this one yet.

My solution worked, but then they introduced a new migration without testing it! And I was pretty sure it was going to break because when I worked the problem, the only solution I found was to backup the DB, strip out any mention of vchord.prewarm_dim and then restore.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingexternalThis problem is external

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions