#immich_microservices nightly jobs?

1 messages · Page 1 of 1 (latest)

upper perch
#

Hi all

It seems my immich is killing all CPUs, and using all ram available (until OOM), every nights.

At 0:00 AM, it is trying to recreate missing thumbnails, but they all fails :

[Nest] 7  - 01/04/2024, 12:01:55 AM   ERROR [JobService] Unable to run job handler (thumbnailGeneration/generate-jpeg-thumbnail): Error: Input file contains unsupported image format
[Nest] 7  - 01/04/2024, 12:01:55 AM   ERROR [JobService] Error: Input file contains unsupported image format
    at Sharp.toFile (/usr/src/app/node_modules/sharp/lib/output.js:89:19)
    at MediaRepository.resize (/usr/src/app/dist/infra/repositories/media.repository.js:38:14)
    at MediaService.generateThumbnail (/usr/src/app/dist/domain/media/media.service.js:116:44)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MediaService.handleGenerateJpegThumbnail (/usr/src/app/dist/domain/media/media.service.js:103:28)
    at async /usr/src/app/dist/domain/job/job.service.js:113:37
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:387:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:574:24)
[Nest] 7  - 01/04/2024, 12:01:55 AM   ERROR [JobService] Object:
{
  "id": "f1c8f8b1-6621-4ce7-9983-998a88753fc9"

On the admin dash, immich is saying only one thumbnail fails (but they are thousands of fails every nights).

I've checked local rights, they are good.
Browsing the pictures, I don't see missing thumbnails yet.

Any idea to debug this? I'm going to search the file path for ids concerned by this error.

flat brambleBOT
#

:wave: Hey @upper perch,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :blue_square: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

upper perch
#

I guess I found some uploads errors.
You need to search for files names '._*'.
I got a lot with bytes at 4k, so broken files. Maybe bad uploads... I'm removing them to see if it corrects..