this post was submitted on 01 Nov 2025
27 points (93.5% liked)

Selfhosted

60934 readers
502 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I have a complete file structure with years on years worth of photos and videos. I've learned you can add an external library to Immich and it'll scan the pics you have there, but is it possible for it to scan recursivley?

for example i give the path "/mnt/drive" and immich can find "/mnt/drive/cat/picture.jpeg". is this possible?

top 12 comments
sorted by: hot top controversial new old
[–] Shadow@lemmy.ca 27 points 8 months ago (1 children)

Yes. It'd be pretty silly of it not to.

I just gave it my giant lightroom library.

[–] blinfabian@feddit.nl 5 points 8 months ago (1 children)
[–] Shadow@lemmy.ca 11 points 8 months ago* (last edited 8 months ago) (1 children)

Like you have it running and added but it's not scanning?

I can check my config later today if nobody else replies sooner.

https://docs.immich.app/features/libraries/

External libraries use import paths to determine which files to scan. Each library can have multiple import paths so that files from different locations can be added to the same library. Import paths are scanned recursively, and if a file is in multiple import paths, it will only be added once.

Have you double checked your folder permissions?

[–] blinfabian@feddit.nl 2 points 8 months ago (1 children)

i double checken permissions and when i set its path to "/mnt/drive/cat" it can find every pic in there. but as mentioned when i set the path to "/mnt/drive" it cannot look into the folders i have on /drive. is there a setting i need to enable or something?

[–] Shadow@lemmy.ca 3 points 8 months ago (1 children)

Are you running it in docker? If so, did you bind the mount properly? Exec into sh in the container and manually test the folder.

If not docker, su to the immich user and test the same thing.

[–] blinfabian@feddit.nl 1 points 8 months ago (1 children)

i dont think its in docker. i run it as an app in truenas. and it does have the permissions to all folders in the main folder

[–] Shimitar@downonthestreet.eu 5 points 8 months ago

Yes it's docker... Immich is only deployed via docker.

Indeed its your docker mount points / volumes.

[–] Player2@sopuli.xyz 2 points 8 months ago

One option you have is to import your organized files into Immich through the immich-cli. That will make sure it ends up in the intended file structure.

[–] helvetpuli@sopuli.xyz 1 points 8 months ago

This might be relevant:

https://github.com/Salvoxia/immich-folder-album-creator

I haven't tried it myself, but I did see it referenced in another thread.

[–] redlemace@lemmy.world 1 points 8 months ago

I think it sould work, but That's why I went for homegallery (single binary executable)

[–] AtariDump@lemmy.world 1 points 8 months ago

Yes, it will scan recursively.

[–] BCsven@lemmy.ca 1 points 8 months ago

Are you using the CLI importer tool?