workflow_ocr icon indicating copy to clipboard operation
workflow_ocr copied to clipboard

the actions "rename" and "access" do not trigger the OCR scan

Open ferdiga opened this issue 1 year ago • 2 comments

Describe the bug

Create and copy trigger the OCR Workflow process, rename and access do not trigger the OCR Workflow process

System

  • App version: 1.29
  • Nextcloud version: Nextcloud AIO v9.2.0
  • PHP version: [VERSION]
  • Environment: [Docker/native Apache/native PHP FPM/...]
  • ocrmypdf version: 16.1.1 (inside the nextcloud-aio-nextcloud container)

How to reproduce

Steps to reproduce the behavior:

  1. open or rename a pdf file without text layer
  2. wait (endless)
  3. OCR workflow is not triggered and OCR Tag is not set

Screenshots OCR Workflow config 20240723 115115 Flow - Administration settings - Nextcloud

File after renaming and copy, renamed file is not OCR scanned 20240723 115307 Files - Nextcloud

If applicable, add screenshots to help explain your problem.

Server log

Please paste relevant content of your nextcloud.log file here. It might make sense to first decrease the Loglevel. Also, since the OCR process runs asynchronously, run your cron.php before copying the logs here.

NC log - 
[workflow_ocr] Warning: Tesseract list languages succeeded with warning(s): [DS] Profile read from file (tesseract_opencl_profile_devices.dat).
[DS] Device[1] 0:(null) score is 0.670627
[DS] Selected Device[1]: "(null)" (Native), 
	GET /apps/workflow_ocr/ocrBackendInfo/installedLangs
	from xxx.xxx.xxx.xxx by gass at Jul 23, 2024, 11:38:50 AM

BTW it would be helpful to include the name of the processed file to be sure which file caused the message

Browser log

Paste your developer tools logs here. 

Additional context

Add any other context about the problem here.

ferdiga avatar Jul 23 '24 10:07 ferdiga