Jobs stopped running

I uploaded my photos to Immich und at some point the Jobs stopped. There are many Photos waiting but the active ones never get finished. Restarting the docker Containers doesn't help.
No description
No description
No description
8 Replies
EnochPrime
EnochPrime3y ago
Are there errors in the logs?
linux_typ
linux_typOP3y ago
I dont quite know what to look for. I am not even shure in which docker log i should look.
bo0tzz
bo0tzz3y ago
Probably the immich_microservices log
linux_typ
linux_typOP3y ago
I just noticed that the immich_microservices container didnt even start. There are many "ERROR [MediaService] Failed to generate thumbnail for asset:" error messages. Also CsvErrors occur: CsvError: Invalid Record Length: expect 19, got 4 on line 45249 at Object.__onRecord (/usr/src/app/node_modules/csv-parse/dist/cjs/index.cjs:940:11) at Object.parse (/usr/src/app/node_modules/csv-parse/dist/cjs/index.cjs:903:36) at Parser._flush (/usr/src/app/node_modules/csv-parse/dist/cjs/index.cjs:1336:26) at Parser.final [as _final] (node:internal/streams/transform:112:25) at callFinal (node:internal/streams/writable:694:27) at prefinish (node:internal/streams/writable:723:7) at finishMaybe (node:internal/streams/writable:733:5) at afterWrite (node:internal/streams/writable:504:3) at onwrite (node:internal/streams/writable:477:7) at Parser.Transform._read (node:internal/streams/transform:245:5) { code: 'CSV_RECORD_INCONSISTENT_FIELDS_LENGTH', bytes: 8093696, comment_lines: 0, empty_lines: 0, invalid_field_length: 0, lines: 45249, records: 45248, columns: false, error: undefined, header: false, index: 4, raw: undefined, column: 4, quoting: false, record: [ '3005028', 'Le Breil-sur-Mérize', 'Le Breil-sur-Merize', 'L' ]
bo0tzz
bo0tzz3y ago
Try deleting the container and then recreating it That should clear that error
linux_typ
linux_typOP3y ago
I ran "docker container rm immich_microservices" then "docker-compose up -d" and now there are some really weird happening. The Jobs ui reacts very wrong. I cant unpause jobs, when i click on missing the waiting counter increments always by one...
bo0tzz
bo0tzz3y ago
Try doing the same with redis to fully clear the queues
linux_typ
linux_typOP3y ago
Thank you very much for your help! It is now working fine.

Did you find this page helpful?