huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
242 stars 80 forks source link

OCR not working? #7192

Closed txau closed 2 months ago

txau commented 2 months ago

Sent a document for OCR and it stays in queue forever:

image

The only traces in logs are:

image

RafaPolit commented 2 months ago

@gabriel-piles can you please confirm if the service is working?

gabriel-piles commented 2 months ago

@RafaPolit @txau The staging and production OCR services are working fine

txau commented 2 months ago

This happened on staging and the status is still in the queue:

image

https://cyrilla.staging.uwazi.io/en/entity/y8stnt826oi/

@gabriel-piles

gabriel-piles commented 2 months ago

@txau the OCR staging service has proper access to the Redis queue

gabriel-piles commented 2 months ago

@txau @RafaPolit The feature flag in staging was incorrectly pointing to the production OCR service. Additionally, I had to redeploy the service in staging because even after changing the feature flag in the database, the service was not performing OCR.

Now, it works as expected.