The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems
Document Preview Broken Since Latest Patch
Moderator: car031
Post
Document Preview Broken Since Latest Patch
We recently installed the most recent update patch for LogicalDOC 7.2.1. The installation appears to have broken the Document Preview for Microsoft Office documents. Any new Word or Excel documents that are uploaded, or any such documents that are checked out and checked in again, cannot be previewed. Any documents that were in the system prior to the update and have NOT been modified can still be previewed. We are running the Linux version of LogicalDOC, so documents are previewed using OpenOffice.
Post
Re: Document Preview Broken Since Latest Patch
What is the number of the update package you have installed?
On the login page which is the version number of LogicalDOC?
On the login page which is the version number of LogicalDOC?
Post
Re: Document Preview Broken Since Latest Patch
LogicalDOC Enterprise 7.2.1. The installed patch was released last month, I believe. One of the enhancements was that new folders would automatically inherit permissions from their parents. That is working, so the patch installation appeared to be successful.
Here is the text of update.log:
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el7_0.x86_64/lib/tools.jar
Buildfile: /LogicalDOC/bin/build.xml
update:
[echo] Update started
init:
tomcat-stop:
[exec] Tomcat stopped.
[echo] stopped
[mkdir] Created dir: /LogicalDOC/updates/tmp
[echo] Process update package /LogicalDOC/updates/ldoc_upd-00000044.zip
[unzip] Expanding: /LogicalDOC/updates/ldoc_upd-00000044.zip into /LogicalDOC/updates/tmp
[echo] Execute update package /LogicalDOC/updates/ldoc_upd-00000044.zip
update:
cleanup:
[echo] Cleaning up your system
[delete] Deleting directory /LogicalDOC/tomcat/work/Catalina
[echo] System cleaned
update-application:
[echo] Updating the application
[delete] Deleting directory /LogicalDOC/tomcat/webapps/ROOT
[unzip] Expanding: /LogicalDOC/updates/tmp/logicaldoc-enterprise-webapp-7.2.1.war into /LogicalDOC/tomcat/webapps/ROOT
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/license.lic
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/context.properties
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/log.xml
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/log4j.dtd
[echo] The application was updated
update-configuration:
[echo] Updating the configuration
[copy] Copying 1 file to /LogicalDOC/conf
[propertyfile] Updating property file: /LogicalDOC/conf/context.properties
[sql] Executing commands
[sql] 1 of 1 SQL statements executed successfully
[echo] The configuration was updated
update-registry:
update-database:
[echo] Updating the database
[echo] Executing sql file sql/upgrade.sql.mysql
[sql] Executing resource: /LogicalDOC/updates/tmp/sql/upgrade.sql.mysql
[sql] 79 of 79 SQL statements executed successfully
[echo] The database was updated
[echo] Remember to COMPLETELY delete your browser's cache
[move] Moving 1 file to /LogicalDOC/updates
[delete] Deleting directory /LogicalDOC/updates/tmp
init:
tomcat-start:
[exec] Tomcat started.
[echo] started
[echo] Update finished
BUILD SUCCESSFUL
Total time: 3 minutes 36 seconds
Here is the text of update.log:
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el7_0.x86_64/lib/tools.jar
Buildfile: /LogicalDOC/bin/build.xml
update:
[echo] Update started
init:
tomcat-stop:
[exec] Tomcat stopped.
[echo] stopped
[mkdir] Created dir: /LogicalDOC/updates/tmp
[echo] Process update package /LogicalDOC/updates/ldoc_upd-00000044.zip
[unzip] Expanding: /LogicalDOC/updates/ldoc_upd-00000044.zip into /LogicalDOC/updates/tmp
[echo] Execute update package /LogicalDOC/updates/ldoc_upd-00000044.zip
update:
cleanup:
[echo] Cleaning up your system
[delete] Deleting directory /LogicalDOC/tomcat/work/Catalina
[echo] System cleaned
update-application:
[echo] Updating the application
[delete] Deleting directory /LogicalDOC/tomcat/webapps/ROOT
[unzip] Expanding: /LogicalDOC/updates/tmp/logicaldoc-enterprise-webapp-7.2.1.war into /LogicalDOC/tomcat/webapps/ROOT
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/license.lic
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/context.properties
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/log.xml
[delete] Deleting: /LogicalDOC/tomcat/webapps/ROOT/WEB-INF/classes/log4j.dtd
[echo] The application was updated
update-configuration:
[echo] Updating the configuration
[copy] Copying 1 file to /LogicalDOC/conf
[propertyfile] Updating property file: /LogicalDOC/conf/context.properties
[sql] Executing commands
[sql] 1 of 1 SQL statements executed successfully
[echo] The configuration was updated
update-registry:
update-database:
[echo] Updating the database
[echo] Executing sql file sql/upgrade.sql.mysql
[sql] Executing resource: /LogicalDOC/updates/tmp/sql/upgrade.sql.mysql
[sql] 79 of 79 SQL statements executed successfully
[echo] The database was updated
[echo] Remember to COMPLETELY delete your browser's cache
[move] Moving 1 file to /LogicalDOC/updates
[delete] Deleting directory /LogicalDOC/updates/tmp
init:
tomcat-start:
[exec] Tomcat started.
[echo] started
[echo] Update finished
BUILD SUCCESSFUL
Total time: 3 minutes 36 seconds
Post
Re: Document Preview Broken Since Latest Patch
Hi die7fox,
you should try to change the value of filed parameter office.convert.enabled to: false
The property is available in the Parameters, below the path:
Administration -> Settings -> Parameters
After saving using the buttom on the bottom, try to load a new document and to request its preview
you should try to change the value of filed parameter office.convert.enabled to: false
The property is available in the Parameters, below the path:
Administration -> Settings -> Parameters
After saving using the buttom on the bottom, try to load a new document and to request its preview
- Attachments
-
- field to update office.convert.enabled
- parameter-to-change.gif (35.25 KiB) Viewed 15042 times
Post
Re: Document Preview Broken Since Latest Patch
Thank you. Unfortunately, that did not work. The preview still will not render. In many cases, the thumbnail image of the document does not appear, either.
Post
Re: Document Preview Broken Since Latest Patch
Ok, so you should check your system for external tools configuration
Windows
http://docs.logicaldoc.com/en/installat ... oc-windows
Linux
http://docs.logicaldoc.com/en/installat ... ldoc-linux
Ubuntu
http://docs.logicaldoc.com/en/installat ... doc-ubuntu
Windows
http://docs.logicaldoc.com/en/installat ... oc-windows
Linux
http://docs.logicaldoc.com/en/installat ... ldoc-linux
Ubuntu
http://docs.logicaldoc.com/en/installat ... doc-ubuntu
Who is online
Users browsing this forum: No registered users and 126 guests