AnsweredAssumed Answered

Document preview problem was fixed by changing libreoffice's ctl.sh to libreoffice_ctl.sh

Question asked by billydekid on Jul 9, 2014
Latest reply on Jul 25, 2017 by willyguevara
Hi,

I just want to share how to fix the problem of document preview which sometimes not fully functional on loading some of certain files.

I use Alfresco 5.0.a on Ubuntu 14.04.

One of the problem occurred when opening .docx files.
Document preview just showing a thumbnail image instead of full frame of document viewer.

The problem can be solved by changing libreoffice's ctl script in alfresco.sh; from ctl.sh to libreoffice_ctl.sh (since ctl.sh is not exist on libreoffice's script dir).

OLD:
LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/ctl.sh

NEW
LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/libreoffice_ctl.sh

Next I restarted Alfresco and problem is solved! :)
Document viewer frame is appear instead of document thumbnail image…

Regards,
[bayu]

Outcomes