this post was submitted on 16 Apr 2024
42 points (95.7% liked)

Selfhosted

40246 readers
720 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
 

Is there an easy way to do this? I suppose I could just copy the files manually but is there a better option? Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 7 months ago* (last edited 7 months ago) (2 children)

Not familiar with the nextcloud side of things, but I just pulled all my photos from Google photos and imported them all to Immich. I'd imagine if you just have a folder full of images, it'd work the same way. During the Immich setup, you can designate an import folder. Point that import folder at your photos folder that you want to bring in. Once you have Immich up and running, you can use the terminal and run an import from the command line on that import folder. You'll have to make an API key for the CLI to use, but you can make that in the settings. Immich doesn't currently support mass importing from inside the UI, so this is the only way I've found to do it. The import ran fast for me though, went though 125gb of photos and videos in about 5 mins.

Relevant link

[–] [email protected] 4 points 7 months ago

Switching from Google photos to immich was one of the best uses for server I've ever implemented. Amazing piece of software and one of the best open sources projects in a long time

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

Alternatively you can just use external library and point it to nextcloud photos folder. That way you can't edit or delete files in immich, but you can see them just like any other picture. I upload everything from my phone to immich, but still have some folder organized photos in nextcloud.

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

Can Immich show external libraries separately or does it mix all the photos together?

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

Uff that's a bit of a deal breaker.

I've tried Immich before and it's fine for uploaded photos because it detects it's the same photo even if you rename it. But as long as it doesn't do that for photos from external libraries I can't trust to put anything into its albums. And if I can't use its albums to organize and everything is dumped into one big pile it's a show stopper.

The only workaround I can think of would be to make multiple users and load different external libraries to different users, but it's not a great solution. The mobile app doesn't support multiple users anyway, I'd have to logout and login all the time.

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

There Is a CLI tool to upload folders as albums and it keeps them as their original folders. The CLI didn't work for me and I've read others had the same issue. Found a solution was to use immich-go which is a tool someone else made and it worked for me.

Tried to upload a screenshot but it's not working 🤔

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

Thanks anyway but until Immich can deduplicate photos from libraries it's a no-go for me. If I move or rename photos on folders I would lose album association as it is now.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Tried again and it worked lol. This is albums from folders in a file directory uploaded to immich using immich-go.

All good, just sharing my experience... I'm enjoying immich. 🤷‍♂️

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

The only problem there is that, at least a whole ago, you will get duplicate images. Between the external library and your app upload

[–] [email protected] 1 points 7 months ago

If I understand correctly, that would happen only if you upload same files to both nextcloud and immich, but I dont see a reason to do that.