Immich gone bad after update
Posted by jackhammer57
updated to 230 earlier today. Then I updated the .env file for the immich upload folder. Now immich is having a hissy fit and keeps crashing. here is the log :2026-06-12T00:26:43.343137631Z Initializing Immich v2.7.5 52026-06-12T00:26:43.352537871Z Detected CPU Cores: 2 z2026-06-12T00:26:45.707659358Z (node:7) ExperimentalWarning: WASI is an experimental feature and might change at any time g2026-06-12T00:26:45.707692877Z (Use node --trace-warnings ... to show where the warning was created) 32026-06-12T00:26:46.768550180Z Starting api worker =2026-06-12T00:26:46.776852833Z Starting microservices worker z2026-06-12T00:26:49.314429488Z (node:7) ExperimentalWarning: WASI is an experimental feature and might change at any time g2026-06-12T00:26:49.314461981Z (Use node --trace-warnings ... to show where the warning was created) {2026-06-12T00:26:49.345333279Z (node:24) ExperimentalWarning: WASI is an experimental feature and might change at any time g2026-06-12T00:26:49.345363321Z (Use node --trace-warnings ... to show where the warning was created) �2026-06-12T00:26:49.407302968Z [32m[Nest] 7 - [39m06/11/2026, 5:26:49 PM [32m LOG[39m [33m[Microservices:WebsocketRepository][39m [32mInitialized websocket server[39m �2026-06-12T00:26:49.963274132Z [32m[Nest] 7 - [39m06/11/2026, 5:26:49 PM [32m LOG[39m [33m[Microservices:DatabaseRepository][39m [32mtargetLists=1, current=1 for clipindex of 0 rows[39m �2026-06-12T00:26:49.963994321Z [32m[Nest] 7 - [39m06/11/2026, 5:26:49 PM [32m LOG[39m [33m[Microservices:DatabaseRepository][39m [32mtargetLists=1, current=1 for faceindex of 0 rows[39m �2026-06-12T00:26:49.967358950Z [32m[Nest] 7 - [39m06/11/2026, 5:26:49 PM [32m LOG[39m [33m[Microservices:DatabaseRepository][39m [32mRunning migrations[39m �2026-06-12T00:26:50.058594464Z [32m[Nest] 7 - [39m06/11/2026, 5:26:50 PM [32m LOG[39m [33m[Microservices:DatabaseRepository][39m [32mFinished running migrations[39m �2026-06-12T00:26:50.091665049Z [32m[Nest] 7 - [39m06/11/2026, 5:26:50 PM [32m LOG[39m [33m[Microservices:DatabaseService][39m [32mChecking for schema drift[39m �2026-06-12T00:26:50.186889749Z [32m[Nest] 7 - [39m06/11/2026, 5:26:50 PM [32m LOG[39m [33m[Microservices:DatabaseService][39m [32mNo schema drift detected[39m 62026-06-12T00:26:50.190941432Z [32m[Nest] 7 - [39m06/11/2026, 5:26:50 PM [32m LOG[39m [33m[Microservices:StorageService][39m [32mVerifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}[39m (2026-06-12T00:26:50.191709397Z [31m[Nest] 7 - [39m06/11/2026, 5:26:50 PM [31m ERROR[39m [33m[Microservices:StorageService][39m [31mFailed to read (/usr/src/app/upload/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/usr/src/app/upload/encoded-video/.immich'[39m �2026-06-12T00:26:50.194451095Z microservices worker error: Error: Failed to read: "<UPLOADLOCATION/encoded-video/.immich (/usr/src/app/upload/encoded-video/.immich) - Please see https://docs.immich.app/administration/system-integrityfolder-checks for more information.", stack: Error: Failed to read: "<UPLOADLOCATION/encoded-video/.immich (/usr/src/app/upload/encoded-video/.immich) - Please see https://docs.immich.app/administration/system-integrityfolder-checks for more information." �2026-06-12T00:26:50.194491582Z at StorageService.verifyReadAccess (/usr/src/app/server/dist/services/storage.service.js:130:19) g2026-06-12T00:26:50.194497502Z at async /usr/src/app/server/dist/services/storage.service.js:57:21 p2026-06-12T00:26:50.194501528Z at async /usr/src/app/server/dist/repositories/database.repository.js:392:27 �2026-06-12T00:26:50.194504989Z at async /usr/src/app/server/nodemodules/.pnpm/kysely@0.28.14/nodemodules/kysely/dist/cjs/kysely.js:541:20 �2026-06-12T00:26:50.194508566Z at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/nodemodules/.pnpm/kysely@0.28.14/nodemodules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) p2026-06-12T00:26:50.194512208Z at async /usr/src/app/server/dist/repositories/database.repository.js:389:13 G2026-06-12T00:26:50.199904596Z microservices worker exited with code 1 32026-06-12T00:26:50.199934192Z Killing api process
1 replies
tomspark wrote:
Good news first: your photos are safe, nothing's lost. The crash is coming from that .env change, not the update. Immich leaves tiny marker files inside its photo folder, and when you pointed it at a different folder it couldn't find them, so it refuses to start (that 'encoded-video/.immich no such file' line). The fix is to put that upload-folder line in /opt/sparkbox/.env back to exactly what it was before you edited it, then run sudo sparkbox up immich. If you're not sure what it was, tell me the line you changed and the path you changed it to and I'll give you the exact one to set it back to.