this post was submitted on 13 Feb 2024
15 points (100.0% liked)

Selfhosted

40212 readers
778 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] denshirenji 3 points 9 months ago (1 children)

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.

[–] [email protected] 2 points 9 months ago (1 children)

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 2 points 9 months ago (1 children)

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.

[–] [email protected] 2 points 9 months ago

I didn't know that about the immich app, thanks for pointing it out!