# I got something wrong when create a page from office doc

**URL:** <https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077>\
**Category:** Help / Discuss\
**Tags:** office-import\
**Created:** [June 6, 2018, 6:36am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077 "2018-06-06T06:36:13Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 6:36am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/1 "2018-06-06T06:36:14Z")

</div>

1.I have configure the LibreOffice in “xwiki.properties”  
 ![image](https://discourse.xwiki.org/uploads/default/original/1X/16f186e6fb8fe4291614a30348912aecd6d6f8e3.png)

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 6:51am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/2 "2018-06-06T06:51:23Z")

</div>

2.I create a page use type of “page from office” and upload my “.docx”.  
 ![image](https://discourse.xwiki.org/uploads/default/original/1X/1710b83139c64612ceda40bbc528ddb8bd1e4593.png)  
 ![image](https://discourse.xwiki.org/uploads/default/original/1X/01c3dfb8ea1c0c1a00193490de0e2de3474f4ac0.png)  
3.But I got the failed page.  
 ![image](https://discourse.xwiki.org/uploads/default/original/1X/7099a58ebdaa56bf62e5ebfffe9ff3c3017c0c6a.png)  
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!

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [June 6, 2018, 6:52am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/3 "2018-06-06T06:52:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 7:15am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/4 "2018-06-06T07:15:33Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [June 6, 2018, 7:22am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/5 "2018-06-06T07:22:13Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 7:48am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/6 "2018-06-06T07:48:42Z")

</div>

I have set the memory is “-Xms1024m -Xmx2048m”,  
 ![image](https://discourse.xwiki.org/uploads/default/original/1X/1cf437f58433cfeb66ba477edf9d49ff5e2381ff.png)  
but also failed with same problem.

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 7:50am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/7 "2018-06-06T07:50:00Z")

</div>

You see ,is it use the default jodconverter?not I configure LO?  
 ![image](https://discourse.xwiki.org/uploads/default/original/1X/3c11c4e18a767dbc9dbe0b73f32bfd6ab7695eeb.png)  
I’m puzzled for it.  
Best Regards!

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [June 6, 2018, 7:55am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/8 "2018-06-06T07:55:07Z")

</div>

> [@wuguokai](#):
>
> I have set the memory is “-Xms1024m -Xmx2048m”,

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

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 7:58am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/9 "2018-06-06T07:58:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 8:00am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/10 "2018-06-06T08:00:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [June 6, 2018, 8:04am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/11 "2018-06-06T08:04:37Z")

</div>

> [@wuguokai](#):
>
> 2MB? Sorry, I could not understand what you mean.

ah yes sorry you are already using 2MB 🙂

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

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 8:20am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/12 "2018-06-06T08:20:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 8:30am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/13 "2018-06-06T08:30:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [June 6, 2018, 8:33am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/14 "2018-06-06T08:33:20Z")

</div>

> [@wuguokai](#):
>
> 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 [Loading...](http://jira.xwiki.org/browse/XWIKI-15264)

---

<div class="post-metadata">

**Author:** ![wuguokai](https://forum.xwiki.org/user_avatar/forum.xwiki.org/wuguokai/32/1030_2.png) [@wuguokai](https://forum.xwiki.org/u/wuguokai)\
**Post date:** [June 6, 2018, 8:41am UTC](https://forum.xwiki.org/t/i-got-something-wrong-when-create-a-page-from-office-doc/3077/15 "2018-06-06T08:41:01Z")

</div>

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