ImmichI
Immich5mo ago
Jupiler

"Detected an inconsistent media location"

On Unraid, after upgrading from immich 1.135.3 to 1.137.1 the container starts but the app doesn't. I see the following errors in the container logs:

[Nest] 1373  - 07/31/2025, 7:45:01 PM     LOG [Api:StorageService] Verifying system mount folder checks, current state: {"mountFiles":true,"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 1373  - 07/31/2025, 7:45:01 PM     LOG [Api:StorageService] Successfully verified system mount folder checks
[Nest] 1373  - 07/31/2025, 7:45:01 PM     LOG [Api:StorageService] Media location changed (from=/usr/src/app/upload, to=/photos)
Error: Detected an inconsistent media location. For more information, see https://immich.app/errors#inconsistent-media-location
    at /app/immich/server/dist/services/storage.service.js:93:31
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async /app/immich/server/dist/repositories/database.repository.js:379:27
    at async /app/immich/server/node_modules/kysely/dist/cjs/kysely.js:535:20
    at async DefaultConnectionProvider.provideConnection (/app/immich/server/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
    at async /app/immich/server/dist/repositories/database.repository.js:376:13
api worker exited with code 1


something related to the /photos path? But that path is setup by the Unraid container parameters, I didn't change anything between 1.135.3 and 1.137.1.
When I check https://immich.app/errors#inconsistent-media-location it mentions to change IMMICH_MEDIA_LOCATION but I don't see that as one of the default params of the unraid configuration, should I add it? what value should set it to?

Here are my current paths settings:
 -v '/mnt/user/Photos/Immich':'/photos':'rw'
  -v '/mnt/user/Photos/Photos':'/libraries':'rw'
  -v '/mnt/user/Backup/Photos/':'/imports':'ro'
  -v '/mnt/user/appdata/immich':'/config':'rw'
Was this page helpful?