Immich crashes at startup — looking for upload/upload/.immich despite correct mount
I'm self-hosting Immich on a VM (Ubuntu, Docker Compose), and trying to store all uploaded media directly in: /mnt/library/Sources/Phones
My setup:
docker-compose.yml (relevant snippet):
Folder structure on host:
Even with the correct env vars and mounts, Immich still crashes with:
Failed to read upload/upload/.immich
It appears to be appending upload/ again on top of the UPLOAD_LOCATION.
What I’ve tried:
Have all user uploads land directly in /mnt/library/Sources/Phones, not inside a nested upload/ folder. What's the correct way to structure this to avoid the upload/upload/.immich fallback?
Thanks in advance! Happy to share full compose and env if needed.
My setup:
docker-compose.yml (relevant snippet):
Folder structure on host:
Even with the correct env vars and mounts, Immich still crashes with:
Failed to read upload/upload/.immich
It appears to be appending upload/ again on top of the UPLOAD_LOCATION.
What I’ve tried:
- Removing UPLOAD_LOCATION from .env
- Forcing it via environment: block
- Pulling latest image and running with -v
- Matching folder structure + .immich files exactly
Have all user uploads land directly in /mnt/library/Sources/Phones, not inside a nested upload/ folder. What's the correct way to structure this to avoid the upload/upload/.immich fallback?
Thanks in advance! Happy to share full compose and env if needed.