Problem importing XAR from 1.6.1 to 2.0.1 - Mem & DB Sizes OK

3 messages Options
Embed this post
Permalink
Matthias Lohmann

Problem importing XAR from 1.6.1 to 2.0.1 - Mem & DB Sizes OK

Reply Threaded More More options
Print post
Permalink
Hello Users,

I am trying to import a 25 MB Xwiki 1.6.1 Export XAR file
into our new 2.0.1 instace.

I came trough all the memory issues and googled around but now I have ..

- MySQL max_allowed_packet set to 256M.
- Java Heap Size set to max 2G.
- No . files in the XAR
- no zro size files in the XAR



Attaching the XAR files in the Import app works.


The listing of the files therein does not ...

Error: No documents found in the selected archive

Archive is OK:
        unzip  -t a1.xar
        No errors detected in compressed data of a1.xar.


I'm using a tomcat5.5 container, trying to import right
after restart of tomcat - so full memory for me ...,
no errors in the logs anymore, but still "No documents found...." message.



Any hints?


Thanks in advance

Matt


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Guillaume Lerouge

Re: Problem importing XAR from 1.6.1 to 2.0.1 - Mem & DB Sizes OK

Reply Threaded More More options
Print post
Permalink
Hi Matt,

On Tue, Oct 20, 2009 at 4:07 PM, Matthias Lohmann <[hidden email]> wrote:

> Hello Users,
>
> I am trying to import a 25 MB Xwiki 1.6.1 Export XAR file
> into our new 2.0.1 instace.
>
> I came trough all the memory issues and googled around but now I have ..
>
> - MySQL max_allowed_packet set to 256M.
> - Java Heap Size set to max 2G.
> - No . files in the XAR
> - no zro size files in the XAR
>
>
>
> Attaching the XAR files in the Import app works.
>
>
> The listing of the files therein does not ...
>
> Error: No documents found in the selected archive
>
> Archive is OK:
>        unzip  -t a1.xar
>        No errors detected in compressed data of a1.xar.
>
>
> I'm using a tomcat5.5 container, trying to import right
> after restart of tomcat - so full memory for me ...,
> no errors in the logs anymore, but still "No documents found...." message.
>
>
>
> Any hints?
>

Try using
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippetand
see how it goes.

Guillaume


> Thanks in advance
>
> Matt
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Matthias Lohmann

Re: Problem importing XAR from 1.6.1 to 2.0.1 - Mem &DB Sizes OK

Reply Threaded More More options
Print post
Permalink
Hello Guillaume,

first test worked good - I could import nearly all the data

Still have to check a few things if all went well,
but the first step ist done.

Thanks for the tip ...

Kind regards
Matt



> Hi Matt,

> On Tue, Oct 20, 2009 at 4:07 PM, Matthias Lohmann <[hidden email]> wrote:

>> Hello Users,
>>
>> I am trying to import a 25 MB Xwiki 1.6.1 Export XAR file
>> into our new 2.0.1 instace.
>>
>> I came trough all the memory issues and googled around but now I have ..
>>
>> - MySQL max_allowed_packet set to 256M.
>> - Java Heap Size set to max 2G.
>> - No . files in the XAR
>> - no zro size files in the XAR
>>
>>
>>
>> Attaching the XAR files in the Import app works.
>>
>>
>> The listing of the files therein does not ...
>>
>> Error: No documents found in the selected archive
>>
>> Archive is OK:
>>        unzip  -t a1.xar
>>        No errors detected in compressed data of a1.xar.
>>
>>
>> I'm using a tomcat5.5 container, trying to import right
>> after restart of tomcat - so full memory for me ...,
>> no errors in the logs anymore, but still "No documents found...." message.
>>
>>
>>
>> Any hints?
>>

> Try using
> http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippetand
> see how it goes.

> Guillaume


>> Thanks in advance
>>
>> Matt
>>
>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>



> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users