Immich is awesome (immich.app)
from rambos@lemm.ee to selfhosted@lemmy.world on 16 Dec 2023 09:15
https://lemm.ee/post/18152780

I know we had posts like this before, but Immich deserves 👏

One more update, one less container, the best Google Photos alternative, its just amazing!!

Don’t forget to edit your docker-compose before updating

#selfhosted

threaded - newest

agimus@startrek.website on 16 Dec 2023 09:42 next collapse

I am a bit confused what is meant by:

“You can do this by connecting to the immich database as a superuser and running…”

How do I connect to the database exactly?

doeknius_gloek@feddit.de on 16 Dec 2023 10:09 next collapse

Use something like pgAdmin, DBeaver or the pg cli to connect to your postgres instance. Then run the command from the changelog as a SQL query.

MangoPenguin@lemmy.blahaj.zone on 16 Dec 2023 14:04 collapse

You only need to do this in a specific scenario, “Note: If you are running your database with a non-superuser role for Immich”

If you’re running the docker stack that immich provides you don’t need to do this.

DavidGarcia@feddit.nl on 16 Dec 2023 09:49 next collapse

the color scheme of that icon physically hurts to look at

clmbmb@lemmy.dbzer0.com on 16 Dec 2023 10:01 collapse

Wow! You found the problem. Congrats!

Ebby@lemmy.ssba.com on 16 Dec 2023 09:50 next collapse

I updated without reading the breaking changes. Dummy me. I’ll get it running when I have some free time again. But yeah, love that program and how much it’s grown!

Norgur@kbin.social on 16 Dec 2023 11:14 next collapse

Noticed it stopped working yesterday, wasnt at home so I couldn't really get into it, just checked the docker logs via portainer on the go and was like "wtf is this error?!" Was relieved when I learned what the issue was and that it's just a restructuring of the containers.

While it can be unnerving that they don't shy away from breaking things in order to improve the service, it's actually a very good thing and keeps the app from getting bogged down in some "but backwards compatibility"legacy code hell (wonder what some people in Redmond would know about that). Let's just hope that they never publish an update that permanently breaks things when you haven't followed a very strict weird update procedure or something.

Discover5164@lemm.ee on 16 Dec 2023 11:31 next collapse

you should exclude the immich stack from auto-updating and subscribe to immich releases.

most of the time will just be a docker compose pull && docker compose up -d && docker compose logs -f

Ramenator@lemmy.world on 16 Dec 2023 13:48 collapse

And for the love of god don’t go for latest, just stick to the release tags

MangoPenguin@lemmy.blahaj.zone on 16 Dec 2023 14:03 next collapse

They have mentioned that once out of dev/alpha status they will figure out proper release versioning so you can pin a major version and not get breaking changes.

roofuskit@lemmy.world on 16 Dec 2023 15:50 collapse

Do not have docker containers auto update.

DeltaTangoLima@reddrefuge.com on 16 Dec 2023 20:08 next collapse

Or, if you do have it auto-update (like I do) prepare for things to break every now and then. I auto-update just about all containers except those that would break either my home automation or my ability to login to my network and fix things. Everything else auto-updates, including Immich.

My Immich broke this weekend when they switched the stack over to pgvecto, to use vector searching in Postgres. Easily fixed, but took me a solid minute to figure out what had changed.

Which is kinda weird they didn’t communicate this one so well. In the lead-up to v.1.88.0, Alex made an announcement on Github to let people know the breaking change was the removal of the web container from the stack, rolling the webserver into the main server container itself. That was a good move, as all I did was flip my Watchtower container on that host to monitor only.

Dunno why they didn’t do something similar for the Postgres change. Was just as breaking.

roofuskit@lemmy.world on 17 Dec 2023 00:26 collapse

Updating software that’s in such early development without reading the release notes is foolish.

DeltaTangoLima@reddrefuge.com on 17 Dec 2023 02:01 collapse

Is it hard to breathe in that rarified air, up on your high horse?

I’ll keep taking my calculated risks. You keep judging strangers on the internet. 👍

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:16 collapse

roofuskit is right. Unless you use it as secondary method of backing up your memories - it is foolish. There are constant breaking changes that requires modification to Docker-Compose for Immich project. But you do you. :) I am not Google to tell you what to do. 😅

azertyfun@sh.itjust.works on 18 Dec 2023 00:38 next collapse

