This thing changes versions faster than I can update my homelab... Lol.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Which isn't a great idea with all the breaking changes. I'd assume it gets better after v2, but still.
Your comment is spreading false information. With the stable release the Immich team has committed to no breaking changes except for major version upgrades, so if you pin to 2.x.x you will be perfectly fine
That's what I thought, but last time I looked I only saw a "release" tag, no "v2" tag. Did I miss something?
I automate my upgrades, but I also automate my backups, and monitoring.
If an upgrade breaks something, my health monitor lets me know and I can roll back to the previous day.
This is the way
The 2.0 release resolves a large amount of technical debt and shifts the focus toward compatibility and easier upgrades.
Why this complicated setup? Komodo handles auto update by itself. It also update the whole stack at once, so no shutdown of the BD while the app stays up. Just have 2 checkboxes to tick.
The less stuff the better, it's essential in case you have a failure. I only have to redeploy komodo, then all my stacks will be ready to get back online. I even removed watchtower.
This looks a lot more complicated that Watchtower. Is this something different or add other functionality?
I'm not familiar with Watchtower, I assume it will restart the container/stack if a new image is found. The biggest difference is that an edit to the git repo causing the container to be redeployed. This means the git repo becomes the source of truth and its possible to redeploy even when config changes get merged.
I've been running this setup for a few months now and haven't looked back. Works super well, and essentially acts as an approval process for letting a container update or not.
The author also recently added a followup article to this one for using Forgejo instead, made migrating the setup super easy.
Every day that I don't switch, immich keeps getting better!
Do it
Yeah I've been waiting until it's updates stop breaking backwards compatibility. It's sounding better and better as time goes on.
Wait no more! Immich 2.0 is the first stable release. https://github.com/immich-app/immich/releases/tag/v2.1.0
It might be time for me to make the switch, too Soo many things to selfhost and not enough time, but nextcloud had been annoying me for some time so it might get the priority
Oh shoot heck dang, time to fire this up!
I’m finally migrating from iCloud Photos to Immich next weekend. I finally have my NAS setup going
Can you please let us know how the transition went after a few weeks? I’m also considering the same but I’m also content with Apple Photos features like live photos etc.
I transitioned from Google photos to immich about a year ago:
-
face recognition is absurdly much better
-
searching for images is some black magic stuff
-
it's generally faster
-
it's map is really slow
Huh? The map isnt slow?
How many geotagged pictures do you have?
Live photos are supported but only in the web version as of now
Live Photos works in Immich.
One thing I really like about Apple photos is the memories that it suggests.
Immich also suggests photos. It works great under iOS.
Immich is such a cool piece of software 🤩
I love immich and as soon as the feature for automatic clean up for already backed up images is available it’s going to be perfect.
automatic stacking would be nice too
oh fuck me i missed the 2.0;-)
I mean, if you’re offering….
Those who run immich, how have you been backing up your library?
My deployment isn't anything fancy, it is currently a Raspberry Pi 4 with a 2TB external drive for the photo library. Been running for more than 6 months with minimal issues. Now that we are at a stable release I need to get some kinda backup going for the photos themselves.
Immich photos are one of the main thing I backup. I use duplicacy and I backup to backblaze B2 storage. It does incremental backups. Same thing with docker persistent data or other things I consider important.
The same way as all other services: all relevant data (compose.yml and all volume mounts) are in a btrfs subvolume. Every night a snapshot gets made and mirrored to a remote server by btrbk.
how much do you pay for the remote server? was thinking about doing something like this for nextcloud (and i might end up using immich in the future)
That server is also a homeserver I manage for family (in another city). The two homeservers then mutually back up each other.
I run Immich in a VM on Proxmox which gets backed up every 12 hours and all my photos are on the NAS which gets snapshotted every 12 hours and pushed to an external drive and a Hetzner box.
Translation: "I run immich in a virtual machine, which I can manage from a web browser. The photos themselves are stored on a different device which gets backed up to a remote location twice a day."
So why run immich in a virtual machine instead of in, say, a docker? Wouldn't that be way less overhead? (Or is immich the only thing you're hosting?)
I have a docker VM with a gpu passed through/external access (is this called production?) and another docker VM on another machine with no passthrough/external access. So both VMs are running multiple stacks/services and i just assign based on use case. Storage and memory are cheap imo and it's the most secure way to do it with the skill level i have so it's how i run it. I'm sure there's better ways but 🤷♂️
I backup the underlying storage (which is a VM) that immich writes to.
In theory it should be a perfect copy that just crashed.
Nothing fancy. I use Backrest for all my backups, and a few of my plans just include the Immich directory. My NAS is an entirely separate machine so my local backups go there, while everything is simultaneously pushed to a backblaze bucket
ZFS sending to a remotelab.