Hey,

so i have a nextcloud docker instance running and i want to set up immich aswell. But the photos are nested inside the nextcloud folder structure and are all owned by www-data user. What is the easiest way to get immich access to them without duplicating them with the proper permissions?

I want the files to exist once.

  • denshirenji@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    I run both, and I do not upload pictures to Nextcloud. I know it doesn’t solve your problem about a Nextcloud instance already running with the photos, but I highly recommend moving over to immich for your photos needs and using it’s file structure. I.E. reuploading the files and deleting them from Nextcloud. If someone does have a better way to do it, I could have used it a few months ago, lol.

    • Scipitie@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      Then you need a third application (e.g. syncthing) to replicate the auto upload functionality of Nextcloud.

      Personally I don’t want to have same functionality in a different stack because of pipeline issues. Doesn’t solve OPs issue I just wanted to point out that your solution might have drawbacks OP didn’t see at first glance :)

      • denshirenji@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        Not sure you do. Maybe you can use one to move the existing files on Nextcloid, but immich has an auto upload feature that works perfectly fine on their android app.

  • WhyAUsername_1@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    Just throwing out an idea, could you create an smb share from nextcloud. Mount that smb in the server that hosts Immich( even if it’s the same server that hosts nextcloud).

    Now, in Immich add an external library. The path of external library could be the smb mount.

    Consider testing this, if it works for you.