Replies: 2 comments 3 replies
-
Could you show you .env configuration? Did you set 'IMMICH_MEDIA_LOCATION'? As the message says, the media upload folder cannot be used for external libraries. |
Beta Was this translation helpful? Give feedback.
-
Ok, by looking at the code, I assume this is a bug. The immich/server/src/cores/storage.core.ts Lines 117 to 119 in 9b705e4 In my opinion, this is not done well, and the method should check, if the import path is a subfolder of We might need a maintainer to confirm, but that's just how I see it. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
Since updating to 1.99, scanning for my external library is no longer working for me. I have upgraded from 1.97.X or 1.98.X to 1.99. I can't remember the exact version before that.
I got this in the Logs
[Nest] 187 - 03/26/2024, 9:58:37 AM LOG [ImmichMicroservice] Immich Microservices is listening on http://[::1]:3002 [v1.99.0] [PRODUCTION] [Nest] 187 - 03/26/2024, 10:16:55 AM ERROR [LibraryService] Skipping invalid import path: /photos_library. Reason: Cannot use media upload folder for external libraries [Nest] 160 - 03/26/2024, 10:18:18 AM LOG [CommunicationRepository] Websocket Connect: 6YxErQmfn4YVmOY9AAAF [Nest] 187 - 03/26/2024, 10:16:55 AM LOG [LibraryService] Refreshing library: bbd31d37-7ef5-4927-8af1-f58efbe2b433 [Nest] 160 - 03/26/2024, 10:16:31 AM LOG [CommunicationRepository] Websocket Connect: clvldVUWtfcYvgRoAAAD [Nest] 160 - 03/26/2024, 10:16:31 AM LOG [CommunicationRepository] Websocket Disconnect: hnxZ0avJmzYXorD7AAAB [Nest] 160 - 03/26/2024, 10:00:51 AM LOG [CommunicationRepository] Websocket Connect: hnxZ0avJmzYXorD7AAAB
My last working scan was at the 16th of March
The external Library is setup as you can see in the picture:
Here you can see the volumes of the Container:
volumes: - /sharedfolders/docker/settings/immich/config:/config - /sharedfolders/docker/settings/immich/photos:/photos - /sharedfolders/docker/settings/immich/machine-learning:/config/machine-learning #optional - /sharedfolders/docker/settings/immich/import:/import:ro #optional - /sharedfolders/bilder/Privat:/photos_library:ro
Does anyone have any ideas?
Big Thanks
V
Beta Was this translation helpful? Give feedback.
All reactions