[xwiki-users] Xwiki 6.3 : issue when import xar file larger than 32mb
Hi, First, sorry for my bad english. I've got an issue when i want to import a XAR file (size : 53 mb). When i want to import it, i've got an error message who said that max size for the import is 32 Mb. I understood the the WikiStream allowed to import files of any size. So can you explain me why i've got a limit and, if it's possible, how i can bypass them. Thanks. Kevin. -- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com.
There is two separated things, during the actual import yes pretty much any size of XAR is supported now but the current UI still work with an attachent and the error you get is when you attach the XAR, not when you import it. Le 11 déc. 2014 14:46, "Kevin" <[email protected]> a écrit :
Hi,
First, sorry for my bad english.
I've got an issue when i want to import a XAR file (size : 53 mb). When i want to import it, i've got an error message who said that max size for the import is 32 Mb. I understood the the WikiStream allowed to import files of any size.
So can you explain me why i've got a limit and, if it's possible, how i can bypass them.
Thanks.
Kevin.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
i've got the issue in the import/export page (in "Administer Wiki" section) when i want to import the xar from my old installation. I want to import it to retrieve some old pages, templates, ... but with his size, it's impossible. So can i bypass the 32mb size limit to import my file ? Or another way to do it ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com.
You can configure the maximum attachment size in the administration, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HSizeLimit. If your attachment is really huge I would usually suggest you to use WikiStream/Filter generic UI but it seems to have a regression in 6.3 (caused by the move from "WikiStream" to "Filter" naming). At worst you can always use http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import which do that work since a long time. On Fri, Dec 12, 2014 at 9:16 AM, Kevin <[email protected]> wrote:
i've got the issue in the import/export page (in "Administer Wiki" section) when i want to import the xar from my old installation. I want to import it to retrieve some old pages, templates, ... but with his size, it's impossible. So can i bypass the 32mb size limit to import my file ? Or another way to do it ?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I already tried to augment the size limit (follow the steps in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HSizeLimit) but with no effect : I change the size here : <http://xwiki.475771.n2.nabble.com/file/n7593460/here.png> with this value : <http://xwiki.475771.n2.nabble.com/file/n7593460/filesize.png> I've even try to change the max_allowed_packet in my mysql config. But it doens't work. I'm going to try with the extension. -- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi! Besides XWiki limits, it could be blocked by web server. Try to check if it has upload size limit. In Nginx it is: client_max_body_size Hope it helps. Kind regards, Dmitry Fri, 12 Dec 2014 01:16:13 -0700 (MST) от Kevin <[email protected]>:
i've got the issue in the import/export page (in "Administer Wiki" section) when i want to import the xar from my old installation. I want to import it to retrieve some old pages, templates, ... but with his size, it's impossible. So can i bypass the 32mb size limit to import my file ? Or another way to do it ?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
My wiki is installed on a tomcat server. I'm going to check if a size limit are defined. Thanks for this tip. -- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com.
Nice it works ! The upload was blocked by the tomcat server. I add this option in server.xml (in 8080 connector) in /etc/tomcat7 : <http://xwiki.475771.n2.nabble.com/file/n7593463/tomcat.png> Thanks for your help. -- View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-6-3-issue-when-import-xar-file-large... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (3)
-
Dmitry Bakbardin -
Kevin -
Thomas Mortagne