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

  • Norgur@kbin.social
    link
    fedilink
    arrow-up
    21
    arrow-down
    3
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year 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
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      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

      • DeltaTangoLima@reddrefuge.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        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
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          2
          ·
          1 year ago

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

          • DeltaTangoLima@reddrefuge.com
            link
            fedilink
            English
            arrow-up
            7
            arrow-down
            4
            ·
            1 year ago

            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
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              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
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 year 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.

              • DeltaTangoLima@reddrefuge.com
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year 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.

                ¯\_(ツ)_/¯

      • Chewy@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

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

        Edit : Which Immich isn’t.

  • Brtrnd@feddit.nlB
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

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

    • Tywèle [she|her]@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.

    • bdonvr@thelemmy.club
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year 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.

    • WindowsEnjoyer@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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.

  • slampisko@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Looks interesting, thanks for the rec!

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

  • pimeys@lemmy.nauk.io
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        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
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          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
          link
          fedilink
          arrow-up
          2
          ·
          1 year 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.

      • bdonvr@thelemmy.club
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.

  • dadrad
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year 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
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year 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.xyzB
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year 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
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.

    • palitu@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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

      • nucleative@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.

  • storm@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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

  • friend_of_satan@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year 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.

  • Opeth@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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

  • Shimitar@feddit.it
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

  • AGIMUS@startrek.website
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year 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.

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      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.