Hello, I am an OpenKM "newbie" and have been going around in circles for the last couple days trying to get MS office type files to preview.
I'm not a newbie to linux, or to document management.
I have checked the wiki, and it has not been helpful as I am on 6.2.1 and most posts are referring to JBoss, not Tomcat
What I have working: OpenKM up and running, preview for PDF and image files work fine. Only .doc, .docx, .xls, .xlsx etc are problematic.
My OS is Ubuntu 12.04 LTS, 64 bit version
I started with LibreOffice, but when I ran into trouble uninstalled and loaded OpenOffice 3.4. That didn't help and I am now back on LibreOffice.
In the preview window I get a popup saying "Error in application/msword ...." to PDF" or "Error in application/vnd .... to PDF"
I can run soffice headless from the command line and convert the aforementioned doc and xl files to PDF no problem. However, If within OpenKM I select a document and then click on the PDF toolbar to generate a PDF, I get an error and the resulting pdf has a standard OpenKm message in it saying the conversion failed.
My path to libreoffice is /usr/lib/libreoffice, but I also tried /usr/bin/soffice and countless other strings. I have the port set to 8100, which is consistent with the startup string I have appended to catalina.sh:
## added this command to properly initialize OpenOffice as headless service \
exec /usr/bin/soffice --headless --nofirststartwizard --nologo --nodefault --accept="socket,host=localhost,port=8100;urp;StarOffice.Service" &
I also tried the prior suggesting appending setenv.sh with the following line:
export JAVA_HOME=/home/ndorf/openkm-6.2.1-community/java
I have zlib, jodconverter, unoconv all installed.
I'm just flat out of ideas....can anyone help me please?
Thanks!
I'm not a newbie to linux, or to document management.
I have checked the wiki, and it has not been helpful as I am on 6.2.1 and most posts are referring to JBoss, not Tomcat
What I have working: OpenKM up and running, preview for PDF and image files work fine. Only .doc, .docx, .xls, .xlsx etc are problematic.
My OS is Ubuntu 12.04 LTS, 64 bit version
I started with LibreOffice, but when I ran into trouble uninstalled and loaded OpenOffice 3.4. That didn't help and I am now back on LibreOffice.
In the preview window I get a popup saying "Error in application/msword ...." to PDF" or "Error in application/vnd .... to PDF"
I can run soffice headless from the command line and convert the aforementioned doc and xl files to PDF no problem. However, If within OpenKM I select a document and then click on the PDF toolbar to generate a PDF, I get an error and the resulting pdf has a standard OpenKm message in it saying the conversion failed.
My path to libreoffice is /usr/lib/libreoffice, but I also tried /usr/bin/soffice and countless other strings. I have the port set to 8100, which is consistent with the startup string I have appended to catalina.sh:
## added this command to properly initialize OpenOffice as headless service \
exec /usr/bin/soffice --headless --nofirststartwizard --nologo --nodefault --accept="socket,host=localhost,port=8100;urp;StarOffice.Service" &
I also tried the prior suggesting appending setenv.sh with the following line:
export JAVA_HOME=/home/ndorf/openkm-6.2.1-community/java
I have zlib, jodconverter, unoconv all installed.
I'm just flat out of ideas....can anyone help me please?
Thanks!