Replies: 4 comments 1 reply
-
|
Sounds like your files have corrupt headers ;) |
Beta Was this translation helpful? Give feedback.
-
|
How can i check that? And how can i fix this... Because as you can see the file shows fine here in github and on my pc? |
Beta Was this translation helpful? Give feedback.
-
|
Seems like I have the same issue. @bo0tzz would you advice how to debug this? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The bug
I get corrupt header errors on a lot of images after mass upload. manual thumbnail creation does not fix it.
This is the error on the example image:
This is one example image:

The OS that Immich Server is running on
Unraid 7
Version of Immich Server
v1.121.0
Version of Immich Mobile App
latest
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
[Nest] 6 - 11/28/2024, 8:22:20 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file has corrupt header: VipsJpeg: ./lib/jpegli/decode_marker.cc:499: Skipped 8763971 bytes before marker 0xd9 VipsJpeg: ./lib/jpegli/decode.cc:645: jpegli_read_header: unexpected EOI marker. [Nest] 6 - 11/28/2024, 8:22:20 AM ERROR [Microservices:JobService] Error: Input file has corrupt header: VipsJpeg: ./lib/jpegli/decode_marker.cc:499: Skipped 8763971 bytes before marker 0xd9 VipsJpeg: ./lib/jpegli/decode.cc:645: jpegli_read_header: unexpected EOI marker. at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17) at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68) at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25) at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:151:28) at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122: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 - 11/28/2024, 8:22:20 AM ERROR [Microservices:JobService] Object: { "id": "bfe765cf-34cf-4796-9833-f456e9303aad" } [Nest] 6 - 11/28/2024, 8:22:21 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file has corrupt header: magickload: Magick: ImproperImageHeader `upload/library/max/2015/Jan/07/P1000843.JPG' @ error/tga.c/ReadTGAImage/221 (null) [Nest] 6 - 11/28/2024, 8:22:21 AM ERROR [Microservices:JobService] Error: Input file has corrupt header: magickload: Magick: ImproperImageHeader `upload/library/max/2015/Jan/07/P1000843.JPG' @ error/tga.c/ReadTGAImage/221 (null) at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17) at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68) at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25) at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:151:28) at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122: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 - 11/28/2024, 8:22:21 AM ERROR [Microservices:JobService] Object: { "id": "dd0a19d4-0bb1-49b5-b175-b8422ae9d3fa" }Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions