10-10-2024 02:44 AM
Hi,
In our 6.2 installation we have or rather had this OCR module (2.3.1) it worked flawlessly. We are now migrating the 6.2 to latest version, we did it through version 7 and all are working (seemingly) fine, except, in Workspace application and error comes at certain entries, "This item no longer exists or you don't have permission to view it. ", the error log says " A namespace prefix is not registered for uri http://www.keensoft.es/model/content/ocr/1.0". We had removed the jar files and global-properties entries related to OCR and all the folder rules before taking the backup of both content store and DB in 6.2 and we suspect this could be the error. Someone please help to tackle this issue, apart from this everything looks okay.
An excerpt from the log file.
Caused by: org.alfresco.scripts.ScriptException: 09090057 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/metadata/metadata.get.js': A namespace prefix is not registered for uri http://www.keensoft.es/model/content/ocr/1.0
Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri http://www.keensoft.es/model/content/ocr/1.0
2024-10-09 04:52:07,076 WARN [org.alfresco.repo.module.ModuleServiceImpl] [main] A previously-installed module 'simple-ocr-repo' (version 2.3.1) is not present in your distribution.
2024-10-09 05:13:13,023 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-7] Exception from executeScript: 09090017 Wrapped Exception (with status template): 09090054 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/metadata/metadata.get.js': A namespace prefix is not registered for uri http://www.keensoft.es/model/content/ocr/1.0
org.springframework.extensions.webscripts.WebScriptException: 09090017 Wrapped Exception (with status template): 09090054 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/metadata/metadata.get.js': A namespace prefix is not registered for uri http://www.keensoft.es/model/content/ocr/1.0
Regards
ANOOP KR
10-28-2024 05:19 AM
Please, use the last version of the Alfresco Model Extractor app:
https://github.com/aborroy/alfresco-model-extractor/releases/tag/0.2.0
The previous one (0.1.0) was creating the JAR with an incorrect module version.
Create again the JAR and apply it again to your Alfresco deployment.
11-16-2024 01:54 AM
Hi,
Is it possible to run the al-tengine-ocr with a port different than 8090 ? If so, please let me know.
Regards
11-16-2024 02:20 AM
Hi,
I figured it out myself, we can do it by port information as an argument, that being the case why should we run it in a docker ?
Regards
11-03-2024 11:15 PM
Hi,
With the support from Mr Angel and Douglascrp, we successfully eliminated the issues we were facing. It was incredible, the help you people offered, without which we probably could never achieve the goal, thanks in abundance.
Stay well.
Regards
From India.
Explore our Alfresco products with the links below. Use labels to filter content by product module.