External Library not listing files

I have added a new path to an external library in Immich and although I have checked that the location is properly set and there are files there, it doesn't detect the files even after running a fresh on external libraries Any ideas?
18 Replies
Immich
Immich3w ago
:wave: Hey @! * Pau Cabrera, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
! * Pau Cabrera
! * Pau CabreraOP3w ago
The above output is part of the result of doing
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# ls
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# ls
Inside of the container The path in which the external share is setup is: /mnt/external_libraries/pau/google_photos_archive-1 And as seen in the terminal output it is accessible by the container and has files.
Zeus
Zeus3w ago
can you run md5sum on one of the files within the immich docker container like md5sum IMG_0284.JPG
! * Pau Cabrera
! * Pau CabreraOP3w ago
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# md5sum ./Photos_from_2020/20201206_212315.jpg
64ab549241ef130f003b58fc10f40a4e ./Photos_from_2020/20201206_212315.jpg
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1#
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# md5sum ./Photos_from_2020/20201206_212315.jpg
64ab549241ef130f003b58fc10f40a4e ./Photos_from_2020/20201206_212315.jpg
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1#
Zeus
Zeus3w ago
ok. can you please show the external setup in the immich admin UI?
! * Pau Cabrera
! * Pau CabreraOP3w ago
I forgot to mention the files are not directly into the path put in Immich, but in folders inside of it:
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# md5sum ./Photos_from_2020/20201206_212315.jpg
64ab549241ef130f003b58fc10f40a4e ./Photos_from_2020/20201206_212315.jpg
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# ls
Photos_from_2001 Photos_from_2009 Photos_from_2013 Photos_from_2015 Photos_from_2016 Photos_from_2017 Photos_from_2018 Photos_from_2019 Photos_from_2020 Photos_from_2021 archive_browser.html
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# md5sum ./Photos_from_2020/20201206_212315.jpg
64ab549241ef130f003b58fc10f40a4e ./Photos_from_2020/20201206_212315.jpg
root@464f34ba9913:/mnt/external_libraries/pau/google_photos_archive-1# ls
Photos_from_2001 Photos_from_2009 Photos_from_2013 Photos_from_2015 Photos_from_2016 Photos_from_2017 Photos_from_2018 Photos_from_2019 Photos_from_2020 Photos_from_2021 archive_browser.html
allow me a sec
! * Pau Cabrera
! * Pau CabreraOP3w ago
No description
Zeus
Zeus3w ago
I see 17k photos..?
! * Pau Cabrera
! * Pau CabreraOP3w ago
listed photos and pics are from the first path when I added this new path, no new media was added to the number even when I tried setting it up in another external library instead of adding a path to an existing one
Zeus
Zeus3w ago
I recommend setting it up as a new extertnal library and please show what it finds on the scan
! * Pau Cabrera
! * Pau CabreraOP3w ago
allow me a sec I'm forcing a refresh now done
! * Pau Cabrera
! * Pau CabreraOP3w ago
No description
Zeus
Zeus3w ago
very strange and this is mounted the same way as the photos_archive? can you share you compose and env?
! * Pau Cabrera
! * Pau CabreraOP3w ago
volumes:
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
- /mnt/nas/MEGA/a_Personal-Works/Personal/Photos:/mnt/photos_archive
- /mnt/nas/OTROS/ARCHIVE/Photos/A21s_phone/Photos:/mnt/external_libraries/pau/google_photos_archive-1
volumes:
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
- /mnt/nas/MEGA/a_Personal-Works/Personal/Photos:/mnt/photos_archive
- /mnt/nas/OTROS/ARCHIVE/Photos/A21s_phone/Photos:/mnt/external_libraries/pau/google_photos_archive-1
it is indeed mounted the same way @Zeus any ideas?
! * Pau Cabrera
! * Pau CabreraOP3w ago
It looks like the volume has to be mounted in the worker as well, the main server doesn't even try to list it
bo0tzz
bo0tzz3w ago
If you have separate workers, you need to mount all the volumes to all of them
! * Pau Cabrera
! * Pau CabreraOP3w ago
yeah, I totally forgot that. Once I have set it up in both, it is working now One thing though, if the worker is the one that lists and processes the assets, what do I want the main server with access to the files for? If in the end what I am loading in the clients is the thumbnails and converted media

Did you find this page helpful?