ImmichI
Immich12mo ago
mixu1308

Error loading image on brand new install

Hi, I've just setup a fresh install of Immich using the docker compose, .env and hwaccel file from the documentation. I have tried both with and without hwaccel and get the same issue.
The issue I am having is that every picture I upload show's the "Error loading image" text. I have tried regenerating thumbnails through the job in the admin panel, but that does not do anything. What does work is when I go to an individual picture, click the menu and then hit 'regenerate thumbnail'
In the docker logs I see a multiple errors for job handlers where it is unable to read the properties of 'replaceAll'

Hoping someone has some tips!

Here is the error log
[Nest] 6  - 01/21/2025, 5:46:08 PM    WARN [Microservices:JobRepository] Skipping unknown job: "undefined"
[Nest] 6  - 01/21/2025, 5:46:08 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/undefined): TypeError: Cannot read properties of undefined (reading 'replaceAll')
[Nest] 6  - 01/21/2025, 5:46:08 PM   ERROR [Microservices:JobService] TypeError: Cannot read properties of undefined (reading 'replaceAll')
    at JobService.onJobStart (/usr/src/app/dist/services/job.service.js:149:55)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134: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)
[Nest] 6  - 01/21/2025, 5:46:08 PM   ERROR [Microservices:JobService] Object:
{}

Error: Missing lock for job 1. 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 process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async handleFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:379:21)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
[Nest] 6  - 01/21/2025, 6:45:25 PM    WARN [Microservices:JobRepository] Skipping unknown job: "undefined"
[Nest] 6  - 01/21/2025, 6:45:25 PM   ERROR [Microservices:JobService] Unable to run job handler (backgroundTask/undefined): TypeError: Cannot read properties of undefined (reading 'replaceAll')
[Nest] 6  - 01/21/2025, 6:45:25 PM   ERROR [Microservices:JobService] TypeError: Cannot read properties of undefined (reading 'replaceAll')
    at JobService.onJobStart (/usr/src/app/dist/services/job.service.js:149:55)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134: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)
[Nest] 6  - 01/21/2025, 6:45:25 PM   ERROR [Microservices:JobService] Object:
{}

Error: Missing lock for job 1. 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 process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async handleFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:379:21)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
[...]
image.png
Was this page helpful?