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?

all 24 comments

sorted by: hot top controversial new old
[–] 28 points 1 year ago (3 children)

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.

  • source
  • hideshow 3 child comments
  • [–] 9 points 1 year ago (2 children)

    As far as I know, the Jellyfin server flatpak is not made by the Jellyfin team, but by one from the community.

    So I don't see what would be stopping you from doing the same with Immich.

  • source
  • hideshow 2 child comments
  • [–] 16 points 1 year ago (1 child)

    Immich needs an external database.

    Jellyfin uses built-in sqlite.

  • source
  • hideshow 1 child comment
  • This is exactly why flatpaks are trickier for Immich - managing the PostgreSQL dependency outside the sandbox is a real headache since flatpak isolation would complicate the database conection, whereas Jellyfin's SQLite just works as a self-contained file.

  • source
  • parent
  • [–] 5 points 1 year ago* (last edited 1 year ago) (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 3 points 1 year ago* (last edited 1 year ago) (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 5 points 1 year ago* (2 children)

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

  • source
  • hideshow 2 child comments
  • [–] 2 points 1 year ago*

    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.

  • source
  • [–] 2 points 1 year ago

    Considering that Linus himself only makes binaries for windows and mac, and doesn't bother packaging for Linux because it's so painful, I'm not surprised that the immich folks didn't make one.

  • source
  • [–] 1 point 1 year ago

    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.

  • source
  • [–] 1 point 1 year ago* (2 children)

    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

  • source
  • hideshow 2 child comments
  • [–] 1 point 1 year ago (1 child)

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

  • source
  • hideshow 1 child comment