Hi all,
I’m running Immich on a QNAP NAS using Container Station. Everything was working great until I imported a large number of photos and then moved the library to a different folder.
Since then, the server has become very slow, and I’m seeing the following issues in the logs:
Duplicate key errors (UQ_assets_owner_checksum) when importing assets
BullMQ job lock errors (e.g., could not renew lock for job, lock mismatch)
If anyone has ideas on what might be causing this or suggestions for fixing the performance, I’d really appreciate the help.
Thanks in advance!
Error: could not renew lock for job 152957
at /usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:799:40
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Worker.extendLocks (/usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:789:9)
at async Timeout._onTimeout (/usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:739:29)
[Nest] 7 - 08/10/2025, 9:59:27 PM ERROR [Microservices:{"source":"upload","id":"1ef88fa2-0e13-48f6-b9e9-446a14f6423d"}] Unable to run job handler (AssetDetectFaces): Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"buffalo_l","options":{"minScore":0.7}},"recognition":{"modelName":"buffalo_l"}}}' failed for all URLs