Immich install bricked #1335

Closed
opened 2026-02-05 00:23:27 +03:00 by OVERLORD · 21 comments
Owner

Originally created by @matte-oss on GitHub (Jul 24, 2025).

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?

No response

📝 Provide a clear and concise description of the issue.

I updated the Immich LXC to v1.136.0 and it bricked itself

🔄 Steps to reproduce the issue.

Step 1) Type update in the lxc console to update Immich to v1.136.0
Step 2) I get the below error
Step 3) I type update again and the script tells me i'm already on the latest version, but I cant acess the Immich web ui

Paste the full error output (if available).

[ERROR] in line 123: exit code 0: while executing command cp -a server/{node_modules,dist,bin,resources,package.json,package-lock.json,start*.sh} "$APP_DIR"/

🖼️ Additional context (optional).

No response

Originally created by @matte-oss on GitHub (Jul 24, 2025). 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 - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. I updated the Immich LXC to v1.136.0 and it bricked itself ### 🔄 Steps to reproduce the issue. Step 1) Type update in the lxc console to update Immich to v1.136.0 Step 2) I get the below error Step 3) I type update again and the script tells me i'm already on the latest version, but I cant acess the Immich web ui ### ❌ Paste the full error output (if available). [ERROR] in line 123: exit code 0: while executing command cp -a server/{node_modules,dist,bin,resources,package.json,package-lock.json,start*.sh} "$APP_DIR"/ ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 00:23:27 +03:00
Author
Owner

@MickLesk commented on GitHub (Jul 24, 2025):

@vhsdream next Breaking Changes ^^

Maybe we should set Versions fix?

@MickLesk commented on GitHub (Jul 24, 2025): @vhsdream next Breaking Changes ^^ Maybe we should set Versions fix?
Author
Owner

@matte-oss commented on GitHub (Jul 24, 2025):

Immich logs:

`root@immich:~# systemctl status immich-web.service
× immich-web.service - immich Web Service
Loaded: loaded (/etc/systemd/system/immich-web.service; enabled; preset: enabled)
Active: failed (Result: start-limit-hit) since Thu 2025-07-24 20:23:22 CEST; 32s ago
Duration: 236ms
Process: 1698 ExecStart=/usr/bin/node /opt/immich/app/dist/main (code=killed, signal=TERM)
Main PID: 1698 (code=killed, signal=TERM)
CPU: 275ms

Jul 24 20:23:22 immich systemd[1]: Started immich-web.service - immich Web Service.
Jul 24 20:23:22 immich systemd[1]: Stopping immich-web.service - immich Web Service...
Jul 24 20:23:22 immich systemd[1]: immich-web.service: Deactivated successfully.
Jul 24 20:23:22 immich systemd[1]: Stopped immich-web.service - immich Web Service.
Jul 24 20:23:22 immich systemd[1]: immich-web.service: Start request repeated too quickly.
Jul 24 20:23:22 immich systemd[1]: immich-web.service: Failed with result 'start-limit-hit'.
Jul 24 20:23:22 immich systemd[1]: Failed to start immich-web.service - immich Web Service.
Jul 24 20:23:23 immich systemd[1]: Dependency failed for immich-web.service - immich Web Service.
Jul 24 20:23:23 immich systemd[1]: immich-web.service: Job immich-web.service/start failed with result 'dependency'.
root@immich:~# `

@matte-oss commented on GitHub (Jul 24, 2025): Immich logs: `root@immich:~# systemctl status immich-web.service × immich-web.service - immich Web Service Loaded: loaded (/etc/systemd/system/immich-web.service; enabled; preset: enabled) Active: failed (Result: start-limit-hit) since Thu 2025-07-24 20:23:22 CEST; 32s ago Duration: 236ms Process: 1698 ExecStart=/usr/bin/node /opt/immich/app/dist/main (code=killed, signal=TERM) Main PID: 1698 (code=killed, signal=TERM) CPU: 275ms Jul 24 20:23:22 immich systemd[1]: Started immich-web.service - immich Web Service. Jul 24 20:23:22 immich systemd[1]: Stopping immich-web.service - immich Web Service... Jul 24 20:23:22 immich systemd[1]: immich-web.service: Deactivated successfully. Jul 24 20:23:22 immich systemd[1]: Stopped immich-web.service - immich Web Service. Jul 24 20:23:22 immich systemd[1]: immich-web.service: Start request repeated too quickly. Jul 24 20:23:22 immich systemd[1]: immich-web.service: Failed with result 'start-limit-hit'. Jul 24 20:23:22 immich systemd[1]: Failed to start immich-web.service - immich Web Service. Jul 24 20:23:23 immich systemd[1]: Dependency failed for immich-web.service - immich Web Service. Jul 24 20:23:23 immich systemd[1]: immich-web.service: Job immich-web.service/start failed with result 'dependency'. root@immich:~# `
Author
Owner

