cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with office document preview

chandlerbing82
Champ in-the-making
Champ in-the-making

Hello everyone,

I have a problem with Alfresco community Edition 201605.

I cannot preview lots of office document. When I upload a document, there are some errors during the conversion of the file.

I already install libreoffice in the alfresco-community\libreoffice\ directory.

I already modify the maxSourceSizeKBytes to 999999 in the alfresco-global.properties file

I just don't know what to do now.

The system is a Windows 2012R2 server with 8GB RAM and 4 core processor (hyper v virtual server)

I joined you the logfile alfresco.log

Tell me if you need anything else.

Thank you.

Regards,

5 REPLIES 5

kaynezhang
World-Class Innovator
World-Class Innovator

Your error is Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.frame.IllegalArgumentIOException:
It seems open office cann't open that file ,may be the file is damaged or has a error extension name which cause openoffice treat it as an illegal argument.
Please check the file that cause the error.

I tried to rename the file to 1.doc and without open it, just rename it, the file is well converted and the preview work without problem.

I really don't understand what is going on with the conversion process on Alfresco.

On Windows "server" (on Windows in general) there are path limits that can interfere with conversions. See MNT-14437

Thank you for your answer, that can explain my problem.

I saw a hotfix is being developped. Can you tell me when, you think, it will be done please?

Thank you Axel Smiley Happy