Immich will have breaking changes (again) in the next release reddit / selfhosted ---------------------------------------------------------------------- Significant-Neat7754 · 2023-12-07 19:10 It should be fairly easy to understand. Remove the parts in the red and add the ones in the green, in the docker compose file. Do be careful when updating. https://github.com/immich-app/immich/releases/tag/v1.90.0 ---------------------------------------------------------------------- janaxhell · 2023-12-07 19:29 Has the tensorchord image to be specified as `:pg14-v0.1.11` , or `:latest` would do as well? ---------------------------------------------------------------------- WiseCookie69 · 2023-12-07 19:31 Never use latest. ---------------------------------------------------------------------- janaxhell · 2023-12-07 19:36 Copy that, cheers. ---------------------------------------------------------------------- fav13andacdc · 2023-12-07 19:52 Will this automatically remove the data from the obsolete containers? Or will I need to remove with Midnight Commander or similar? ---------------------------------------------------------------------- root-node · 2023-12-07 20:12 To be fair: > ⚠️ The project is under very active development. > > ⚠️ Expect bugs and breaking changes. :) ---------------------------------------------------------------------- FoolHooligan · 2023-12-07 20:38 nice ---------------------------------------------------------------------- Significant-Neat7754 · 2023-12-07 20:40 I don't think so. I'm using bind mounts. I think the data needs to be removed manually. In situations like this, docker volumes are probably better since using something like `docker volume prune -a` will remove non-needed volumes automatically. ---------------------------------------------------------------------- banjker · 2023-12-07 20:42 Will it still be possible to run Immich with typesense disabled (due to running on an old CPU without AVX extensions)? In a quick search, I saw that pgvector is compiled with AVX ---------------------------------------------------------------------- wsamh · 2023-12-07 20:42 Do note that it's for the next release, not for this one. It is stated in the release notes. ---------------------------------------------------------------------- fav13andacdc · 2023-12-07 21:05 Got it. That may be why my docker image is still inflated from the last update. I have some investigating to do. ---------------------------------------------------------------------- Lostillini · 2023-12-07 21:07 I think I’m an immich stan. Clear communication, excellent documentation, killer features, everything fkn works. ---------------------------------------------------------------------- parer55 · 2023-12-07 21:18 When I try to run the asked "CREATE EXTENSION vectors;" command under the database docker cli, it tells me that user root is not recognized. Any ideas maybe? Thanks! ---------------------------------------------------------------------- MRobi83 · 2023-12-07 21:28 IMO Immich's biggest limitation are it's search features (or lack there-of). It's presentation is incredible, it has apps for the phones, auto backup, the ability to use some really advanced machine learning modules.... but then search is limited to 100 results, displayed at random, and can't be sorted. 🤦 >After merging #3605, we hope to be able to make significant progress around the search implementation and feature set. This makes me excited to see progress in the search features. Once they nail search, I don't think anything else out there will be able to touch it. ---------------------------------------------------------------------- Significant-Neat7754 · 2023-12-07 21:31 Oh I'm not complaining 😊 I love the software. This is just a heads-up of sorts. Hopefully beginners like me who tend to automate the upgrade process will now be alert. ---------------------------------------------------------------------- vendo232 · 2023-12-07 21:37 When is it live? ---------------------------------------------------------------------- apperrault · 2023-12-07 21:43 What if we are using our own Postgresql 16 container? Will that still work ---------------------------------------------------------------------- happytaz411 · 2023-12-07 21:45 You're not suppose to do it for this release. It's for the next release which is probably next week. ---------------------------------------------------------------------- happytaz411 · 2023-12-07 21:46 These changes are for the next release which is probably next week. ---------------------------------------------------------------------- vendo232 · 2023-12-07 21:47 Thx ---------------------------------------------------------------------- happytaz411 · 2023-12-07 21:50 Yes, according to one of the developers in the Immich discord: https://discord.com/channels/979116623879368755/994044917355663450/118 2428053071204453 ---------------------------------------------------------------------- PaulEngineer-89 · 2023-12-07 22:03 You won’t like it. Just recompile. It’s easy, ---------------------------------------------------------------------- StebeJubs8000 · 2023-12-07 22:19 Sadly don't have the time or energy to monitor Immich releases for breaking changes right now, but I am very excited to run it when it's more feature complete/stable! ---------------------------------------------------------------------- rumblpak · 2023-12-07 22:30 Immich is a good project that really needs to learn how to do semantic versioning correctly. I have 0 issue with them making breaking changes, I do however take issue with them not bumping the major version as a result. You break an api/abi contract, you bump the major version, period. Why projects are afraid to bump the major version, I will never understand. ---------------------------------------------------------------------- ProbablePenguin · 2023-12-07 22:36 Assuming you haven't modified the compose file volumes for the typesense container, you'll need to remove the `tsdata` volume manually, docker doesn't remove data automatically. ---------------------------------------------------------------------- ProbablePenguin · 2023-12-07 22:37 Especially with postgres, an unexpected update to a new major version can cause data loss. ---------------------------------------------------------------------- ProbablePenguin · 2023-12-07 22:38 It usually notifies you in the webUI as well ---------------------------------------------------------------------- ProbablePenguin · 2023-12-07 22:38 Yeah I agree, I always heard that breaking changes should be done as a major version increment. ---------------------------------------------------------------------- parer55 · 2023-12-07 22:39 Oh OK thanks. Did not understand that at all. Will wait. Tks again ---------------------------------------------------------------------- ProbablePenguin · 2023-12-07 22:42 They do a great job, the only nitpick I see is usually changes that break existing deployments are a major version number (ie; 2.0.0) so I can pin my images to a specific major version. But overall they've been great about letting us know it's coming. I've had quite a few other services that have some little note hidden on a forum post about breaking changes. ---------------------------------------------------------------------- Senkyou · 2023-12-07 22:54 Surprised it's not mentioned yet (that I see), but metadata editing is here! Super excited! ---------------------------------------------------------------------- banjker · 2023-12-07 22:56 Dang. This might break it for me. Have you recompiled? I originally had tried recompiling typesense without avx because it was supposedly easy. I was able to compile it without errors on my CPU but it still didn't run. After troubleshooting for a couple hours, I gave up. It was probably due to some dependency somewhere still requiring avx ---------------------------------------------------------------------- fishypants · 2023-12-07 23:12 Suppose I should get that first breaking change fixed so I don’t have to do two at one time. Ack. (I’m a noob) ---------------------------------------------------------------------- vitarist · 2023-12-07 23:49 Love it. Thank you for the heads up ---------------------------------------------------------------------- kriswithakthatplays · 2023-12-07 23:53 Minor versions can also cover breaking changes, given their scope is tightly bound in nature or straight forward to upgrade through. But semantic versioning is just semantics: depends on who you're talking to as to what everything really means. ---------------------------------------------------------------------- Muffin_plop · 2023-12-08 00:03 Immich has been an absolute joy to use. I appreciate the software so much. I have donated to the developer several times. Remember any amount helps them! ---------------------------------------------------------------------- fernatic19 · 2023-12-08 00:30 I've been late to the party and I was going to start a week or so ago and saw another post about this. Figure I'll wait and just start on the new version. ---------------------------------------------------------------------- pchrisl · 2023-12-08 00:32 That's cool, i've been procrastinating switching over from photoprism. Hopefully more stable soon. ---------------------------------------------------------------------- blaine07 · 2023-12-08 01:15 How does this affect those of us using “Imagegenius” version; or the “apline” version that already doesn’t have typesense? My T610 doesn’t have AVX so sucks to see this potentially be required. RocketChat/MongoDB require AVX so I can’t use it either. Dangit ---------------------------------------------------------------------- AlgolEscapipe · 2023-12-08 01:47 If I only recently started using Immich, and haven't really "cut the cord" so to speak, would it be just better to wait until after this and re-install from scratch? ---------------------------------------------------------------------- AncientSecond245 · 2023-12-08 02:44 it's my first time to heard about Immich. so its a Google Photos alternative? I'm in! Thank you for sharing ---------------------------------------------------------------------- -rwsr-xr-x · 2023-12-08 03:11 Not even interested until they allow me to manage my photos using it. It's a glorified web image viewer, that's all, and those have been around by the dozens for decades. ---------------------------------------------------------------------- Snuupy · 2023-12-08 03:34 for typesense compiling it on my n5095 CPU (no-avx) was easy and worked no questions asked. you likely didn't use the right version or have some other issue (in which case, if you don't post logs or the error, no one can help you) ---------------------------------------------------------------------- ebrious · 2023-12-08 04:15 The main dev Alex has publicly commented that the versioning system is not ideal and he wishes he started with a v0. I assume at this stage they just figure they're close enough to a v1 that after such point in time they'll switch to a more standard approach, but that's just my two cents. ---------------------------------------------------------------------- IllegalD · 2023-12-08 04:23 Yet here you stand in a community full of people praising the project, which is now the generally accepted recommendation for a self-hosted Google Photos replacement. The mobile apps are fire, the syncing works better and more reliably than anything that has come before it... "Glorified web image viewer"? There are plenty of other subs that will welcome your shit takes. ---------------------------------------------------------------------- -rwsr-xr-x · 2023-12-08 04:29 > The mobile apps are fire, the syncing works better and more reliably than anything that has come before it... Show me how I can delete photos I've uploaded, or edit/manage the photo metadata for photos I've uploaded, or even rename photos. Those three, pretty essential features, should be first-class citizens in an application like immich. Or any photo management/viewer app, really. gthumb, XnView, even Gallery from 20 years ago, had this capability. I recognize immich is 'new' and growing, but I can't trust importing 100k+ photos into it, if it can't handle the basic capabilities. Take your troll stickers somewhere else, you won't stick them on me. ---------------------------------------------------------------------- [deleted] · 2023-12-08 04:30 [removed] ---------------------------------------------------------------------- IllegalD · 2023-12-08 04:31 I'm just defending the project that we all love, you however seem like the kind of person that enjoys hanging shit everywhere. The way you described it was rude and dismissive, and I despise rude and dismissive people. ---------------------------------------------------------------------- Ronbruins · 2023-12-08 05:09 There hasn’t been anything that came close the functionality Immich already has, not even commercial software. Photoprism comes close, but Immich has a native app. Put your photos on an external library and manage with digikam or preferred tool of choice as that is where those tools shine. Immich never meant to be a management app, if you don’t like it, sure, but it seems you expect it to do stuff it doesn’t. It’s like blaming a drill for not being able to hammer in nails properly. What Immich does very good is proving easy access to huge libraries, the machine learning search is brilliant, especially when used with better models. Sharing between partners is great, it’s fast and it’s free. Numerous of people spent their free time on building this, so if you don’t like it, feel free to contribute instead of shitting on it. ---------------------------------------------------------------------- bigCanadianMooseHunt · 2023-12-08 05:35 Typesense is going away in the next release! Give it like two weeks. ---------------------------------------------------------------------- Snoo_4836 · 2023-12-08 05:47 Immich needs to improve the current repull and redeploy update method. So easy to break if anything goes wrong. ---------------------------------------------------------------------- cltrmx · 2023-12-08 06:16 Pinning to a specific version does not really work does it? Your clients may update to a newer version and such they will break. ---------------------------------------------------------------------- Defiant-Ad-5513 · 2023-12-08 06:49 Just missing photo editing in app like G Photos ---------------------------------------------------------------------- ia42 · 2023-12-08 07:29 I must say I'm loving everything I read about it, but I can't afford breakages on my main backup. Can it run on top of or next to my nextcloud? Also, it's 2023. Programs like media wiki and wordpress have changes in DB schemas, file location and data structures, but there are also automated migrations that check things during upgrade or during first run after an upgrade. Why should there be breakages here? How hard are they to automate, people? ---------------------------------------------------------------------- [deleted] · 2023-12-08 07:30 [removed] ---------------------------------------------------------------------- MonetHadAss · 2023-12-08 07:38 I'm curious as well. Isn't one of the points of using a database server instead of SQLite is that multiple services can use one server? With this change, Immich will need its own Postgres instance in addition to my currently running Postgres server that other services use. ---------------------------------------------------------------------- [deleted] · 2023-12-08 07:40 [removed] ---------------------------------------------------------------------- [deleted] · 2023-12-08 07:50 [removed] ---------------------------------------------------------------------- blu5ky- · 2023-12-08 07:52 1. The first thing on the project website: \`Do not use it as the only way to store your photos and videos!\` 2. Even if you fail this release migration, your file on your FS will stay, and you should now loose any data (unless you did something wrong before, and if you're not sure, you should not rely on it). 3. Yes, it's 2023. Wordpress and Mediawiki are fully funded projects, with a bunch of people working on it, companies paying and relying on those projects. You cannot compare this with a one-person (plus collaborators) only project, started as a hobby, and funded by volunteers without any reward. 4. This breaking change is a change in the database image. It cannot (shouldn't) be automated as you need to change images architecture. The SQL command is only if non-root credentials are used by immich (as it is supposed to be). In that case, Immich CANNOT make the change (as its user is not root). ---------------------------------------------------------------------- -CspecialK- · 2023-12-08 07:59 I asked on the discord channel, this was the answer: "Does your Postgres instance have any other extensions? If not, then migrating to the pgvecto.rs image should be seamless. If there are and you’d like to add pgvecto.rs to that setup, then you can make a custom Dockerfile (if you don’t already have one) and add their install instructions https://github.com/tensorchord/pgvecto.rs/b lob/main/docs/installation.md#install-from-release . You can check out https://github.com/bo0tzz/cnpgvecto.rs for an example of this" So I think I'll have to pull a separate DB container, if I want to use immich and migrate the old DB to that. ---------------------------------------------------------------------- [deleted] · 2023-12-08 08:02 [removed] ---------------------------------------------------------------------- Mr_BananaPants · 2023-12-08 08:07 It is clearly mentioned in the release notes. It has its own section where it's fully explained. ---------------------------------------------------------------------- Asfalots · 2023-12-08 08:08 It's hard because they are going to use a new postgresql extensions, which are NOT available by default in postgres image, so they change to another container. ---------------------------------------------------------------------- Asfalots · 2023-12-08 08:10 Definitely this !! ​ Being able to relocate images made on my old reflex camera will occupy myself for following weeks ---------------------------------------------------------------------- Asfalots · 2023-12-08 08:11 I just tried to enable the extension on a postgres:16-alpine and the extension is not available :( ---------------------------------------------------------------------- ia42 · 2023-12-08 08:12 1. I know, that's why I asked. 2. I'll go read then. there must be a dump and restore procedure for backups. the only question is, is it okay to assume one can restore an old dump to a new version. 3. I Don't, but if non-breaking changes are not a planned feature and there is no LTS feature-frozen branch, I don't know if I should even start looking into the product. ---------------------------------------------------------------------- ia42 · 2023-12-08 08:24 That's absolutely fine, question is if there is a manual migration path, or is all the gathered metadata expected to be lost. ---------------------------------------------------------------------- GolemancerVekk · 2023-12-08 08:25 I believe this is a server breaking change only, not a client-breaking change. You deal with client changes differently, of course, for the reason you mentioned, usually by keeping two API versions around so that old and new clients can both continue to work. ---------------------------------------------------------------------- [deleted] · 2023-12-08 08:33 [removed] ---------------------------------------------------------------------- [deleted] · 2023-12-08 08:48 [removed] ---------------------------------------------------------------------- cltrmx · 2023-12-08 08:52 Yea, you are correct but I found that the client updates may break functionality. ---------------------------------------------------------------------- Firm-Customer6564 · 2023-12-08 09:09 That's not what you would expect from their communication as experimental and unstable - but honestly e.g. Jellyfin feels less well documented... ---------------------------------------------------------------------- -CspecialK- · 2023-12-08 09:43 Could you Link the github discussion ---------------------------------------------------------------------- Vogete · 2023-12-08 10:10 Semantic versioning actually has a [clear rule](https://semver.org/) about this: >1. MAJOR version when you make incompatible API changes >2. MINOR version when you add functionality in a backward compatible manner >3. PATCH version when you make backward compatible bug fixes So if you truly follow semantic versioning, there is no "who you're talking to" debate, because it's clearly written what is what. ---------------------------------------------------------------------- Chaphasilor · 2023-12-08 10:15 As far as I'm aware, Immich is not actually using Semantic Versioning, which is implied by the multiple warnings at the top of the readme. Alex also covered this recently in a selfhosted.show podcast episode I think. But I do get you point, it might be better to use a different versioning scheme that makes this a bit clearer... ---------------------------------------------------------------------- Chaphasilor · 2023-12-08 10:19 I would be happy with a way to edit an image in an external app, like my phone's default gallery. But no luck, yet. Might have to contribute that at some point... ---------------------------------------------------------------------- Chaphasilor · 2023-12-08 10:25 As far as I'm aware they never said they were using semantic versioning, so I don't see how they're breaking any "contracts". There are multiple warnings about it at the top of the readme. Semantic versioning is opt-in, theoretically, so you can't just assume a project follows it. But I agree that they should use a different versioning system to better convey this. ---------------------------------------------------------------------- Chaphasilor · 2023-12-08 10:26 In the release notes they even describe the steps necessary to migrate for a custom postgres installation. It's one line :) ---------------------------------------------------------------------- Chaphasilor · 2023-12-08 10:27 We you can just try upgrading, and if you experience any issues just reinstall. No need to be afraid if you haven't committed to it yet :) ---------------------------------------------------------------------- Major_Dick · 2023-12-08 11:19 Wonder if it’ll become a standalone thing eventually. Not too interested in maintaining external dependencies. ---------------------------------------------------------------------- Brilliant_Sound_5565 · 2023-12-08 11:40 I decided to use immich once it settles down, looks good though ---------------------------------------------------------------------- samip537 · 2023-12-08 11:59 MongoDB is compileable without AVX btw: https://github.com/samipsolutions/containers/tree/main/apps/mongo- without-avx ---------------------------------------------------------------------- samip537 · 2023-12-08 12:02 Yes, it needs to be compiled or installed via package manager before that will work. ---------------------------------------------------------------------- tristan-k · 2023-12-08 12:45 Still hoping for support for the Google Coral M.2 Accelerator. ---------------------------------------------------------------------- blaine07 · 2023-12-08 13:01 Thank you: I’m just not smart enough to know how to do all that when mongo and RocketChat are running as containers on Unraid. Thank you for linking I need to look harder at it! 😌 ---------------------------------------------------------------------- nairou · 2023-12-08 13:08 That was definitely confusing. My impression is that this release makes the changes available, and they become mandatory in the next release when the old method is removed. Otherwise... 1) why tell me about it now, and 2) what was the 1.90 release for? ---------------------------------------------------------------------- TastierSub · 2023-12-08 13:35 I ran it without Typesense for a bit. You lose the ability to search/recognize faces/etc., but basic functionality seemed to have worked fine without it (upload photos, access them from web/apps, sort into albums). ---------------------------------------------------------------------- rkh4n · 2023-12-08 13:55 Does immich iOS app works in background? ---------------------------------------------------------------------- MonetHadAss · 2023-12-08 14:25 No, I think that's for if you are running the Postgres image that they recommend, but the Immich Postgres user is not superuser. ---------------------------------------------------------------------- Senkyou · 2023-12-08 14:40 Of course, that's how I knew it was released. It was the comments, I was referencing. ---------------------------------------------------------------------- -CspecialK- · 2023-12-08 15:20 I just tested it, with swapping the Postgres:latest with pgvector_rs:latest container. It works without any issues, also with different databases. ---------------------------------------------------------------------- PaddyStar · 2023-12-08 15:23 Is there an option to upload original image from iPhone and reduce iPhone image to tiny 1000x1000pxcl image? (Like iCloud ) ---------------------------------------------------------------------- altran1502 · 2023-12-08 15:24 Migration will be handled automatically once you update to 1.91 and change the database image ---------------------------------------------------------------------- altran1502 · 2023-12-08 15:24 Yes, it does ---------------------------------------------------------------------- altran1502 · 2023-12-08 15:26 We will do proper semantic versioning once the application is in “stable” mode. Right now, we are still considering in development mode, so versioning is a way to keep track of changes ---------------------------------------------------------------------- altran1502 · 2023-12-08 15:26 We will do proper semantic versioning once the application is in “stable” mode. Right now, we are still considering in development mode, so versioning is a way to keep track of changes ---------------------------------------------------------------------- gpzj94 · 2023-12-08 15:28 When I first saw this notification for you post on my phone I thought the same thing, came here ready to come with this same screenshot...then i just realized you were giving the heads up and how to avoid the break and i am the a-hole i suppose. laughing/crying face (idk how to make emojis on my desktop lol). ---------------------------------------------------------------------- idijoost · 2023-12-08 15:47 I’ve used Immich for a very short time. And from what I recall there wasn’t a tagging option. Or a way to create albums based on tags. Is it in this version? ---------------------------------------------------------------------- Senkyou · 2023-12-08 15:48 I don't recall that in the release notes. Did you see it there? That's the final word. ---------------------------------------------------------------------- idijoost · 2023-12-08 15:50 No no, it’s just a question, I thought you might know. ---------------------------------------------------------------------- ia42 · 2023-12-08 16:13 then this is hardly a breaking change... ---------------------------------------------------------------------- altran1502 · 2023-12-08 16:29 breaking changes here are the changes in your docker-compose file :D ---------------------------------------------------------------------- henry_tennenbaum · 2023-12-08 17:31 Cool, that's how I understood it. ---------------------------------------------------------------------- ProbablePenguin · 2023-12-08 17:43 Gotcha, that makes sense. I do love Immich so far! It's been very reliable despite the 'very active development' warning and I haven't been impacted by any of the breaking changes since you have the nice warnings for them. ---------------------------------------------------------------------- Spuxilet · 2023-12-08 19:43 This is so dumb! That pgvecto.rs extension is not listed on [https://w ww.postgresql.org/docs/current/contrib.html](https://www.postgresql.or g/docs/current/contrib.html) So we will have to build the postgresql image ourselves everytime i want to update it? No thanks. I had immich on my homelab just to follow it's development and when it would be ready to switch to it from Nextcloud + Photoprism. But this WTF are you doing i do not get it. Save couple of MBs of RAM and storage and instead waste my own time building the image everytime i want to update postgresql version? GFY immich. I already deleted whole immich from my homelab! ---------------------------------------------------------------------- rumblpak · 2023-12-08 22:36 Personally, as soon as customers are using an application, it’s a production app. We can fool ourselves into believing otherwise but building good behaviors now will make for a better application long- term. At the end of the day, there’s no issue with an app on version 999.0.0 other than it’s a big number. ---------------------------------------------------------------------- rkh4n · 2023-12-09 00:50 Nice time to try it ---------------------------------------------------------------------- altran1502 · 2023-12-10 19:28 Hello, the intention is not so save couple of MBs of RAM and storage but to simplify the deployment and reduce the number issues we have to manage over Typesense. We layout the more detailed info about why we make the switch in the release note. About your deployment issues. That is why we recommend docker, docker- compose since it helps with updating your environment so much easier than keeping track of the application’s dependencies on your own We don’t make decisions like this recklessly ---------------------------------------------------------------------- 654354365476435 · 2023-12-16 09:40 They are working on basic edits