@ibrcic commented on GitHub (Jul 24, 2025):

I just experienced exactly the same issue, now my immich is down and I'm not sure how to get it back.

@ibrcic commented on GitHub (Jul 24, 2025): I just experienced exactly the same issue, now my immich is down and I'm not sure how to get it back.
Author
Owner

@vhsdream commented on GitHub (Jul 24, 2025):

@matte-oss So the new version came out, what, an hour ago, and on the Immich repo it's like this:

Image

And you tried to update? Just.... I don't have the words.

Y'all have backups, right?

@vhsdream commented on GitHub (Jul 24, 2025): @matte-oss So the new version came out, what, an hour ago, and on the Immich repo it's like this: <img width="398" height="163" alt="Image" src="https://github.com/user-attachments/assets/20aee1db-28de-4c5f-af3e-cc97eedd895c" /> And you tried to update? Just.... I don't have the words. Y'all have backups, right?
Author
Owner

@matte-oss commented on GitHub (Jul 24, 2025):

@matte-oss So the new version came out, what, an hour ago, and on the Immich repo it's like this:

Image And you tried to update? Just.... I don't have the words.

Y'all have backups, right?

Of course I read that.
I was not affected by that change, because i use an absolute path. I still have the tab open.

And of course i did a backup before updating.

Image
@matte-oss commented on GitHub (Jul 24, 2025): > [@matte-oss](https://github.com/matte-oss) So the new version came out, what, an hour ago, and on the Immich repo it's like this: > > <img alt="Image" width="398" height="163" src="https://private-user-images.githubusercontent.com/67816022/470472465-20aee1db-28de-4c5f-af3e-cc97eedd895c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTMzODE5MDksIm5iZiI6MTc1MzM4MTYwOSwicGF0aCI6Ii82NzgxNjAyMi80NzA0NzI0NjUtMjBhZWUxZGItMjhkZS00YzVmLWFmM2UtY2M5N2VlZGQ4OTVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNzI0VDE4MjY0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzNjFjYjE2MGRmZmViNmIyNmQwOThjNmE4OGEwMDEzYTI5YzIwZWYzYWY2MzIwMTVjYzliYzhlYjE4Y2UzYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oaMTvTOFMK0lX3N4zwKsqMfWyh_4P0E25sfa1Vkx-3I"> > And you tried to update? Just.... I don't have the words. > > Y'all have backups, right? Of course I read that. I was not affected by that change, because i use an absolute path. I still have the tab open. And of course i did a backup before updating. <img width="342" height="24" alt="Image" src="https://github.com/user-attachments/assets/6236bf11-a9c1-4072-b195-014c339a0c27" />
Author
Owner

@vhsdream commented on GitHub (Jul 24, 2025):

@vhsdream next Breaking Changes ^^

Maybe we should set Versions fix?

Yeah that seems like a good idea moving forward. I'll push that as soon as I can and then get to work debugging the latest changes.

I've been slammed at work today, so I had no idea a release came until this moment!

@vhsdream commented on GitHub (Jul 24, 2025): > [@vhsdream](https://github.com/vhsdream) next Breaking Changes ^^ > > Maybe we should set Versions fix? Yeah that seems like a good idea moving forward. I'll push that as soon as I can and then get to work debugging the latest changes. I've been slammed at work today, so I had no idea a release came until this moment!
Author
Owner

@MickLesk commented on GitHub (Jul 24, 2025):

@matte-oss So the new version came out, what, an hour ago, and on the Immich repo it's like this:

Image

And you tried to update? Just.... I don't have the words.

Y'all have backups, right?

Unfortunately, this is exactly the danger with the script... maybe we should deactivate the update function and always pin the version. Also discord already got the errors directly in, where some have broken their installation

@MickLesk commented on GitHub (Jul 24, 2025): > @matte-oss So the new version came out, what, an hour ago, and on the Immich repo it's like this: > > <img width="398" height="163" alt="Image" src="https://github.com/user-attachments/assets/20aee1db-28de-4c5f-af3e-cc97eedd895c" /> > > And you tried to update? Just.... I don't have the words. > > Y'all have backups, right? Unfortunately, this is exactly the danger with the script... maybe we should deactivate the update function and always pin the version. Also discord already got the errors directly in, where some have broken their installation
Author
Owner

@MickLesk commented on GitHub (Jul 24, 2025):

I do an quick merge to Pin the Version

@MickLesk commented on GitHub (Jul 24, 2025): I do an quick merge to Pin the Version
Author
Owner

@MickLesk commented on GitHub (Jul 24, 2025):

https://github.com/community-scripts/ProxmoxVE/pull/6212

@MickLesk commented on GitHub (Jul 24, 2025): https://github.com/community-scripts/ProxmoxVE/pull/6212
Author
Owner

@ibrcic commented on GitHub (Jul 24, 2025):

I presume update will now not downgrade me to older version? I just tried it and got an error:

Image
@ibrcic commented on GitHub (Jul 24, 2025): I presume update will now not downgrade me to older version? I just tried it and got an error: <img width="1300" height="239" alt="Image" src="https://github.com/user-attachments/assets/9ca21455-19f3-42db-8737-b10ae2a7b966" />
Author
Owner

@MickLesk commented on GitHub (Jul 24, 2025):

You broken your Install with update, so Reuse your Backup and dont update

@MickLesk commented on GitHub (Jul 24, 2025): You broken your Install with update, so Reuse your Backup and dont update
Author
Owner

@vhsdream commented on GitHub (Jul 24, 2025):

I have the fix, in the end it was really a simple thing. Some people might find their thumbnails blurry and images not loading; to fix that they'll need to run the migration job in the Administration settings:

Image

@MickLesk I don't want to remove the update function - wouldn't that require users to do a fresh install with every new version? I would, however, like to find some way to know a when a new release is gonna drop, then I could pin the version before it releases.

Edit: hmm, I guess we can still pin it in update, rather than using "latest" - I don't know why I thought otherwise.

@vhsdream commented on GitHub (Jul 24, 2025): I have the fix, in the end it was really a simple thing. Some people might find their thumbnails blurry and images not loading; to fix that they'll need to run the migration job in the Administration settings: <img width="491" height="183" alt="Image" src="https://github.com/user-attachments/assets/b30b28f9-1078-4b0b-a935-6a5e1a22bc6c" /> @MickLesk I don't want to remove the update function - wouldn't that require users to do a fresh install with every new version? I would, however, like to find some way to know a when a new release is gonna drop, then I could pin the version before it releases. Edit: hmm, I guess we can still pin it in update, rather than using "latest" - I don't know why I thought otherwise.
Author
Owner

@MickLesk commented on GitHub (Jul 24, 2025):

I mean the /usr/bin/update Script

@MickLesk commented on GitHub (Jul 24, 2025): I mean the /usr/bin/update Script
Author
Owner

@matte-oss commented on GitHub (Jul 24, 2025):

I have the fix, in the end it was really a simple thing. Some people might find their thumbnails blurry and images not loading; to fix that they'll need to run the migration job in the Administration settings:

Image [@MickLesk](https://github.com/MickLesk) I don't want to remove the update function - wouldn't that require users to do a fresh install with every new version? I would, however, like to find some way to know a when a new release is gonna drop, then I could pin the version before it releases.

Edit: hmm, I guess we can still pin it in update, rather than using "latest" - I don't know why I thought otherwise.

Thank you for the quick fix!

@matte-oss commented on GitHub (Jul 24, 2025): > I have the fix, in the end it was really a simple thing. Some people might find their thumbnails blurry and images not loading; to fix that they'll need to run the migration job in the Administration settings: > > <img alt="Image" width="491" height="183" src="https://private-user-images.githubusercontent.com/67816022/470500310-b30b28f9-1078-4b0b-a935-6a5e1a22bc6c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTMzODcxMjYsIm5iZiI6MTc1MzM4NjgyNiwicGF0aCI6Ii82NzgxNjAyMi80NzA1MDAzMTAtYjMwYjI4ZjktMTA3OC00YjBiLWE5MzUtNmE1ZTFhMjJiYzZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNzI0VDE5NTM0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0MjExMTU0N2EyM2VmMzI3MjNkZTNiYTU3MGEyMDA1ZjkyZDA2OTk3YjkyMzdmMTUwZmVjZmIzOGE4MDJiOGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Zs_7EdFavwvezhAy2kVizaDn69hw3yrpZenSh8sfEAY"> > [@MickLesk](https://github.com/MickLesk) I don't want to remove the update function - wouldn't that require users to do a fresh install with every new version? I would, however, like to find some way to know a when a new release is gonna drop, then I could pin the version before it releases. > > Edit: hmm, I guess we can still pin it in update, rather than using "latest" - I don't know why I thought otherwise. Thank you for the quick fix!
Author
Owner

@umrath commented on GitHub (Jul 25, 2025):

I have the fix, in the end it was really a simple thing. Some people might find their thumbnails blurry and images not loading; to fix that they'll need to run the migration job in the Administration settings:

So, I could unpin the version, run the script and then do the migration and would be fine?

@umrath commented on GitHub (Jul 25, 2025): > I have the fix, in the end it was really a simple thing. Some people might find their thumbnails blurry and images not loading; to fix that they'll need to run the migration job in the Administration settings: So, I could unpin the version, run the script and then do the migration and would be fine?
Author
Owner

@adfx919 commented on GitHub (Jul 25, 2025):

How can I fix the install if it's already bricked and I don't have backups (my fault)?
If I run the update script It says I'm on the latest version.

@adfx919 commented on GitHub (Jul 25, 2025): How can I fix the install if it's already bricked and I don't have backups (my fault)? If I run the update script It says I'm on the latest version.
Author
Owner

@MickLesk commented on GitHub (Jul 25, 2025):

change nano ~/.immich file

@MickLesk commented on GitHub (Jul 25, 2025): change nano ~/.immich file
Author
Owner

@adfx919 commented on GitHub (Jul 25, 2025):

I changed the file but I get this error:

cp: cannot stat '/opt/immich/app/machine-learning/ml_start.sh': No such file or directory

[ERROR] in line 101: exit code 0: while executing command cp "$ML_DIR"/ml_start.sh "$INSTALL_DIR"

@adfx919 commented on GitHub (Jul 25, 2025): I changed the file but I get this error: ``` cp: cannot stat '/opt/immich/app/machine-learning/ml_start.sh': No such file or directory [ERROR] in line 101: exit code 0: while executing command cp "$ML_DIR"/ml_start.sh "$INSTALL_DIR" ```
Author
Owner

@ibrcic commented on GitHub (Jul 25, 2025):

I have the exact same issue. It seems I'll have to reinstall, as I don't have backup because I was just playing with and testing immich.

@ibrcic commented on GitHub (Jul 25, 2025): I have the exact same issue. It seems I'll have to reinstall, as I don't have backup because I was just playing with and testing immich.
Author
Owner

@adfx919 commented on GitHub (Jul 25, 2025):

Tried to reinstall from scratch and I get this error ):


[ERROR] in line 302: exit code 0: while executing command cp -a server/{node_modules,dist,bin,resources,package.json,package-lock.json,start*.sh} "$APP_DIR"/

[ERROR] in line 1281: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
@adfx919 commented on GitHub (Jul 25, 2025): Tried to reinstall from scratch and I get this error ): ``` [ERROR] in line 302: exit code 0: while executing command cp -a server/{node_modules,dist,bin,resources,package.json,package-lock.json,start*.sh} "$APP_DIR"/ [ERROR] in line 1281: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ```
Author
Owner

@MickLesk commented on GitHub (Jul 25, 2025):

create an new issue and link vhsdream in comment

@MickLesk commented on GitHub (Jul 25, 2025): create an new issue and link vhsdream in comment
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1335