this post was submitted on 16 Dec 2023
230 points (97.5% liked)

Selfhosted

39239 readers
298 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 1 year ago
MODERATORS
 

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

top 50 comments
sorted by: hot top controversial new old
[–] DavidGarcia@feddit.nl 23 points 9 months ago (2 children)

the color scheme of that icon physically hurts to look at

[–] juli@programming.dev 2 points 9 months ago

Time to use arcticons

load more comments (1 replies)
[–] Norgur@kbin.social 19 points 9 months ago (3 children)

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.

[–] MangoPenguin@lemmy.blahaj.zone 13 points 9 months ago

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.

[–] Discover5164@lemm.ee 13 points 9 months ago (1 children)

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 15 points 9 months ago

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

[–] roofuskit@lemmy.world 7 points 9 months ago (2 children)

Do not have docker containers auto update.

[–] DeltaTangoLima@reddrefuge.com 3 points 9 months ago (1 children)

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 3 points 9 months ago (1 children)

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

[–] DeltaTangoLima@reddrefuge.com 4 points 9 months ago (1 children)

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 2 points 9 months ago (2 children)

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. πŸ˜…

[–] DeltaTangoLima@reddrefuge.com 2 points 9 months ago

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.

Β―\_(ツ)_/Β―

[–] azertyfun@sh.itjust.works 2 points 9 months ago

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.

[–] Chewy7324@discuss.tchncs.de 2 points 9 months ago* (last edited 9 months ago)

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

Edit : Which Immich isn't.

[–] Brtrnd@feddit.nl 9 points 9 months ago (3 children)

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

[–] Tywele@lemmy.dbzer0.com 5 points 9 months ago* (last edited 9 months ago) (2 children)

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.

load more comments (2 replies)

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 2 points 9 months ago

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.

[–] slampisko@lemmy.world 7 points 9 months ago (2 children)

Looks interesting, thanks for the rec!

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

[–] dodekaphilist@lemmy.world 13 points 9 months ago (1 children)
load more comments (1 replies)
[–] garbles0808@programming.dev 6 points 9 months ago (1 children)

You can use Google Takeout to request all of your Google photos to be downloaded

[–] AbsurdityAccelerator@lemmy.world 3 points 9 months ago (3 children)

And don't forget to change the default file export size. The default is 2gb, which for me resulted in over 300 files to download and there's no easy to way to automate it. 50gb is max which was much better for me

load more comments (3 replies)
[–] pimeys@lemmy.nauk.io 6 points 9 months ago (1 children)

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 1 points 9 months ago (2 children)

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 2 points 9 months ago (2 children)

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...

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 2 points 9 months ago

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.

load more comments (1 replies)
[–] dadrad@midwest.social 6 points 9 months ago

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.

[–] nutbutter@discuss.tchncs.de 5 points 9 months ago

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.

[–] Decronym@lemmy.decronym.xyz 4 points 9 months ago* (last edited 8 months ago)

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]

[–] nucleative@lemmy.world 3 points 9 months ago (3 children)

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 1 points 9 months ago (1 children)

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

load more comments (1 replies)
load more comments (2 replies)
[–] storm@lemm.ee 2 points 9 months ago (1 children)

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

[–] WindowsEnjoyer@sh.itjust.works 4 points 9 months ago (1 children)

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:

https://www.theguardian.com/technology/2022/aug/22/google-csam-account-blocked

[–] qjkxbmwvz@lemmy.sdf.org 2 points 9 months ago (1 children)

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!

I am not concerned about that. Business primary goal is to make money, and Google is business, so any free service is temporary, especially if not powered by ads.

[–] Tippon@lemmy.dbzer0.com 2 points 9 months ago (4 children)

Any idea how it compares to Synology Photos?

[–] rambos@lemm.ee 2 points 9 months ago (1 children)

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

load more comments (1 replies)
[–] WindowsEnjoyer@sh.itjust.works 1 points 9 months ago (1 children)

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?

load more comments (1 replies)
load more comments (2 replies)
[–] Opeth@lemm.ee 2 points 9 months ago (1 children)

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.

load more comments (1 replies)
[–] friend_of_satan@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

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.

[–] milan@discuss.tchncs.de 1 points 9 months ago (2 children)

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 :/

[–] roofuskit@lemmy.world 6 points 9 months ago

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.

[–] MangoPenguin@lemmy.blahaj.zone 4 points 9 months ago* (last edited 9 months ago) (2 children)

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

load more comments (2 replies)
[–] agimus@startrek.website 1 points 9 months ago (2 children)

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 6 points 9 months ago

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.

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.

load more comments
view more: next β€Ί