© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•7mo ago•
6 replies
Jupiler

"Detected an inconsistent media location"

On Unraid, after upgrading from immich
1.135.3
1.135.3
to
1.137.1
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
[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
/photos
path? But that path is setup by the Unraid container parameters, I didn't change anything between
1.135.3
1.135.3
and
1.137.1
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'
 -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'
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

change media location
ImmichIImmich / help-desk-support
3w ago
Network Media Location Fail #immich#
ImmichIImmich / help-desk-support
2mo ago
Updated unraid CA docker container to 1.137.1, can't solve inconsistent media location
ImmichIImmich / help-desk-support
7mo ago
(TRUENAS Scale) Inconsistent media location after migration [app ver 1.133.1 to 1.142.1]
ImmichIImmich / help-desk-support
5mo ago