10-18-2016 07:32 PM
We are using Alfresco 5.1. The Document Preview successfully displays the first version of an uploaded document. However, when we upload a new version, the preview continues to display the original version.
Upon uploading a new version, Alfresco displays an informational message telling the user that they need to refresh their browser in order for the preview to show the new version. However, even after refreshing the browser multiple times, the old version is still displayed.
No error messages are displayed in the log files and we have verified that even when accessed by a different user from a different browser, the old version is still displayed.
How can we make the Document preview show the latest version?
10-26-2016 10:23 PM
We've now submitted a support case for this issue
10-19-2016 04:05 AM
It seems that your LibreOffice service is down, check this https://www.contentreich.de/alfresco-handling-libreoffice-not-responding
10-19-2016 06:05 PM
Thanks for your response. We use the jodconverter to launch 3 office processes. We restarted Alfresco and now the preview is working correctly. Its concerning that this type of problem can occur without warning. See the snippet from the log file during startup below. They seemed to all be running correctly both before and after the restart (although they seem to take 2 attempts to start)
Since we are using the jodconverter, I'm not sure that we can use the OfficeWatchDog solution as well?
2016-10-19 19:38:17,311 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2016-10-19 19:38:17,506 WARN [alfresco.util.AbstractTriggerBean] [localhost-startStop-1] Job openOfficeConnectionTesterTrigger is not enabled
2016-10-19 19:38:17,807 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2016-10-19 19:38:17,809 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
Oct 19, 2016 7:38:17 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is LinuxProcessManager
Oct 19, 2016 7:38:17 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: Using original OpenOffice command: [/usr/lib/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8100;urp;, -env:UserInstallation=file:///tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8100, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
Oct 19, 2016 7:38:17 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir '/tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8100'
Oct 19, 2016 7:38:17 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10314
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt
WARNING: office process died with exit code 81; restarting it
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: Using original OpenOffice command: [/usr/lib/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8100;urp;, -env:UserInstallation=file:///tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8100, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir '/tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8100'
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10324
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: Using original OpenOffice command: [/usr/lib/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8101;urp;, -env:UserInstallation=file:///tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8101, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
Oct 19, 2016 7:38:19 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8101,tcpNoDelay=1' and profileDir '/tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8101'
Oct 19, 2016 7:38:20 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10338
Oct 19, 2016 7:38:20 PM org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt
WARNING: office process died with exit code 81; restarting it
Oct 19, 2016 7:38:20 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: Using original OpenOffice command: [/usr/lib/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8101;urp;, -env:UserInstallation=file:///tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8101, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
Oct 19, 2016 7:38:20 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8101,tcpNoDelay=1' and profileDir '/tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8101'
Oct 19, 2016 7:38:20 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10348
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8101,tcpNoDelay=1'
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: Using original OpenOffice command: [/usr/lib/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8102;urp;, -env:UserInstallation=file:///tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8102, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8102,tcpNoDelay=1' and profileDir '/tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8102'
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10362
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt
WARNING: office process died with exit code 81; restarting it
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: Using original OpenOffice command: [/usr/lib/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8102;urp;, -env:UserInstallation=file:///tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8102, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8102,tcpNoDelay=1' and profileDir '/tmp/tomcat7-tmp/.jodconverter_socket_host-127.0.0.1_port-8102'
Oct 19, 2016 7:38:21 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 10373
Oct 19, 2016 7:38:22 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8102,tcpNoDelay=1'
2016-10-19 19:38:22,250 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] complete
10-20-2016 03:41 AM
pcharsle _ We have encountered the same issue with the latest versions of Alfresco Community edition and are working on a fix. What version of Alfresco are you using?
10-20-2016 08:34 PM
We are using Alfresco Enterprise 5.1.1. Since we can find no clues in the log files. We are checking regularly to ensure versioning is working and if not, we restart Alfresco. This is not ideal!
10-21-2016 08:17 AM
Here is the issue and our proposed solution:
[ALF-21761] Preview not updated after new versions, AOS and manual upload - Alfresco JIRA
I suggest you file a support case (if you haven't already) and point them to this issue.
10-24-2016 05:12 PM
Hi Peter, Thanks for your reply. I am not sure if this is the same issue since we are not using AOS and the problem is not consistent. Currently, the preview is displaying the latest version and for this reason we haven't yet submitted a support case. However, as soon as the problem reoccurs we will submit a case and point them to your fix.
10-25-2016 05:17 AM
The issue was originally created as if only applying to AOS, but further testing revealed that it applies to whenever a new version is created.
Note that previews may work with the first version created, but fail on later versions.
10-26-2016 10:23 PM
We've now submitted a support case for this issue
02-20-2017 01:38 AM
Peter Löfgren and Others, I have just logged this post, is there any way you guys could help me out please :
The document preview just shows the first version of the document unless i press control + F5 and then it shows the right version , I can download the right version by pressing the download button ...
Your help is much appreciated .
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.