keensoft/alfresco-simple-ocr

Unable to include a rule on a folder by selecting ocr-extract action

Scamby opened this issue · 8 comments

Alfresco community has been installed on Ubuntu 17.10 in /home/administrator/alfresco-community, pdfsandwich has been installed (version command works), changes have been made in alfresco-global.properties as indicated in the readme and jar files have been copied to /home/administrator/alfresco-community/modules/share and /repo. I created a Test OCR folder in my site and attempted to add a rule as directed. The ocr-extract action is not available for me to select.

/usr/bin/pdfsandwich -version
pdfsandwich version 0.1.6

PDFSandwich OCR Settings

ocr.command=/usr/bin/pdfsandwich
ocr.output.verbose=true
ocr.output.file.prefix.command=-o

ocr.extra.commands=-verbose -lang eng+spa+fra
ocr.server.os=linux

It's called "Extract OCR", isn't it?

image

Not seeing that either;

image
image

Do I just need to copy the jar files (not extract them) into the share and repo locations or somewhere else? Do I need to do anything else for Alfresco to load them?

I've guessed you re-started Alfresco after copying the JAR files to target folders (modules/platform and modules/share), right?

Yes. I had gotten it to work on another test server about a year or more ago but that was using the amp file. On this new server the share folder was already there but I had to create the repo folder under /home/administrator/alfresco-community/modules.

Is this a new installation or an upgrading from previous Alfresco installation? Did you use Alfresco installer or are you installing from scratch?

New install. Installed Ubuntu then downloaded Alfresco installer and ran that. Took defaults all the way through. Then downloaded pdfsandwich deb file and installed. Then downloaded and copied your jar files.

Now I see... It's not "repo", it's "platform". The name under the "modules" folder.
Check the right name at /home/administrator/alfresco-community/tomcat/conf/Catalina/localhost/alfresco.xml

That fixed it. Thanks.