Immich Migration to new storage format

First thanks in advance for your help and i should say i’m a newbie!
I’ve followed the guidelines on the immich official page and almost everything went fine!
I say almost, because after the update the immich app deploys but the server doesn’t start. It’s always trying bur never accomplish!
This is the log error of the server failure:
2025-10-06 19:04:59.725845+00:00Initializing Immich v2.0.1
2025-10-06 19:04:59.729495+00:00Detected CPU Cores: 4
2025-10-06 19:05:01.083669+00:00Starting api worker
2025-10-06 19:05:01.088376+00:00Starting microservices worker
2025-10-06 19:05:02.500073+00:00e[32m[Nest] 7 - e[39m10/06/2025, 8:05:02 PM e[32m LOGe[39m e[33m[Microservices:EventRepository]e[39m e[32mInitialized websocket servere[39m
2025-10-06 19:05:02.564902+00:00e[32m[Nest] 7 - e[39m10/06/2025, 8:05:02 PM e[32m LOGe[39m e[33m[Microservices:DatabaseRepository]e[39m e[32mtargetLists=1, current=1 for clip_index of 16876 rowse[39m
2025-10-06 19:05:02.569518+00:00e[32m[Nest] 7 - e[39m10/06/2025, 8:05:02 PM e[32m LOGe[39m e[33m[Microservices:DatabaseRepository]e[39m e[32mtargetLists=1, current=1 for face_index of 29456 rowse[39m
2025-10-06 19:05:02.611643+00:00e[32m[Nest] 7 - e[39m10/06/2025, 8:05:02 PM e[32m LOGe[39m e[33m[Microservices:StorageService]e[39m e[32mVerifying system mount folder checks, current state: {“mountChecks”:{“thumbs”:true,“upload”:true,“backups”:true,“library”:true,“profile”:true,“encoded-video”:true}}e[39m
2025-10-06 19:05:02.611975+00:00e[31m[Nest] 7 - e[39m10/06/2025, 8:05:02 PM e[31m ERRORe[39m e[33m[Microservices:StorageService]e[39m e[31mFailed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich’e[39m
2025-10-06 19:05:02.613598+00:00microservices worker error: Error: Failed to read: “<UPLOAD_LOCATION>/encoded-video/.immich (/data/encoded-video/.immich) - Please see *** can’t copy the link provided *** for more information.”, stack: Error: Failed to read: “<UPLOAD_LOCATION>/encoded-video/.immich (/data/encoded-video/.immich) - Please see *** can’t copy the link provided *** for more information.”
2025-10-06 19:05:02.613631+00:00at StorageService.verifyReadAccess (/usr/src/app/server/dist/services/storage.service.js:129:19)
2025-10-06 19:05:02.613645+00:00at async /usr/src/app/server/dist/services/storage.service.js:56:21
2025-10-06 19:05:02.613653+00:00at async /usr/src/app/server/dist/repositories/database.repository.js:379:27
2025-10-06 19:05:02.613659+00:00at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:535:20
2025-10-06 19:05:02.613671+00:00at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
2025-10-06 19:05:02.613678+00:00at async /usr/src/app/server/dist/repositories/database.repository.js:376:13
2025-10-06 19:05:02.624263+00:00microservices worker exited with code 1
2025-10-06 19:05:02.624488+00:00Killing api process

Is there anyone who can help me to restore the system to work?
INCLUDE SYSTEM INFORMATION

1 Like

It’s so annoying…i had a plenty working system and right now due to “upgrade folders structure” i have not!

I did find a workaround that will get you back up and running.

In the Immich settings in TrueNAS, under “Additional Environment Variables” Under “Immich Configuration”, add the following:

Name: IMMICH_IGNORE_MOUNT_CHECK_ERRORS
Value: true

Update at the bottom, and then attempt to start the app again.
I found that variable on the page listed in the error.

Edit:
My issue was that I didn’t have the proper folders set up since they’ve changed things. I fixed that and set them up, and now I can run Immich without any issues, without that variable. Just food for thought…

1 Like

IT WORKED :fireworks:
I really don’t know hot to express my gratitude to you🙏
Thanks a lot Man, really.

Never ending story !!!
Now everything seems to be working but i can’t see the photos.
When i try to go the administration on Immich i see this message:
Failed to get storage (500)
Stacktrace

ct@http://192.168.31.215:30041/_app/immutable/chunks/9kRnNcW7.js:1:5505
rt@http://192.168.31.215:30041/_app/immutable/chunks/9kRnNcW7.js:1:5409

Any clues?