© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•4mo ago•
5 replies
dubiner

ML error: image file is truncated

Running immich v2.1.0. When I start smart search job by "Missing" button, I see next error in server log
[Nest] 7  - 10/25/2025, 12:49:12 PM   ERROR [Microservices:{"id":"1c04a0ad-547c-4a2e-ac89-2f37d2cbab2d"}] Unable to run job handler (SmartSearch): Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-SO400M-16-SigLIP2-384__webli"}}}' failed for all URLs
[Nest] 7  - 10/25/2025, 12:49:12 PM   ERROR [Microservices:{"id":"1c04a0ad-547c-4a2e-ac89-2f37d2cbab2d"}] Unable to run job handler (SmartSearch): Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-SO400M-16-SigLIP2-384__webli"}}}' failed for all URLs

and in ml logs
...
                             │ /opt/venv/lib/python3.11/site-packages/PIL/Imag │
                             │ eFile.py:290 in load                            │
                             │                                                 │
                             │   287 │   │   │   │   │   │   │   │   │   │   " │
                             │   288 │   │   │   │   │   │   │   │   │   │   f │
                             │   289 │   │   │   │   │   │   │   │   │   )     │
                             │ ❱ 290 │   │   │   │   │   │   │   │   │   raise │
                             │   291 │   │   │   │   │   │   │                 │
                             │   292 │   │   │   │   │   │   │   b = b + s     │
                             │   293 │   │   │   │   │   │   │   n, err_code = │
                             ╰─────────────────────────────────────────────────╯
                             OSError: image file is truncated (19 bytes not
                             processed)
[10/25/25 12:54:15] INFO     Shutting down due to inactivity.
[10/25/25 12:54:15] INFO     Shutting down
[10/25/25 12:54:15] INFO     Waiting for application shutdown.
[10/25/25 12:54:15] INFO     Application shutdown complete.
[10/25/25 12:54:15] INFO     Finished server process [9041]
[10/25/25 12:54:15] ERROR    Worker (pid:9041) was sent SIGINT!
...
                             │ /opt/venv/lib/python3.11/site-packages/PIL/Imag │
                             │ eFile.py:290 in load                            │
                             │                                                 │
                             │   287 │   │   │   │   │   │   │   │   │   │   " │
                             │   288 │   │   │   │   │   │   │   │   │   │   f │
                             │   289 │   │   │   │   │   │   │   │   │   )     │
                             │ ❱ 290 │   │   │   │   │   │   │   │   │   raise │
                             │   291 │   │   │   │   │   │   │                 │
                             │   292 │   │   │   │   │   │   │   b = b + s     │
                             │   293 │   │   │   │   │   │   │   n, err_code = │
                             ╰─────────────────────────────────────────────────╯
                             OSError: image file is truncated (19 bytes not
                             processed)
[10/25/25 12:54:15] INFO     Shutting down due to inactivity.
[10/25/25 12:54:15] INFO     Shutting down
[10/25/25 12:54:15] INFO     Waiting for application shutdown.
[10/25/25 12:54:15] INFO     Application shutdown complete.
[10/25/25 12:54:15] INFO     Finished server process [9041]
[10/25/25 12:54:15] ERROR    Worker (pid:9041) was sent SIGINT!

What shoul I do to
* Find image that causes this error
* Fix or skip this image to clarify my logs
?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

ML error
ImmichIImmich / help-desk-support
3y ago
Immich ML error 500
ImmichIImmich / help-desk-support
9mo ago
Error: Input file contains unsupported image format
ImmichIImmich / help-desk-support
11mo ago
RKNN ML smart search error
ImmichIImmich / help-desk-support
11mo ago