Am 21.07.2008 um 16:36 schrieb Artem Melentyev:
Marco Weiß wrote:
... Ok i exported a wiki with 50,8 MB as xar, i had to increase the max_upload in xwiki and max_allowed_packet size in mysql. But if i'll upload the file i get the followin error. http://pastebin.centos.org/9998
You need to increase XWA_CONTENT field. See http://jira.xwiki.org/jira/browse/XWIKI-2339
I hope i had understood it right, i used following to mysql commands on my database to increas it. ALTER TABLE xwikiattachment_content CHANGE XWA_CONTENT XWA_CONTENT LONGBLOB NOT NULL; ALTER TABLE xwikiattachment_archive CHANGE XWA_ARCHIVE XWA_ARCHIVE LONGBLOB NOT NULL; But it won't work i get now this message http://pastebin.centos.org/10120 Good the second failure brought me to increas the max_packet_size of my mysql database to 512M Yeha now i can upload the file. By clicking on the xar file two messages apears in the log file see http://pastebin.centos.org/10121 OK after importing i get thousands of lucene index update erroro like this http://pastebin.centos.org/10122 And xwiki wrotes that two documents have errors while importing these. But i don't think i have to worry about it, i think a new import from a fresh xar downloaded from the xwiki page will overwrites this on the other will be deleted. import_listoferrorsfiles * Main.howto_opi * Photos.NewAlbum But it's not over now, the history is gone away, no page has one. The Navigation panel, don't looks right the effect when clicking on a space is off. The panel wizard shows ugly white in white to 80% On the beginning it had looked good but in the end i have to say this way won't work for me. Do you have still have a idea?
You can also remove some pages inside xar (it is just zip package) and update package.xml to make it smaller.
...
Ok i changed this and tried again. My logfile tells me --> http://pastebin.centos.org/9558
And the xwiki page looks so --> http://pastebin.centos.org/9560 Exception says that archive is broken, but it is strange that all documents are affected.
Is saving of document working? (Try to add comment, edit/save document)
That works fine, the wiki is productive, that means till today 30 user in my company works with this xwiki
You can look at xwikircs db table. (sql example: select * from xwikircs where doc.XWR_DOCID=<somedocid>)
from where can i get a DOCID?
you have it in http://pastebin.centos.org/9499:
com.xpn.xwiki.XWikiException: Error number 3103 in 3: Exception while reading version [69.1] for document id [1 425 385 510] so 1425385510 is docid.
here i get these as answer mysql> select * from xwikircs where doc.XWR_DOCID=1425385510; ERROR 1054 (42S22): Unknown column 'doc.XWR_DOCID' in 'where clause'
also it available from velocity: $doc.getId()
ok thx thats nice
-- Artem Melentyev _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Kessler GmbH - Netzwerke und mehr Marco Weiss Gewerbegebiet 6 82399 Raisting Tel.: 08807 / 94 67 7 - 13 Fax: 08807 / 94 67 7 - 99 Mail: marco.weiss(at)kesslernetworks.de Web: www.kesslernetworks.de Sitz der Gesellschaft: Raisting Geschaeftsfuehrer: Florian Kessler HRB 163710