← All problems
Creator tools Observed November 18, 2026

An OCR job queue can empty while photos remain unprocessed

An Immich user reports that OCR jobs appeared complete after machine-learning failures, while some images still had no OCR result and the failed-job count stayed at zero.

What someone actually noticed

An Immich user reports that restarting the machine-learning container during OCR processing left jobs apparently completed even though logs showed failures. In a separate overnight backlog on their ROCm setup, the queue emptied and the Jobs page reported zero failed jobs, but hundreds of images still lacked OCR. Running the existing Missing OCR job again picked those images up. The figures are from one installation, not a measured failure rate.

The reporter attributes the misleading job status to a handler that catches errors without marking the queue job failed, plus one-attempt jobs; they also describe a possible timeout mismatch for slow ROCm requests. A contributor traced the flow and called these possible causes, proposing upstream regression tests. The issue is open; the reported behavior has not been established for every Immich configuration.

Read the original signal: Immich GitHub bug report and contributor follow-up

Ways to solve it

Without new software, inspect the Immich Jobs page and server logs after ML interruptions, then use the existing OCR Missing action and check whether the expected images were processed. Keep a record of what was retried rather than assuming an empty queue means complete coverage.

If administrators repeatedly miss this mismatch, prototype a read-only coverage check that distinguishes unprocessed assets from failed jobs and links to the native retry flow. Prefer contributing clearer failure counts and retries upstream if that resolves the underlying problem.

A small app you could build

OCR Coverage Check

A read-only local check that compares OCR job completion with assets still lacking OCR, then gives an operator a reviewable Missing-job retry checklist.

Who might use it: Self-hosted photo-library administrators running Immich OCR jobs

  1. Read local job status and OCR coverage counts through a supported interface if available
  2. Flag a drained queue with unprocessed eligible images without calling it a confirmed job failure
  3. Show relevant error-log locations and a manual retry checklist
  4. Avoid uploading photos or automatically rerunning expensive ML jobs

What to verify before building

  • Ask the reporter whether a corrected failed-job counter and retry behavior upstream would eliminate the need for a separate check.
  • On authorized test libraries, compare the check's unprocessed count with the assets the native Missing action actually selects.
  • Verify whether a supported API exposes the necessary status without direct database access and measure false positives after normal queue completion.

Reality check

This is one user's report with a contributor's code-path analysis, not evidence of widespread failures or willingness to pay. Some images may legitimately lack OCR, and job counters or database fields may change between versions. Immich could fix the status handling upstream, making a separate app unnecessary. A supported read-only interface and operator permission would need confirmation before building.

An observation is not market validation. Check other reports and talk to the people who experience this before committing more than a tiny experiment.