Skip to content

v4.0.1 — Bulk OCR hotfix

Choose a tag to compare

@level09 level09 released this 23 Apr 21:34
· 183 commits to main since this release
244ee1d

Fixed

  • Bulk OCR: celery worker now consumes the ocr queue. The systemd unit written by the installer was only subscribing to the default celery queue, so tasks dispatched by bulk OCR (UI and flask ocr process) silently piled up in Redis. Single-media OCR was not affected.

Upgrading existing v4.0.0 installs (in-place patch, no reinstall)

sudo sed -i.bak 's|worker --autoscale 2,5 -B$|& -Q celery,ocr|' /etc/systemd/system/bayanat-celery.service
sudo systemctl daemon-reload
sudo systemctl restart bayanat-celery

Verify: sudo journalctl -u bayanat-celery --since "30 seconds ago" | grep -A 3 '\[queues\]' — should list both celery and ocr.

Fresh installs

The installer on main now ships the correct unit — no action needed beyond the standard install command.

Full changelog: v4.0.0...v4.0.1