this post was submitted on 11 Mar 2025
42 points (95.7% liked)

Selfhosted

43945 readers
336 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have Immich Server Version: v1.115.0. They're up to v1.129.0. I am guessing there have been lots of breaking changes in that range, since that was true the last time I updated.

Is there a safe way now to update without making me read all the release notes and carefully craft my docker compose file in multiple steps to make sure I don't lose anything in the process of getting caught up?

Thanks for any tips.

ETA: Or just, how do you handle your Immich (in Docker) updates in general?

2ND EDIT: I did read the release notes. After a lot of reading, there was 1 change (updating their internal Port # for the main service to 2283) It's done. Thanks y'all. My cats appreciate you all.

collapsed inline media

top 15 comments
sorted by: hot top controversial new old
[–] MentalEdge@sopuli.xyz 29 points 17 hours ago (1 children)

I'd take a backup, first, and then just send it. Then, if that doesn't work out, do it the hard and slow way.

[–] Dave@lemmy.nz 9 points 16 hours ago* (last edited 16 hours ago) (1 children)

Haha this was my first thought too.

Immich is very clear: "⚠️ Do not use the app as the only way to store your photos and videos."

In that case, you have your content elsewhere. Make a backup of relevant volumes and a database dump (for your albums and such) and then try updating. Roll back if it doesn't work. If if you don't have much in the way of Immich meta data, and the upgrade didn't work, then you could just start from scratch and re-import your content.

[–] lka1988@sh.itjust.works 3 points 14 hours ago (1 children)

That first part is why I still maintain my Google Photos account. I have most of it on Immich at this point, but given that's still in active development, I like having options.

[–] Dave@lemmy.nz 1 points 13 hours ago

I treat Immich like a frontend. I have photos in Nextcloud, plus local and remote backup (1 2 3 style). Then Immich is set to absorb the photos from Nextcloud, and the photos are exposed read-only to Immich so it can't damage anything.

[–] tvcvt@lemmy.ml 14 points 17 hours ago

I just had to do this. Don’t skip the release notes. They’re really good at highlighting potential pitfalls, just scroll back through and look for the heading “Breaking Changes.”

In my case there were a few, but they were only for API calls I’m not using, so I just did the update in one go and it worked out great. (Of course, I made sure to take a backup first.)

[–] kabi@lemm.ee 10 points 16 hours ago* (last edited 16 hours ago)

I neglected to update for like seven "major" versions recently. I took the safe-ish route to just read every release note as I go and install the last minor version of each major version release, then start, quick check, stop, next one. It turned out fine.

edit: Backup, backup, backup. Then you can't fail.

[–] AustralianSimon@lemmy.world 8 points 17 hours ago (1 children)

You're going to have to read every single release with breaking changes.

[–] moroni@lemmy.ca 6 points 15 hours ago (1 children)

Don't trust Semantic Versioning claims, devs can and so screw it up. That said, if they claim to follow semver, it'll probably work, but I've had patch versions break my code before.

[–] Shadow@lemmy.ca 7 points 15 hours ago (1 children)

I yoloed from a year old version up to the latest, it was fine.

[–] non_burglar@lemmy.world 4 points 13 hours ago

Love that for you.

However, that is not everyone's experience and doesn't really answer op's question.

Good opportunity to test your backups.

Restore to a new directory, update that and see what happens. If it works do it to the original.

[–] enemenemu@lemm.ee 2 points 17 hours ago

I just update. If it breaks, I read the notes. Probably the wrong way but it worked. And I use it for a long time. To me, it was never that unstable. And since a couple of months it's very stable. Backup first.

[–] muntedcrocodile@lemm.ee 1 points 11 hours ago

Make backup do yolo. So far backup has not been nessasary.

[–] DontNoodles@discuss.tchncs.de 1 points 3 hours ago

Lol, i was going to post the same question one of these days. I too am almost on the same version and I was hoping some kind soul would help me out.

On top of it I'm not very well versed with docker backups so I'm doubly scared. What I am going to do is to take a mirror image of my whole OS drive in my zfs mount that I use as backup, give a release notes a glance and go YOLO based on what I can make out.

Your post gives me a lot of hope. Thank you!