Replies: 41 comments 118 replies
-
Hi @vhsdream,
Looks like the script is not there anymore! From the logs point of view, they look like this:
Could you be able to give me a hint here? P.S: I already setup daily backups. So I have some backups available! |
Beta Was this translation helpful? Give feedback.
-
I had no errors up to the step with GID. After trying to reboot i get the following error : "run_buffer: 571 Script exited with status 25 lxc_init: 845 Failed to run lxc.hook.pre-start for container "103" __lxc_start: 2034 Failed to initialize container "103" TASK ERROR: startup for container '103' failed" |
Beta Was this translation helpful? Give feedback.
-
Everything went smoothly for me...thanks for the extremely detailed guides as always! |
Beta Was this translation helpful? Give feedback.
-
The upgrade went smoothly. Thanks! |
Beta Was this translation helpful? Give feedback.
-
That worked like a charm, thank you! |
Beta Was this translation helpful? Give feedback.
-
Smooth as butter! |
Beta Was this translation helpful? Give feedback.
-
When i went through the upgrade steps. it seems. to be all good untill the reboot. could not get it to start up again. |
Beta Was this translation helpful? Give feedback.
-
Upgrade went smoothly, seems to be working so far. Thanks so much for the detailed walk-through ! Fresh Immich 1.142.0 install from last week... that's just my luck that I start using a service and a mandatory OS upgrade pops up a few days later haha Anyway, didn't run into the error mentioned by @mokhos and @fedottt so didn't have to copy the files. |
Beta Was this translation helpful? Give feedback.
-
✔️ Updated immich web and microservices [ERROR] in line 169: exit code 0: while executing command $STD sudo --preserve-env=VIRTUAL_ENV -nu immich uv sync --extra cpu --active -n -p python3.11 --managed-python |
Beta Was this translation helpful? Give feedback.
-
Worked perfectly with your step-by-step tutorial. I came from 1.142.1, changed .immich to 1.142.0 and updated. No errors. Just the warning you described. Thank you very much!!! |
Beta Was this translation helpful? Give feedback.
-
This was great, thank you for putting it together. Will there be a script add to the site to update to Trixie? That way we dont have to do step by step for each lxc |
Beta Was this translation helpful? Give feedback.
-
I just wanted to leave a commented to say this worked flawlessly for me on Proxmox 8.4.14. I was on Immich 1.142.0, changed to 1.141.0 and upgraded from there. Thank you for the detailed walkthrough. |
Beta Was this translation helpful? Give feedback.
-
Also reporting success. Running Proxmox 8.2.2 and had Immich 1.41.1. I suppose these types of things are avoided with VM images like Home Assistant? I'm very happy for the LXC support here, but it would be great for a more turnkey solution to evolve once Immich hits stable. |
Beta Was this translation helpful? Give feedback.
-
Also wanted to echo success with no issues upgrading Immich 1.142.0 on Proxmox 8.4.14. I then upgraded my host to Proxmox 9.0.10, and also no issues with the LXC after the host upgrade. |
Beta Was this translation helpful? Give feedback.
-
Upgraded without issues using Proxmox 8.4.14 and Immich 1.142.1. Thanks for this great guide! |
Beta Was this translation helpful? Give feedback.
-
![]() ![]() ![]() ![]() |
Beta Was this translation helpful? Give feedback.
-
I tried to update immich and got the trixie error and ended up here. |
Beta Was this translation helpful? Give feedback.
-
Hi. I updated following the guide without problems, in a v8.4.14. Only the error in "13.1" debian version. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Like a charm... Thanks! |
Beta Was this translation helpful? Give feedback.
-
Update to trixie and update of immich went well. apt-mark hold libigdgmm12 keeps version of libigdgmm12 - shouldn't i unhold this after upgrading. |
Beta Was this translation helpful? Give feedback.
-
This helped a lot! Thank you! |
Beta Was this translation helpful? Give feedback.
-
This is a solid guide, I was able to follow the steps and get immich LXC updated after upgrading the LXC to Trixie. Kudos and much appreciated! |
Beta Was this translation helpful? Give feedback.
-
I wanted to run the "update" command and got this error. The host is Proxmox 9 and the LXC already running Trixie
|
Beta Was this translation helpful? Give feedback.
-
worked just as well as this guide was written! thank you very much :) |
Beta Was this translation helpful? Give feedback.
-
Worked flawlessly with Proxmox 9.0.10. Thank you so much! |
Beta Was this translation helpful? Give feedback.
-
Just thought i may add something here, but i noticed that after i conducted the process of upgrading (worked perfectly well without any issues on Proxmox version: 8.4.14), i saw something quite strange where my space utilization doubled e.g. 80GB of active storage of photos and videos before the upgrade to after the upgrade jumped to 160GB. Did anyone else experience this? (I have yet to investigate the exact cause). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hey @vhsdream, I upgraded to ML seems fine, here's the log for Immich Web:
Any help would be appreciated, thanks |
Beta Was this translation helpful? Give feedback.
-
Version: 1.142.1 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey. It's vhsdream with another long-winded Immich screed.
So the Immich Base Images repo has moved to Debian Trixie already, and it wasn't a big deal for any Docker users, because well I guess that's a big benefit to Docker. Anyway, we've just pushed the Debian Trixie update to Immich and there are breaking changes for sure. I wouldn't blame you if you wanted to start fresh with a new Immich installation.
This guide is for those intrepid (and maybe foolish) souls who wish to make the transition to Immich Trixie (13), from their existing Immich Bookworm (12) installation. Perhaps some of you were brought here by your Immich instance refusing to update, because you are on Bookworm and if we allowed that to go through all hell would break loose. Read on!
Massive warning⚠️ ⚠️ ⚠️
I am still using Proxmox Virtual Environment 8.4. While I am pretty sure this is going to work for those of you who are on Proxmox VE 9, I have no first-hand experience with it. That being said, TAKE A SNAPSHOT AND A BACKUP before proceeding! Luckily the upgrade to Debian 13 on the part of Immich does not come with any mandatory DB/VectorChord changes (yet), so your photos/videos will be there and accessible afterwards. But still. Take 1000 backups and caution with your precious memories.
Upgrade your LXC to Trixie
Follow these steps/copy and paste these commands into your LXC console. In this order.
systemctl disable --now immich-web immich-ml
apt update && apt dist-upgrade -y
apt install screen -y
sed -i 's/bookworm/trixie/' /etc/apt/sources.list
sed -i 's/bookworm/trixie/' /etc/apt/sources.list.d/jellyfin.sources
sed -i 's/bookworm/trixie/' /etc/apt/sources.list.d/pgdg.list
rm -f /etc/apt/sources.list.d/immich.list
apt-mark hold libigdgmm12
apt update
. Any errors? DO NOT PROCEEDscreen apt dist-upgrade
. Follow along with the upgrade and make your own choices regarding overwriting configs. You might see ones forcrontab
,e2scrub_all
, orsshd_config
. What you decide is up to you.apt autoremove -y && apt autoclean -y
apt modernize-sources
, then approve the changes with ay
.postgres
repo. No worries, lets fix it!sed -i 's|Signed-By:|& /etc/apt/trusted.gpg.d/postgresql.gpg|' /etc/apt/sources.list.d/pgdg.sources
apt update
. You'll see a warning about NodeJS. Just ignore it./dev/dri/renderD12x
device. Check if you need to do this like so:ls -l /dev/dri
. If in place of the group namerender
you see some number (992 perhaps?), you will need to change the GID in the 'Resources' tab for the LXC in the ProxmoxVE UI:Update Immich
First let's reset Immich to start on boot. Run
systemctl enable immich-ml immich-web
.Next, let's force an update to Immich. There's a chance your version is already up-to-date but we want to migrate.
Open the
/root/.immich
file in a terminal text editor (nano,vi,etc) and change the version number to something below what it is. For example, if the version is 1.141.1 then change it to 1.141.0. Save and exit the editor.Now the update should begin once you run the update command. I suggest choosing 'verbose' this time. You'll likely see Imagemagick recompiling so this update will take a bit longer than normal. And with any luck it will complete. As almost always with any update to Immich, you should make a habit of tailing the logs which will let you know if anything is broken.
tail -f /var/log/immich/ml.log
tail -f /var/log/immich/web.log
You made it? Nice work 😉
Problems? I sure hope you have snapshots/backups! And let me know in this discussion what happened. I expect logs and informative screenshots!
Beta Was this translation helpful? Give feedback.
All reactions