[xwiki-users] Howto import very old xwiki pages
Hi, our existing xwiki is running under Xwiki Enterprise version 1.5.11446 (very old). I am evaluating XWiki 5.0.1 with a local standalone installation. I would like to import all pages of a very old XWiki with the pages being in xwiki 1.0 format. Exporting the pages to a *.xar file and importing this in the 5.0.1 installation didn't work. There were no error messages, but no content was shown during import. The I created a simple test page in the old Xwiki in XWiki 2.0 format. This could not be imported into XWiki 5.0.1, either. What did work, is to copy the content of one page of the old xwiki in the browser view and insert it in the wysiwyg editor of a newly created page in the new xwiki. But this would have to be done for every single page and I didn't test it with more complex pages with tables and images. Any idea how to import very old pages in the current version of XWiki? Thanks in advance Matthias -- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. 0721 885744 Email: matthias.albert@gmx.de
On Sun, Jun 16, 2013 at 8:51 PM, Matthias Albert <matthias.albert@gmx.de> wrote:
Hi,
our existing xwiki is running under Xwiki Enterprise version 1.5.11446 (very old). I am evaluating XWiki 5.0.1 with a local standalone installation. I would like to import all pages of a very old XWiki with the pages being in xwiki 1.0 format. Exporting the pages to a *.xar file and importing this in the 5.0.1 installation didn't work. There were no error messages, but no content was shown during import.
The I created a simple test page in the old Xwiki in XWiki 2.0 format. This could not be imported into XWiki 5.0.1, either.
This is definitely a bug, this situation is supposed to work with whatever old version of XWiki so it would be great if you could create a bug on http://jira.xwiki.org with your example. You don't get any error even in the log ?
What did work, is to copy the content of one page of the old xwiki in the browser view and insert it in the wysiwyg editor of a newly created page in the new xwiki. But this would have to be done for every single page and I didn't test it with more complex pages with tables and images.
Any idea how to import very old pages in the current version of XWiki?
Thanks in advance Matthias
-- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. 0721 885744 Email: matthias.albert@gmx.de
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Is the XAR file valid? The export function on our old XWiki 2.2 would never produce a valid zip file. I am wondering why you are using a XAR export/import in the first place. Why not clone the database user and point your new XWiki to the clone? The new XWiki should automatically perform the necessary upgrade of the database user data, and it doesn't matter whether some of your old pages use XWiki 1.0 syntax. Peter 2013/6/16 Matthias Albert <matthias.albert@gmx.de>
Hi,
our existing xwiki is running under Xwiki Enterprise version 1.5.11446 (very old). I am evaluating XWiki 5.0.1 with a local standalone installation. I would like to import all pages of a very old XWiki with the pages being in xwiki 1.0 format. Exporting the pages to a *.xar file and importing this in the 5.0.1 installation didn't work. There were no error messages, but no content was shown during import.
The I created a simple test page in the old Xwiki in XWiki 2.0 format. This could not be imported into XWiki 5.0.1, either.
What did work, is to copy the content of one page of the old xwiki in the browser view and insert it in the wysiwyg editor of a newly created page in the new xwiki. But this would have to be done for every single page and I didn't test it with more complex pages with tables and images.
Any idea how to import very old pages in the current version of XWiki?
Thanks in advance Matthias
-- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. 0721 885744 Email: matthias.albert@gmx.de
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
I confirm the issue. I did an XAR export on an old wiki and the resulting XAR was not a valid ZIP file. I managed to export the data via http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export . 2013/6/17 Peter John Acklam <pjacklam@gmail.com>
Is the XAR file valid? The export function on our old XWiki 2.2 would never produce a valid zip file.
I am wondering why you are using a XAR export/import in the first place. Why not clone the database user and point your new XWiki to the clone? The new XWiki should automatically perform the necessary upgrade of the database user data, and it doesn't matter whether some of your old pages use XWiki 1.0 syntax.
Peter
2013/6/16 Matthias Albert <matthias.albert@gmx.de>
Hi,
our existing xwiki is running under Xwiki Enterprise version 1.5.11446 (very old). I am evaluating XWiki 5.0.1 with a local standalone installation. I would like to import all pages of a very old XWiki with the pages being in xwiki 1.0 format. Exporting the pages to a *.xar file and importing this in the 5.0.1 installation didn't work. There were no error messages, but no content was shown during import.
The I created a simple test page in the old Xwiki in XWiki 2.0 format. This could not be imported into XWiki 5.0.1, either.
What did work, is to copy the content of one page of the old xwiki in the browser view and insert it in the wysiwyg editor of a newly created page in the new xwiki. But this would have to be done for every single page and I didn't test it with more complex pages with tables and images.
Any idea how to import very old pages in the current version of XWiki?
Thanks in advance Matthias
-- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. 0721 885744 Email: matthias.albert@gmx.de
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Ok then indeed the best is to use some export extension to create the XAR. Did not know we had such bug in 1.5. On Mon, Jun 17, 2013 at 2:32 PM, Guillaume "Louis-Marie" Delhumeau <gdelhumeau@xwiki.com> wrote:
I confirm the issue.
I did an XAR export on an old wiki and the resulting XAR was not a valid ZIP file. I managed to export the data via http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export .
2013/6/17 Peter John Acklam <pjacklam@gmail.com>
Is the XAR file valid? The export function on our old XWiki 2.2 would never produce a valid zip file.
I am wondering why you are using a XAR export/import in the first place. Why not clone the database user and point your new XWiki to the clone? The new XWiki should automatically perform the necessary upgrade of the database user data, and it doesn't matter whether some of your old pages use XWiki 1.0 syntax.
Peter
2013/6/16 Matthias Albert <matthias.albert@gmx.de>
Hi,
our existing xwiki is running under Xwiki Enterprise version 1.5.11446 (very old). I am evaluating XWiki 5.0.1 with a local standalone installation. I would like to import all pages of a very old XWiki with the pages being in xwiki 1.0 format. Exporting the pages to a *.xar file and importing this in the 5.0.1 installation didn't work. There were no error messages, but no content was shown during import.
The I created a simple test page in the old Xwiki in XWiki 2.0 format. This could not be imported into XWiki 5.0.1, either.
What did work, is to copy the content of one page of the old xwiki in the browser view and insert it in the wysiwyg editor of a newly created page in the new xwiki. But this would have to be done for every single page and I didn't test it with more complex pages with tables and images.
Any idea how to import very old pages in the current version of XWiki?
Thanks in advance Matthias
-- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. 0721 885744 Email: matthias.albert@gmx.de
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I remember having had such kind of issues with xar export with older versions of XWiki. At that time, that's what decided me to use SQL database dump instead (I used it mainly for backup activity). I agree with Peter, would be better to clone your xwiki 1.5 database, point on it from your new xwiki then let it perform db migration accordingly during startup (and read proper release notes before of course). BR, Jeremie 2013/6/17 Thomas Mortagne <thomas.mortagne@xwiki.com>
Ok then indeed the best is to use some export extension to create the XAR. Did not know we had such bug in 1.5.
On Mon, Jun 17, 2013 at 2:32 PM, Guillaume "Louis-Marie" Delhumeau <gdelhumeau@xwiki.com> wrote:
I confirm the issue.
I did an XAR export on an old wiki and the resulting XAR was not a valid ZIP file. I managed to export the data via http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export .
2013/6/17 Peter John Acklam <pjacklam@gmail.com>
Is the XAR file valid? The export function on our old XWiki 2.2 would never produce a valid zip file.
I am wondering why you are using a XAR export/import in the first place. Why not clone the database user and point your new XWiki to the clone? The new XWiki should automatically perform the necessary upgrade of the database user data, and it doesn't matter whether some of your old pages use XWiki 1.0 syntax.
Peter
2013/6/16 Matthias Albert <matthias.albert@gmx.de>
Hi,
our existing xwiki is running under Xwiki Enterprise version 1.5.11446 (very old). I am evaluating XWiki 5.0.1 with a local standalone installation. I would like to import all pages of a very old XWiki with the pages being in xwiki 1.0 format. Exporting the pages to a *.xar file and importing this in the 5.0.1 installation didn't work. There were no error messages, but no content was shown during import.
The I created a simple test page in the old Xwiki in XWiki 2.0 format. This could not be imported into XWiki 5.0.1, either.
What did work, is to copy the content of one page of the old xwiki in the browser view and insert it in the wysiwyg editor of a newly created page in the new xwiki. But this would have to be done for every single page and I didn't test it with more complex pages with tables and images.
Any idea how to import very old pages in the current version of XWiki?
Thanks in advance Matthias
-- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. 0721 885744 Email: matthias.albert@gmx.de
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Guillaume "Louis-Marie" Delhumeau -
Jeremie BOUSQUET -
Matthias Albert -
Peter John Acklam -
Thomas Mortagne