I got something wrong when create a page from office doc

1.I have configure the LibreOffice in “xwiki.properties”
image

2.I create a page use type of “page from office” and upload my “.docx”.
image
image
3.But I got the failed page.
image
4.My libreOffice’s version is ‘5.3.0.0.alpha1’, XWiki version is 10.4, and the doc’s size is 34MB.Is it failed because the file to large?It is success when the file size smaller.

Thank you very much for provide some advice!

Could you check the xwiki and LO logs and tell us what you have?

Sorry! I’m try to find LO logs ,but I don’t not where it is. XWiki has no log when I upload file failed.How can I look the LO logs?Thank you very much!

I think it’s the jodconverter logs not the LO logs. Since it’s called by xwiki I guess the error should normally be in xwiki logs.

In any case have you tried to give more memory to the XWiki JVM? How much memory you have right now?

I have set the memory is “-Xms1024m -Xmx2048m”,
image
but also failed with same problem.

You see ,is it use the default jodconverter?not I configure LO?
image
I’m puzzled for it.
Best Regards!

Could you try with 2MB or more just to verify?

2MB? Sorry, I could not understand what you mean.

I have try upload 10+MB file, it success.

ah yes sorry you are already using 2MB :slight_smile:

Ok so 10MB works good. Maybe check http://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HSizeLimit

Thank you very much! I change the limit size to 128MB ,it is work. I upload the file again, it return success!
Best wishes!:kissing_heart:

Oh!But why the Attachments limit size cause the file upload failed,it should return the error message to warn user.The failed page is hard to understand.

Yes we need that and even better to remove this limit now that we’re using filesystem-based attachments by default. See http://jira.xwiki.org/browse/XWIKI-15264

OK! I’m looking forward to your new features.
Nice to you!