© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•9mo ago•
112 replies
Mai

System crashed and corrupted multiple files

Hello all, so I made an upload last week and it somehow crashed immich_server (even brought down my entire docker daemon, which is exceedingly strange).
After restarting everything, quite a few images were corrupted, and all the new uploads ever since also becomes corrupted.

I've tried regenerating thumbnails, re-pulling and redeploying, but nothing works. I am planning on re-creating everything from scratch, however, I am hoping to find a solution to this, in case it happens again in the future.

some error logs (couldn't find the logs when immich_server crashed):
[Nest] 7  - 05/18/2025, 12:16:41 AM   ERROR [Microservices:{}] Unable to run job handler (facialRecognition/undefined): TypeError: Cannot read properties of undefined (reading 'replaceAll')
    at JobService.onJobStart (/usr/src/app/dist/services/job.service.js:167:55)
TypeError: Cannot read properties of undefined (reading 'replaceAll')
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
Error: Missing lock for job queue-facial-recognition. failed
    at Scripts.finishedErrors (/usr/src/app/node_modules/bullmq/dist/cjs/classes/scripts.js:272:24)
    at Job.moveToFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/job.js:427:32)
    at async handleFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:379:21)
[Nest] 7  - 05/18/2025, 12:16:41 AM   ERROR [Microservices:{}] Unable to run job handler (facialRecognition/undefined): TypeError: Cannot read properties of undefined (reading 'replaceAll')
    at JobService.onJobStart (/usr/src/app/dist/services/job.service.js:167:55)
TypeError: Cannot read properties of undefined (reading 'replaceAll')
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
Error: Missing lock for job queue-facial-recognition. failed
    at Scripts.finishedErrors (/usr/src/app/node_modules/bullmq/dist/cjs/classes/scripts.js:272:24)
    at Job.moveToFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/job.js:427:32)
    at async handleFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:379:21)
2025-05-18_10.25.43.png
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Corrupted Files
ImmichIImmich / help-desk-support
3y ago
how to re-upload corrupted files
ImmichIImmich / help-desk-support
3y ago
Crash on "Generate Thumbnails" - Missing/Corrupted files
ImmichIImmich / help-desk-support
4mo ago
How to clean up corrupted files in /upload?
ImmichIImmich / help-desk-support
2mo ago