Problem with big .xar file, other then "Size Limit" in "attachments"

Hey,
I currently have a problem importing the .xar file in Xwiki 9.11.4.
Applies recommendations from: http://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentStorage
because file is bigger than 32Mb
I also changed the settings in MySQL accordingly. (my.ini file)
I still get an error “an error occurred while uploading”.

I think you’ll need a lot of JVM memory and it’s best to use filesystem attachments for large files, see http://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentStorage

I created already bigger object, but it isn’t working. I tried hints from this site in this link.
What do you mean by JVM? Other settings?

The easiest to import such big XAR fils is usually to use http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter%20Application (with XAR as input filter and Instance as output).

Yes, i tried this. It works, but then i havent acces to admin-portal :frowning:

Well it all depends what is in this big XAR. If it contains things like XWikiPreferences or group pages then you probably broken your right setup. You can always use superadmin to sort that out.

I cant log to superadmin through xwiki. i changed line to xwiki.superadminpassword=system
so, my user is superadmin and password is system? What I’m doing wrong?

Maybe you didn’t restart xwiki?

Anwser was easy. I used http://localhost:8080/xwiki/bin/edit/XWiki/xWikiPreferences?editor=object
insted of: http://localhost:8080/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object
Case-Sensitive link :slight_smile: