AIGenLab
EN

UPDATEmineru mineru-4.2.3-released

MinerU 4.2.3 recovers stuck parsing and fixes search

Version & typemineru-4.2.3-released · Feature
In short

MinerU adds execution timeouts, Router-managed recovery, and resumable local queues. Doclib rebuilds search indexes without image payloads crowding out text, while startup compatibility checks and automatic worker tiers simplify upgrades.

What changed in this release

22 checkpoints in 5 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.

Per-file timeouts and managed recovery

  • WebUI, Router, and API Server add --task-timeout with a 3600-second default and positive-integer validation.
  • Timing starts at execution-slot acquisition and covers parsing plus server-side artifact packaging.
  • Timed-out tasks return task_timeout so callers can identify execution timeouts.
  • A standalone API stops accepting new work after a timeout and relies on its deployment host for recreation.
  • Router's parent reclaims timed-out workers and model subprocesses and restarts even when threads or cleanup stall.
  • Uploads, queueing, client downloads, and model preloading keep their own waiting and lifecycle settings.

WebUI recovery and process cleanup

  • Local WebUI uses one Router-managed worker and displays status during recovery.
  • Queued requests still awaiting submission resume once the service is ready.
  • Other unfinished requests on the replaced worker return worker_restarted, with manual retries for affected files.
  • Windows process-tree, temporary-directory, and control-channel cleanup improves.
  • Model preload failures surface explicitly, and automatic recovery stops after three consecutive startup failures.

Doclib full-text indexes

  • Search text takes body content, formulas, and figure or table descriptions before applying the character budget.
  • Embedded base64 image data no longer crowds searchable body text out of the index.
  • Upgrade rebuilds existing indexes from parse caches while preserving cross-page continuations.
  • Incomplete caches record a migration reason; restoring or reparsing them and restarting Doclib resumes migration.

Compatibility and dependencies

  • Startup detects vLLM below 0.29.0 with Transformers 5.23.0 or newer before engine initialization.
  • Guidance points to upgrading vLLM or selecting a compatible Transformers range.
  • The minimum DocVortex version rises to 0.6.24.
  • The dependency update brings native document parsing and shared rendering improvements.

Worker tiers

  • Router defaults --worker-tier to auto so each worker selects its tier ceiling from its device environment.
  • Specify flash, basic, standard, or advanced when a fixed ceiling is required.
  • Automatic tiers are selected per worker rather than forced into one setting across mixed devices.

Read the original announcement

On this page
  1. Release inventory
  2. This release separates st…
  3. Per-file timeouts start a…
  4. Local WebUI keeps unsubmi…
  5. Doclib selects searchable…
  6. Startup checks catch inco…
  7. Workers select their tier…
  8. Docling and PaddleOCR add…
  9. MinerU 4.2.3 extends host…
  10. Release analysis
  11. Sources & method

ContextThis release separates stuck-task recovery from missing search text

MinerU 4.2.2 tightened engine failures, health checks, and batch boundaries. Version 4.2.3 adds execution limits, worker recovery, and Doclib migration. Operators need to know who cleans up stuck tasks, whether queued work survives, and where to start when body text is missing.

The changes span 5 groups: timeouts, WebUI recovery, Doclib indexes, compatibility and dependencies, and worker tiers. The figure maps their entries; the following sections explain changes, actions, and costs.

Distribution of MinerU 4.2.3 changes across five groups. Timeouts and WebUI recovery account for the most inventory entries, followed by Doclib indexes, compatibility and dependencies, and worker tiers. Counts reflect the inventory, not performance importance.
Where the 22 grouped changes landWhere the 22 grouped changes landPer-file timeouts and managedrecovery6WebUI recovery and process cleanup5Doclib full-text indexes4Compatibility and dependencies4Worker tiers3
AIGenLab original

Per-file timeouts start at slot acquisition and include packaging

  1. --task-timeout sets per-file limits for WebUI, Router, and API Server: a 3600-second default and positive integers only.
  2. Timing starts at slot acquisition and covers parsing and server-side packaging; upload, queue, download, and preload waits stay separate.
  3. Timeouts return task_timeout; standalone APIs stop new work for host recreation, while Router's parent reclaims and restarts workers.

Local WebUI keeps unsubmitted work and marks other requests for retry

  1. Local WebUI uses one Router-managed worker, shows recovery status, and resumes unsubmitted requests once ready.
  2. Other unfinished old-worker requests return worker_restarted; retry affected files manually because recovery is not completion.
  3. Windows process-tree, temporary, and control-channel cleanup improves; preload failures surface; recovery stops after three startup failures.

Doclib selects searchable content before applying its character budget

  1. Search text takes body content, formulas, and descriptions before budgeting, excluding embedded base64 image data.
  2. Upgrade rebuilds indexes from caches and preserves cross-page continuations; check body keywords and cross-page excerpts.
  3. Incomplete caches record a migration reason; restore or reparse the cache and restart Doclib to resume.

Startup checks catch incompatible runtimes and raise the DocVortex floor

  1. Startup checks detect vLLM below 0.29.0 with Transformers 5.23.0 or newer before engine initialization.
  2. Upgrade vLLM or adjust the Transformers range for your deployment, then verify model loading with an existing sample.
  3. The minimum DocVortex version rises to 0.6.24, bringing native document parsing and shared rendering improvements.

Workers select their tier automatically unless a fixed ceiling is set

  1. --worker-tier defaults to auto, letting each worker select its tier ceiling from its device environment.
  2. Specify flash, basic, standard, or advanced for a fixed ceiling instead of treating auto as uniform.
  3. Check each worker's tier before locking it; record settings and parse results separately on mixed-device hosts.

