#External Library not scanning/no files found (solved)

1 messages · Page 1 of 1 (latest)

gloomy tapir
#

I want to add files as external library to my immich installation (docker compose)

what I did is:

1.) added folder to docker-compose to mount it to /data inside the container (server)
mentioning this folder is mounted as read-only to the host in the first time (but different tests later)
2.) checked using bash inside the docker container and i can see all files/images subfolders ...
(check picture)
3.) added /data:ro at admin-page to the user "external path" <--- ":ro" was suggested in helppage, removing :ro does not make it working
also tried adding /mnt pictures with permission 777 should have worked anyway
4.) added at the user account settings a external library
5.) added /data/mypictures as path in there
also tried adding /mnt/19100000 also not working

that's how it's supposed to be done according to the manual (https://immich.app/docs/features/libraries/)
tried to change trailing slashes, edited user/owner of the files as well as copied them to a different place changing 3.-5. accordingly, changed permission to 777

marble canyonBOT
#

:wave: Hey @gloomy tapir,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

marble canyonBOT
gloomy tapir
pliant gull
#

There's some problems. You are mounting to /data in your compose, not /mnt like you are in the web. And you are only doing it in the server container.

gloomy tapir
#

1st the experiment mounting /mnt as external lib. i used copies of files from /data ... to clearify this mounted /data folder is not the problem

#

2nd ok this is new ... so i need to have those files/folders mounted to every immich "app-part" ?

#

microservices, machine-learning, redis, database ?

pliant gull
#

No just the server and micro services

gloomy tapir
#

ah ... maybe this should be mentioned at the help-page since most people will use the docker-compose install and will run into this problem 😒

pliant gull
#

It's in the troubleshooting steps of the external library documentation

#

And in the usage example

gloomy tapir
#

? 😕 ok didn't find neither one

pliant gull
gloomy tapir
#

works now thanks ... found the pages

pliant gull
#

:ro is a docker command. Basically says mount the volume as read only. It's best practice to leave for volumes you don't want written too. Immich doesn't write to external libraries either way though. Or delete

gloomy tapir
#

i know about this, just wanted to point out it is on this example which should not have ": ro "

#

those might be confusing. thanks for your fast and perfect help 🙂

#

External Library not scanning/no files found (solved)

pliant gull
#

Ahh I see yes.

analog fiber
# gloomy tapir

Why should those not be ro? External libraries are atm read only

pliant gull