Immich saves pictures on the filesystem, where they are easily picked up by all my backup solutions. My pictures also get uploaded on NextCloud before being moved to Immich’s auto-upload folder.

… Where exactly is the risk for my precious memories? The bloody thing could rm -rf /* for all I care.

DeltaTangoLima@reddrefuge.com on 18 Dec 2023 06:37 collapse

Immich’s repo explicitly states not to rely on it as a primary backup of your photos and videos. Seems to me the more foolish thing would be to ignore that advice.

¯\_(ツ)_/¯

Chewy7324@discuss.tchncs.de on 16 Dec 2023 18:59 collapse

Unless the container follows semver and only auto updates minor versions.

Edit : Which Immich isn’t.

milan@discuss.tchncs.de on 16 Dec 2023 11:36 next collapse

if only photosync would work properly in the background on ios … i thought it is supposed to but it just doesnt do the thing by itself. sometimes i get a notification about 0/5xx photos being synced. hm. i know its more like ios sabotaging the software here, yet still it prevents me from using it more :/

MangoPenguin@lemmy.blahaj.zone on 16 Dec 2023 14:03 next collapse

Have you tried the Immich app? I know in general iOS has such restrictive power management that syncing can be unreliable.

milan@discuss.tchncs.de on 16 Dec 2023 21:03 collapse

thats what i meant – is there an alternative option?

BearOfaTime@lemm.ee on 19 Dec 2023 04:52 collapse

iOS is awful about how it handles photos. It doesn’t really permit other apps to manage them automatically. I’ve fought this issue lots.

roofuskit@lemmy.world on 16 Dec 2023 15:52 collapse

Apple sabotages your user experience at every turn unless you use their solutions which cost money and your response is to stop using other software. Sounds like the desired outcome for Apple.

slampisko@lemmy.world on 16 Dec 2023 11:48 next collapse

Looks interesting, thanks for the rec!

Is there a way to semi-easily import my Google Photos archive?

dodekaphilist@lemmy.world on 16 Dec 2023 13:24 collapse

Take a look into immich-go

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:11 collapse

+1 for it. Used it previously and just recently. Works like a charm!

dadrad@midwest.social on 16 Dec 2023 13:58 next collapse

Thanks for the reminder to check my docker compose file. I finally deployed immich for the family last week. I had tried it before, but held out for external libraries.

We never really used Google photos or iCloud, so having a similar experience with the library on my NAS is amazing.

Brtrnd@feddit.nl on 16 Dec 2023 14:19 next collapse

How do ppl think of immich Vs photoprism? I dislike photoprism because every action takes 10 seconds

Tywele@lemmy.dbzer0.com on 16 Dec 2023 17:17 next collapse

For me Photoprism is unusable for the simple fact that they don’t support multiple users. Also Photoprism doesn’t have an official app which I can easily use on my phone to sync photos.

palitu@aussie.zone on 18 Dec 2023 20:44 next collapse

yeah the simple workflow of the app -> immich server makes it seamless. i think that is the magic part of immich, the barrier to entry for getting your photos in (and the WAF) is key.

JustEnoughDucks@feddit.nl on 20 Dec 2023 08:52 collapse

I think photoprism supports multiple users.

If you pay $72 per year…

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:08 next collapse

Photoprism has different approach. Last time I tried I wasn’t impressed. Immich, on the other hand, gives me almost identical experience to Google Photos. I was heavily using Google Photos, so this is probably the reason why I am pro-immich.

bdonvr@thelemmy.club on 20 Dec 2023 02:01 collapse

I’ve just set up an Immich server and the UI is nice and uploading is quite fast. Waiting for Google takeout to finish so I can import my whole library…

Also your Lemmy account is marked as a bot btw. Some people block bot accounts.

pimeys@lemmy.nauk.io on 16 Dec 2023 16:12 next collapse

Installed it because of this thread to my homelab today. I never really managed my phone images in any way, never uploaded them anywhere. This was the first time. About 5 gigabytes of images and videos were synced to my NAS in a few minutes, now I can search them and all that. It’s a pretty cool setup, although the installation is a bit tricky if you don’t go to the path they give you. I run a Postgres server in Proxmox, and you have to install just the right version of pgvecto.rs for the system to work.

Browsing the issues I was able to figure out what went wrong, and after downgrading, no issues.

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:10 collapse

But it’s not that difficult to dedicate Docker compose file for an “immich project” and use exactly as developer suggests. You are not like going to have 100+ users, more like 1-10 users and even RPI would be enough. It’s not an issue to have small database along immich project on the same host.

pimeys@lemmy.nauk.io on 17 Dec 2023 14:39 next collapse

It just doesn’t feel right to have multiple postgres databases running, if every other service uses the one in the network. Having already monitoring, disk space and backups set…

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:50 next collapse

Think this way: postgress db is just part of immich. That’s it - separate your services into logical units.

That’s actually makes more sense to do at home lab. Bringing down your main DB breaks a lot of your services. By separating - only part would be broken.

My postgress db lives in the same docker compose file where immich is. If I decide to delete immich - it’s very simple to run “docker compose down” and delete folders. :)

rentar42@kbin.social on 18 Dec 2023 10:35 collapse

Ask yourself what your "job" in the homelab should be: do you want to manage what apps are available or do you want to be a DB admin? Because if you are sharing DB-containers between multiple applications, then you've basically signed up to checking the release notes of each release of each involved app closely to check for changes like this.

Treating "immich+postgres+redis+..." as a single unit that you deploy and upgrade together makes everything simpler at the (probably small) cost of requiring some more resources. But even on a 4GB-ram RPi that's unlikely to become the primary issue soon.

bdonvr@thelemmy.club on 20 Dec 2023 02:03 collapse

Though if you have something better than a Pi that would be ideal. Then it can do nice things like face detection, object detection for search, and transcoding.

Tippon@lemmy.dbzer0.com on 16 Dec 2023 16:28 next collapse

Any idea how it compares to Synology Photos?

rambos@lemm.ee on 16 Dec 2023 17:49 next collapse

I have no idea, but I heard only good things about both of them

Tippon@lemmy.dbzer0.com on 16 Dec 2023 18:34 collapse

Thanks :)

CCMan1701A@startrek.website on 16 Dec 2023 22:27 next collapse

I think you can use Synology photos as the backup for the images and this as your front end … But not sure haven’t done it.

Tippon@lemmy.dbzer0.com on 17 Dec 2023 00:48 collapse

I’ll look into that, thanks :)

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:12 collapse

A bit off topic, but Synology Photos is not vendor-agnostic and open source sofrware that you can host on your RPI or home server. It’s Synology NAS specific, isn’t it?

Tippon@lemmy.dbzer0.com on 22 Dec 2023 02:16 collapse

That’s right, yeah. I’ve already got the NAS and my photos are on it though, so for my case, I may as well use it unless it’s got any flaws or deficiencies :)

nutbutter@discuss.tchncs.de on 16 Dec 2023 14:45 next collapse

The only thing preventing me to move from photoview to immich is the lack of sorting/viewing photos by folder hierarchy. I love the UI and the machine learning customisation options. They recently added the “external albums” feature, so I am hoping this folder hierarchy thing, too, will soon be implemented.

LemmeeUser1@lemm.ee on 17 Dec 2023 00:18 next collapse

Anyone tried to install this on casaos?

Kir@feddit.it on 17 Dec 2023 12:48 collapse

Yeah, it’s running Great. Use the BigBear shop version, it’s basically ready-to-go

nucleative@lemmy.world on 17 Dec 2023 03:19 next collapse

The only thing holding me back with Immich has been the non-obvious back end storage options.

I’d like to keep my data in an S3 bucket, but from what I can tell it’s still unsupported because of some limitations with fuse.

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:06 next collapse

Just a question - are you considering AWS unlimited S3 storage where you pay-as-you-use?

nucleative@lemmy.world on 17 Dec 2023 23:55 collapse

Yes. I want to put it into cloud storage that I control and can move around as required, so that I can’t run out of space. And so that I don’t need to manage a local physical drive.

palitu@aussie.zone on 18 Dec 2023 20:43 collapse

i semi-agree. i added a feature request explicitly asking for that in the really early days of the project.

What i REALLY want from the project is adding to the 3-2-1 type of backup strategy. I want it to also store a backup in an external system. something like local filesystem like it is now, then have a versioned type of backup in an S3 compatible buckets (backblaze B2??). something like a simple borg backup or other incremental backup system.

since it talks a lot about backup of photos, i dont really see it is a backup solution.

note: i LOVE immich

bdonvr@thelemmy.club on 20 Dec 2023 02:06 collapse

I think I’ll have to do this myself, separately.

Opeth@lemm.ee on 17 Dec 2023 06:43 next collapse

I actually managed to fuck the install up lmao. I run my own postgres so I used the image with extension from the docs. I picked version 0.1.13 since i thought a patch version wouldn’t matter, psych, it did. Had to go back to immich v1. 8something because it wouldn’t connect even after changing postgres back to the 0.1.11 version mentioned in the docs. Less beer more reading.

rambos@lemm.ee on 17 Dec 2023 07:06 collapse

Why dont you run 2nd posgres instance for immich only? Maybe there is a good reason that Im not aware of, but they changed database image in 1.91.0

storm@lemm.ee on 17 Dec 2023 07:02 next collapse

Playing with the demo, it lacks adding text/captions and reordering photos compared to Google Photos. Any other suggestions?

WindowsEnjoyer@sh.itjust.works on 17 Dec 2023 14:05 collapse

Considering that it’s free, always improving and self-hosted, I am more than happy that it lacks some minor features from Google Photos. :) It’s not perfect, but I can relax that nothing like this would happen to me:

theguardian.com/…/google-csam-account-blocked

qjkxbmwvz@lemmy.sdf.org on 18 Dec 2023 01:06 collapse

Not only that, but Google Photos already pulled a huge bait-and-switch. It used to be free unlimited photo storage for compressed photos…until they just stopped.

I love immich!

Decronym@lemmy.decronym.xyz on 17 Dec 2023 14:15 next collapse

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
NAS Network-Attached Storage
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer

2 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.

[Thread #360 for this sub, first seen 17th Dec 2023, 14:15] [FAQ] [Full list] [Contact] [Source code]

friend_of_satan@lemmy.world on 19 Dec 2023 19:41 next collapse

After seeing this post I finally gave it a whirl. After a few days of use, I’ve decided to stick with photoprism. It’s interesting to see how they each have different strengths. I think immich looks more promising, but I ran into problems with a ton of missing thumbnails, map photo clusters that weren’t actionable, black panorama images, and some things in the UI that I just wasn’t into. Great app though! It’s really exciting to see multiple self hosted image apps being developed. I kept my launch configs and customizations and will give it another look in 3-6 months.

Shimitar@feddit.it on 01 Jan 2024 08:12 next collapse

40+ years of photos already sorted into albums and sub albums make immich useless to me. I am using LibrePhoto which feels slower but works as well.

We will see what the future holds for both projects.

SpecGeo@lemmy.world on 05 Jan 2024 16:24 collapse

Immich supports external folders now. You can mount them as read only.

Shimitar@feddit.it on 05 Jan 2024 18:51 collapse

Interesting… But worth migrating from LibrePhotos? Does immich support base-path? To reverse-proxy as whatever/photos instead of photos.Whatever?

SpecGeo@lemmy.world on 05 Jan 2024 23:03 collapse

Never used Librephoto, regarding base path support I don’t think Immich supports that.

Shimitar@feddit.it on 11 Jan 2024 11:20 collapse

No it doesn’t. Seems devs don’t care. Anyway, testing immich now, let’s see.

SpecGeo@lemmy.world on 05 Jan 2024 23:19 collapse

Over the holidays I experimented with Immich, especially after they added support for existing folders. These are my initial thoughts comparing it to PhotoPrism.

I find the application quite appealing; it runs more smoothly on both web and mobile platforms compared to PhotoPrism (PP). However, it lacks the polish and some of the features present in PP, such as sidebar options for different views.

The face detection functionality in Immich differs from PP. It works well, especially when identifying younger versions of people. However, it struggles to distinguish between many mother-son pictures, and sister-sister. I adjusted the threshold, but now I have to manually merge clusters of images. It’s inconvenient that I can only merge 5 clusters at a time, and there’s no way to change this in the configuration. This limitation is frustrating. However, the ability to have multiple accounts and share photos is a positive feature.

I appreciate the story-like feature that shows what happened ‘n’ years ago, but it’s disappointing that others you share the library with can’t see it. Also, the mobile and web applications lack consistency; for example, merging photos and getting suggestions for existing names is not possible on the mobile version.

My feelings about Immich are mixed, and I hope the app continues to be developed and improved.