Docling and PaddleOCR address queueing, exports, and model tiers

Docling covers pipelines and queues, PaddleOCR models and serving, and MinerU local timeout recovery and Doclib migration. The table aligns documented controls without treating these different product shapes as equivalent.

Bottom line: MinerU operators should validate timeout recovery and index rebuilds first. Compare Docling for Redis-backed workers and PaddleOCR for edge, mobile, or server model tiers. This compares documented approaches, not accuracy.

UpdateDocling 2.154.0 (docling-serve 1.21.0)PaddleOCR 3.7.0 (current docs)MinerU 4.2.3
Per-file timeout and recoverydocument_timeout caps PDF processing; queued pages are canceled; native and VLM pipelines stop intake and cancel pending work.MCP synchronous self-hosted and Qianfan HTTP reads default to 600 seconds—a read wait, not server-side worker reclamation.Router reclaims timed-out workers; --task-timeout defaults to 3600 seconds through packaging.
WebUI recovery and process cleanupIn-process thread pools or Redis queues with separate rq-worker processes scale API and conversion independently.Basic Serving has low development costs; Triton-based High-Stability Serving offers higher stability and performance tuning.One Router-managed WebUI worker shows recovery and resumes queued work; hosts recreate standalone APIs.
Full-text search textMarkdown/dictionary export, serialization, and chunking aid downstream use; 2.145.0 preserves native VLM inline math.PP-StructureV3 MCP turns blocks, titles, paragraphs, images, and tables into Markdown.Doclib budgets body text, formulas, and descriptions after excluding images; upgrades rebuild indexes from caches.
Startup compatibility2.131.0 loads granite-vision-4.1-4b natively on Transformers 5.8 or newer.3.4.1 fixes PaddleOCR-VL image dependencies for Huawei NPU and KunlunXin XPU.Startup flags vLLM <0.29.0 with Transformers >=5.23.0 and recommends upgrading vLLM or adjusting Transformers.
Dependency update2.143.1 widens dependency ranges for newer versions.3.5.0 brings Transformers to 20 models across three inference engines.DocVortex minimum rises to 0.6.24 with native parsing and shared rendering improvements.
Worker tier2.154.0 defaults Unlimited-OCR presets to a local server: a preset endpoint default, not automatic per-device worker tier selection.PaddleOCR 3.7.0 model tiers—tiny (1.5M), small (7.7M), medium (34.5M)—target edge, mobile, and servers, not automatic worker-device selection.--worker-tier defaults to auto per device; four explicit tiers set fixed ceilings.

MinerU 4.2.3 extends host-managed recovery inside the Router path

mineru-4.2.2-released defined errors, task cleanup, and host recovery after engine death. mineru-4.2.3-released adds execution limits and lets Router's parent reclaim and restart timed-out workers and model subprocesses. Standalone APIs still rely on host recreation.

Follow recovery responsibility: 4.2.2 notifies the host, while the local Router in 4.2.3 reclaims and restarts. Unsubmitted requests resume, but other old-worker requests need manual retry. The final rows cover operational feedback and environment requirements.

Feature4.2.24.2.3
Engine failure recoveryConfirmed engine failure notifies the host, cleans running and queued tasks, and leaves recovery under host management.Router's parent reclaims timed-out workers and model subprocesses and restarts; a standalone API stops new work for host recreation.
Service startup and shutdownPrints API documentation URLs after binding and avoids interrupt tracebacks on normal Ctrl+C shutdown.Surfaces model preload failures, stops automatic recovery after three consecutive startup failures, and improves Windows process cleanup.
Task failure resultsBatch summaries separate succeeded, skipped, failed, and unprocessed inputs; partial failure returns a nonzero exit code.Timeouts return task_timeout; other unfinished requests on the replaced worker return worker_restarted and allow manual file retries.
Runtime dependenciesRequires mineru-llama-cpp 0.2.1 and mineru-vl-utils 2.0.9 or newer compatible versions.Raises the DocVortex minimum to 0.6.24 and checks the specified incompatible vLLM and Transformers combination before startup.

Release analysisLocal Router and Doclib users should upgrade before ad hoc parsing teams

Persistent local Router teams handling large files and established Doclib users face the strongest impact: verify queue outcomes after timeouts, and schedule migration and search checks. One-off parsing without local services or Doclib can follow the dependency window and defer recovery drills.

Docling offers document_timeout and Redis-backed workers as another pipeline and queue model. PaddleOCR covers call waits with an MCP timeout, service shape with Triton, and model selection with three OCR tiers. MinerU combines worker recovery and Doclib migration.

Our view, not independently tested: rehearse with a large file, queued requests, and body text alongside images. Measure slot acquisition through packaging before choosing --task-timeout and worker tiers; defaults cannot replace capacity budgets.

Our view, not independently tested: preserve caches and rollback before upgrading Doclib. Search body keywords, then check cross-page continuations and incomplete-cache migration reasons. Resolve compatibility prompts before migration to avoid debugging loading and retrieval together.

AIGenLab views

Not independently tested

Teams running persistent local Routers should rehearse large-file and queued-request recovery before setting timeouts and tiers from measured execution times.

The release defines the timeout from slot acquisition through server-side packaging and makes Router responsible for worker reclamation; a default cannot replace local capacity budgeting.

Doclib upgrades should preserve caches and rollback before rebuilding indexes and spot-checking body keywords and cross-page continuations.

The release rebuilds existing indexes from caches and records migration reasons for incomplete caches so migration can resume later.

Compatibility prompts should be resolved before index migration to avoid investigating model loading and retrieval failures together.

This release changes both startup compatibility checks and Doclib migration, so separate validation stages make failures easier to isolate.

Official sources and scope

Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.