A case for an Immich Flatpak
from rfr_Foglia@feddit.it to selfhosted@lemmy.world on 17 Jul 14:15
https://feddit.it/post/19743925

Jellyfin Server has a flatpak (and other packing formats too) version that you can easily install without docker directly on your PC. Would it make sense for Immich to do the same? In my mind it would be super useful, I could sync my photos when my PC is on and when is off rely on my local photos only since my main goal is having a backup of them.

Am I crazy or it makes sense?

#selfhosted

threaded - newest

Appoxo@lemmy.dbzer0.com on 17 Jul 14:20 next collapse

Immich needs an external database.

Jellyfin uses built-in sqlite.

dgdft@lemmy.world on 17 Jul 14:25 next collapse

It’s extra work to maintain and test another release format — and the core developers want to focus on making software.

No one is stopping you from rolling your own flatpak.

ISolox@lemmy.world on 17 Jul 14:40 next collapse

I guess I’m a bit confused, immich does have a few docker containers available, I’m using one for backups and it works great.

vhstape@lemmy.sdf.org on 17 Jul 14:50 next collapse

My understanding is that Flatpaks are generally reserved for GUI applications and not command-line tools or servers. I’m not sure it’s the ideal format for Immich.

That said—and I’m probably going to get hate for this—there is an Immich snap package that does just what you’re looking for.

rfr_Foglia@feddit.it on 17 Jul 15:02 next collapse

Thanks man, I’m gonna try it asap

lena@gregtech.eu on 17 Jul 17:02 next collapse

Snap is amazing for CLI stuff

illusionist@lemmy.zip on 17 Jul 19:25 collapse

Nothing in Flatpak stipulates that it only supports GUI applications.

In fact the tutorial offers to create a CLI application:

unix.stackexchange.com/…/does-flatpak-support-com…

avidamoeba@lemmy.ca on 17 Jul 15:32 next collapse

It probably can be packaged in a flatpak but it would be more of a challenge than using the docker package. You could implement your use case today with the default docker compose setup. You could be up and running in minutes. Start it with -d and it would even start automatically on reboot. It won’t consume any more resources than a flatpak version.

Just try this in a directory somewhere: immich.app/docs/install/docker-compose/

As for docker itself, if you’re on Ubuntu or Debian, you can use the docker version from the stock repos. The package is docker.io and for compose you want docker-compose-v2

priapus@piefed.social on 17 Jul 16:23 next collapse

If your goal is simply having a backup then Immich is probably overkill. Why not just use something like Syncthing?

PoisonedPrisonPanda@discuss.tchncs.de on 17 Jul 19:29 collapse

  • for syncthing. it aint a backup solution. but it makes life simpler
darkan15@lemmy.world on 17 Jul 20:36 next collapse

In my mind it would be super useful, I could sync my photos when my PC is on and when is off rely on my local photos only since my main goal is having a backup of them.

You could do this perfectly with the docker version, so just curiosity here, why not user docker?

Is it because you don’t want to install docker for only Immich? (you could also install other selfhosted server/apps as bonus),

would you be against snap? As someone already mentioned, there is a snap version.

If the important thing is having backups of your photos, there are alternative apps with different packaging formats.

You could make a request for flatpak, and see if other users also would like it, but you would have to wait for feedback from devs and understand if they don’t have the resources or willingness to maintain it.

Am I crazy or it makes sense?

If I’m interested in a specific app, I see what packaging formats it has and see how to install it and try it out. Only if I’m having issues with it (that can’t be solved), or can’t run it on my specific distro with the available packaging formats, I try to suggest/request a different format.

carloshr@lile.cl on 17 Jul 23:50 next collapse

does jellyfin have a flatpak app for the server or is it just the client app? So far I know it is just the client.
I think the easiest way to install immich is with docker.

@rfr_Foglia @selfhosted

HybridSarcasm@lemmy.world on 18 Jul 00:11 next collapse

Surely this is better-suited for the Immich GitHub Discussions page, no?

bitwolf@sh.itjust.works on 18 Jul 00:54 collapse

A podman quadlet would be a great way to manage the Immich container.

Keep in mind your system will already have the plumbing for podman. So it’s not as bad if you’re averse to using docker.

It’d be managed as a systemd unit. IMO its a better method than flatpak.