[GH-ISSUE #5299] Immich server bootloop after v1.135.1 update #1121

Closed
opened 2026-02-26 12:47:47 +03:00 by kerem · 15 comments
Owner

Originally created by @vhsdream on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/5299

Originally assigned to: @vhsdream on GitHub.

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.

Originally created by @vhsdream on GitHub (Jun 19, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/5299 Originally assigned to: @vhsdream on GitHub. ### ✅ 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? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. [Here](https://github.com/immich-app/immich/issues/19313) and [here](https://github.com/immich-app/immich/issues/19254#issuecomment-2988911359). 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.
kerem 2026-02-26 12:47:47 +03:00
Author
Owner

@MickLesk commented on GitHub (Jun 19, 2025):

Reported to immich? Looks Like an issue of the new Version in core. That can be relevant for docker too

<!-- gh-comment-id:2988964309 --> @MickLesk commented on GitHub (Jun 19, 2025): Reported to immich? Looks Like an issue of the new Version in core. That can be relevant for docker too
Author
Owner

@nesalkiN commented on GitHub (Jun 19, 2025):

Reported to immich? Looks Like an issue of the new Version in core. That can be relevant for docker too

They know and yes, docker too..

<!-- gh-comment-id:2988971392 --> @nesalkiN commented on GitHub (Jun 19, 2025): > Reported to immich? Looks Like an issue of the new Version in core. That can be relevant for docker too They know and yes, docker too..
Author
Owner

@vhsdream commented on GitHub (Jun 19, 2025):

I have a working fix. But I'm hesitant to push it because I bet the dev team's fix is going to break my fix.

I think soon they'll realize this is more of a problem than it appears, if they want to get rid of the "harmless" error messages. It requires a DB dump and restore. If they are OK with leaving the messages to spam the logs, then it's a simple matter of removing this migration.

<!-- gh-comment-id:2989022525 --> @vhsdream commented on GitHub (Jun 19, 2025): I have a working fix. But I'm hesitant to push it because I bet the dev team's fix is going to break my fix. I think soon they'll realize this is more of a problem than it appears, __if__ they want to get rid of the "harmless" error messages. It requires a DB dump and restore. If they are OK with leaving the messages to spam the logs, then it's a simple matter of removing [this migration](https://github.com/immich-app/immich/blob/main/server/src/schema/migrations/1750323941566-UnsetPrewarmDimParameter.ts).
Author
Owner

@vhsdream commented on GitHub (Jun 19, 2025):

@MickLesk I'm currently testing whether a fresh install of 1.135.1 breaks, will let you know if we might need to pull the script.

<!-- gh-comment-id:2989071558 --> @vhsdream commented on GitHub (Jun 19, 2025): @MickLesk I'm currently testing whether a fresh install of 1.135.1 breaks, will let you know if we might need to pull the script.
Author
Owner

@vhsdream commented on GitHub (Jun 19, 2025):

@MickLesk Unfortunately what they did breaks a brand new install of v1.135.1 😦

What do you think we should do? Pull the script or put out a fix?

<!-- gh-comment-id:2989087409 --> @vhsdream commented on GitHub (Jun 19, 2025): @MickLesk Unfortunately what they did breaks a brand new install of v1.135.1 😦 What do you think we should do? Pull the script or put out a fix?
Author
Owner

@MickLesk commented on GitHub (Jun 19, 2025):

New Script break too? Then we should backup the ct\sh to dont destroy all lxc

<!-- gh-comment-id:2989117428 --> @MickLesk commented on GitHub (Jun 19, 2025): New Script break too? Then we should backup the ct\sh to dont destroy all lxc
Author
Owner

@MickLesk commented on GitHub (Jun 19, 2025):

Or fix the Installer to 1.135? Its just an one liner

Example:
fetch_and_deploy_gh_release "immich" "immich/immich" "tarball" "v.1.135.0" "/opt/immich"

<!-- gh-comment-id:2989126427 --> @MickLesk commented on GitHub (Jun 19, 2025): Or fix the Installer to 1.135? Its just an one liner Example: fetch_and_deploy_gh_release "immich" "immich/immich" "tarball" "v.1.135.0" "/opt/immich"
Author
Owner

@MickLesk commented on GitHub (Jun 20, 2025):

its now fixed?

<!-- gh-comment-id:2991143523 --> @MickLesk commented on GitHub (Jun 20, 2025): its now fixed?
Author
Owner

@vhsdream commented on GitHub (Jun 20, 2025):

@MickLesk In a sense, yes. If people choose to update then the script removes the migration. New installs are currently pinned to 1.135.0.

<!-- gh-comment-id:2991213080 --> @vhsdream commented on GitHub (Jun 20, 2025): @MickLesk In a sense, yes. If people choose to update then the script removes the migration. New installs are currently pinned to 1.135.0.
Author
Owner

@MadEyez commented on GitHub (Jun 20, 2025):

Is there a possibility to repair an already updated 1.135.1?
Didn't understand exactly what broke...

<!-- gh-comment-id:2991258093 --> @MadEyez commented on GitHub (Jun 20, 2025): Is there a possibility to repair an already updated 1.135.1? Didn't understand exactly what broke...
Author
Owner

@gursimarsethi commented on GitHub (Jun 20, 2025):

I believe if you update the script, i.e. install it again, it should fix itself

<!-- gh-comment-id:2991285675 --> @gursimarsethi commented on GitHub (Jun 20, 2025): I believe if you update the script, i.e. install it again, it should fix itself
Author
Owner

@MickLesk commented on GitHub (Jun 20, 2025):

Is there a possibility to repair an already updated 1.135.1?
Didn't understand exactly what broke...

Edit ~/.immich and Update the Version to .0 and Run Update again

<!-- gh-comment-id:2991293238 --> @MickLesk commented on GitHub (Jun 20, 2025): > Is there a possibility to repair an already updated 1.135.1? > Didn't understand exactly what broke... Edit ~/.immich and Update the Version to .0 and Run Update again
Author
Owner

@MadEyez commented on GitHub (Jun 20, 2025):

Didn't have time to try it. Update to 1.135.2 and/or script tweaks seem to have solved the issue.

<!-- gh-comment-id:2992554182 --> @MadEyez commented on GitHub (Jun 20, 2025): Didn't have time to try it. Update to 1.135.2 and/or script tweaks seem to have solved the issue.
Author
Owner

@pafade89 commented on GitHub (Jun 21, 2025):

Didn't have time to try it. Update to 1.135.2 and/or script tweaks seem to have solved the issue.

Jop, same here.

<!-- gh-comment-id:2993347631 --> @pafade89 commented on GitHub (Jun 21, 2025): > Didn't have time to try it. Update to 1.135.2 and/or script tweaks seem to have solved the issue. Jop, same here.
Author
Owner

@Basti-Fantasti commented on GitHub (Jun 22, 2025):

I can also confirm, that the script runs without issues on the now released v1.135.3

<!-- gh-comment-id:2994394208 --> @Basti-Fantasti commented on GitHub (Jun 22, 2025): I can also confirm, that the script runs without issues on the now released v1.135.3
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#1121
No description provided.