Unable to Scan Files from Library

I was trying to import libraries for both Photoprism and Immich, Photoprism was able to detect and scan all the files from the same library, but Immich seems failing to detect files. Immich was deployed by using "sudo docker compose up -d" command, and changed upload path values to use same library folders from Photoprism. Even creating external library path and scanning failed to detect files in the same folder. but uploading via Immich shows that they are indeed in the same foler. even Photoprism library scan shows files uploaded from Immich.
No description
No description
No description
No description
20 Replies
schuhbacca
schuhbacca2y ago
So you have gone into immich and created an external library with correct import paths to point to the folder with the images? Do you have the server log to see if there are any errors?
applelauncher
applelauncherOP2y ago
server log shows all green and no errors set external import path to same folder as Photoprism import folder. thus showing Photoprism being able to import screenshot(pictiure of a man), but Immich not being able to import picture(red photo).
schuhbacca
schuhbacca2y ago
I have not used the external libraries feature at this point, so I may not be the best person to help debug this.
applelauncher
applelauncherOP2y ago
How about default library? How do you edit default import folder? 'cuz my issue is that I've changed so many container values, to the point where I can't pinpoint which container sets the default import library
schuhbacca
schuhbacca2y ago
I believe the default library points here /usr/src/app/upload in the container. Outside the container it's wherever your docker compose points it. You can't add photos directly to the default library though from what I understand, you must upload them for them to appear in there
applelauncher
applelauncherOP2y ago
I see. So I can't upload photos to Immich server just by transferring to folder, but I need to upload it via Immich app? In that case, I guess I just have to upload the files via Immich and import those files again from photoprism. if I'm not mistaken, /usr/src/app/upload is immich server container host value right?
schuhbacca
schuhbacca2y ago
You can import into immich from the file system using external libraries, documented here: https://documentation.immich.app/docs/features/libraries For items to appear in the default library you have to upload using either the cli, website, or app. Correct: /usr/src/app/upload is the container value, you will map that to some real file system directory using the docker compose file/env file you setup. (Disclaimer, I'm still pretty new and working things out myself)
applelauncher
applelauncherOP2y ago
Was able to fix the issue by setting external path on administration > users. It finally loads but thumbnails are blur and won't load the images properly
schuhbacca
schuhbacca2y ago
Maybe try clicking on the library you created and scanning? Make sure the thumbnail generation job is running and check the server logs for any errors
applelauncher
applelauncherOP2y ago
server, microservices, machine-learning all pinging with errors....
No description
No description
No description
Alex Tran
Alex Tran2y ago
Hmm looks like something has gone wrong on your ends during the i@porting process Are you seeing all files with blurry thumbnails?
applelauncher
applelauncherOP2y ago
yes, all. and even viewing it shows broken image.
No description
No description
Alex Tran
Alex Tran2y ago
Do you mind nuke the instance and start over. Make sure to test with som upload images first to make sure the thumbnail get generated?
applelauncher
applelauncherOP2y ago
nuked the whole thing and started over with docker-compose and gave same result. now trying with install script and edited .env file to target file. now, it's not scanning files in the library. files stored in '/RaidZ1/Photoprism' folder, so i edited .env value to '/RaidZ1/Photoprism', and added User>External path and created external library. no good so far
Alex Tran
Alex Tran2y ago
If you upload a file, does the thumbnail get generated?
applelauncher
applelauncherOP2y ago
nothing. ssh shows files, directories are set right. i can't seem to find what's the problem on why it won't load the files. sadly logs shows all green and no errors this time.
No description
No description
No description
Alex Tran
Alex Tran2y ago
Can you post your docker-compose file?
applelauncher
applelauncherOP2y ago
just checked and since it was in default file location, changed to '/RaidZ1/Photoprism' then rebooted. no luck
No description
Alex Tran
Alex Tran2y ago
Ah you got your configuration incorrect
Alex Tran
Alex Tran2y ago
Please read this page, especially this section carefully https://immich.app/docs/features/libraries#mount-docker-volumes

Did you find this page helpful?