Question about Immich
from blinfabian@feddit.nl to selfhosted@lemmy.world on 01 Nov 17:46
https://feddit.nl/post/45410668

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?

#selfhosted

threaded - newest

Shadow@lemmy.ca on 01 Nov 17:51 next collapse

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

I just gave it my giant lightroom library.

blinfabian@feddit.nl on 01 Nov 17:52 collapse

HOW i need it

Shadow@lemmy.ca on 01 Nov 17:54 collapse

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

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

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 on 01 Nov 18:06 collapse

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 on 01 Nov 18:28 collapse

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 on 01 Nov 19:04 collapse

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 on 01 Nov 19:15 collapse

Yes it’s docker… Immich is only deployed via docker.

Indeed its your docker mount points / volumes.

redlemace@lemmy.world on 01 Nov 17:52 next collapse

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

Player2@sopuli.xyz on 02 Nov 18:24 next collapse

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.

AtariDump@lemmy.world on 03 Nov 01:58 next collapse

Yes, it will scan recursively.

helvetpuli@sopuli.xyz on 03 Nov 04:29 next collapse

This might be relevant:

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

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

BCsven@lemmy.ca on 03 Nov 04:43 collapse

Are you using the CLI importer tool?