• [SOLVED] OpenKM 6.3.6 Ubuntu JPG Preview Problem

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #47564  by Seb_OKM
 
Hi!

I have some problem;

I have Ubuntu 18.06 and installed OKM 6.3.6, using H2 database.

If I try to do preview JPG file in repository some files shown properly but most of them generate information "There was a problem with the conversion generation. Please, contact your OpenKM administrator."

i checked the configuration on administration/ configuration/check and everything seems to be ok.

Any ideas !?

PS. System files, and all additional files are up to date.
Last edited by Seb_OKM on Mon Mar 11, 2019 1:44 pm, edited 1 time in total.
 #47568  by jllort
 
I suggest using MySQL or PostgreSQL either H2 database for production.

About JPG files, did you get some error in the catalina.log files?
Can you share with us some of these files for testing in our development environments?
 #47602  by mfreem2
 
I have a similar issue, 6.3.6 community (build 87d181f), installed yesterday with the OKMInstaller.jar on Ubuntu 18.04.2, mariadb 10.1

Testing system out

Upload a jpg to do ocr, and get the:
There was a problem with the conversion generation.Please, contact your OpenKM administrator.

Error Message Retrieved from logs/catalina.out:
Code: Select all
StdErr: 
2019-03-07 14:15:00,167 [Thread-16] INFO  c.o.extractor.TextExtractorWorker - processSerial.Working on {docUuid=1027f59c-93d0-46a7-a096-951d4700c38d, docPath=/okm:trash/okmAdmin/Image (232) (2).jpg, docVerUuid=a8b26058-8099-4f4c-8d68-3c6a5766179a, date=Thu Mar 07 14:06:05 EST 2019} 2019-03-07 14:16:26,264 [http-nio-0.0.0.0-8080-exec-9] WARN  com.openkm.util.ExecutionUtils - Abnormal program termination: 1
2019-03-07 14:16:26,264 [http-nio-0.0.0.0-8080-exec-9] WARN  com.openkm.util.ExecutionUtils - CommandLine: [/usr/bin/convert, /home/openkm/tomcat-8.5.24/temp/okm4359367670935401632.jpg, /home/openkm/tomcat-8.5.24/repository/cache/pdf/64c8099a-c28b-468b-9a3d-b081c694cfff.pdf]
2019-03-07 14:16:26,264 [http-nio-0.0.0.0-8080-exec-9] WARN  com.openkm.util.ExecutionUtils - STDERR: convert: not authorized `/home/openkm/tomcat-8.5.24/repository/cache/pdf/64c8099a-c28b-468b-9a
3d-b081c694cfff.pdf' @ error/constitute.c/WriteImage/1037.

2019-03-07 14:16:26,267 [http-nio-0.0.0.0-8080-exec-9] ERROR c.o.s.frontend.ConverterServlet - convert: not authorized `/home/openkm/tomcat-8.5.24/repository/cache/pdf/64c8099a-c28b-468b-9a3d-b081
c694cfff.pdf' @ error/constitute.c/WriteImage/1037.

com.openkm.core.ConversionException: convert: not authorized `/home/openkm/tomcat-8.5.24/repository/cache/pdf/64c8099a-c28b-468b-9a3d-b081c694cfff.pdf' @ error/constitute.c/WriteImage/1037.
The files are no longer in the directories to manually run the /usr/bin/convert, The ocr text files are in the temp directory, so that part works. the "convert: not authorized" is where it seems to break. Any Input?

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.