Is there a way to start the DW without restarting XWiki?
If the DW is the preferred way, why is this on the upgrade page?
" Starting with XWiki 4.2 you are able to use the Extension Manager to perform XAR
upgrades that support automatic merges and conflict resolution."
Keith Davis - (214) 906-5183
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent
Massol
Sent: Monday, August 26, 2013 8:21 AM
To: XWiki Users
Subject: Re: [xwiki-users] How the first upgrade of xwiki was unsuccessful.
On Aug 26, 2013, at 1:31 PM, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
wrote:
Configuration files were migrated correctly.
When I restarted tomcat and tried to log in XWiki, xwiki started a wizard.
It downloaded the default XAR, and I saw an inverted triangle to the
right of "CONTINUE" button.
When I moved the mouse cursor over the triangle, I saw a drop-down
menu with "INSTALL".
I thought "INSTALL" would install the default XAR, but when I clicked
it, I saw the button replaced with a text saying "#execute..." or
"#hold...."(I can't remember the exact text).
I guess this is something that looks like a bug ...
By the way, is the distribution manager expected to pop up on an upgrade?
Yes definitely, see
http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard
I thought this should only happen on a fresh install.
Nope. It's used to upgrade all extensions (and thus upgrade wiki pages).
From which XWiki version have you been upgrading?
I assumed xwiki failed to merge the new default
XAR with the old XWiki.
So I clicked "Skip" and continued migration process.
I'm not sure if database migration was successfully done because I
failed to merge the new default XAR via the wizard.
I tried to import the new XAR, and I chose "Replace the document
history with the history from the package" instead of "Add a new
version to the existing document".
That choice was ok except I had to uncheck some documents that
contain information of user, right, and password.
Thus, the Main space WebHome was overwritten, and the admin password
was reset to "admin".
When it comes to updating from a "relatively" old version of Xwiki, I
prefer to do it "old style", i.e. import the *.xar manually, as you did.
No, no don't do that. That's the old way which is very dangerous and error prone.
That's why we took all that pain to develop the DW... ;)
As you figured out it is better to exclude some pages,
as listed in
the
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgrading
wikidocuments
Nope, it's better to use the DW!
Additionally I think it is better to keep the
"Add a new version to the existing document"
checkbox checked, because just in case one forgot to exclude one of
the pages one can recover from that mistake simply by revert to the version before the
import.
Yup.
I am currently preparing a migration of a rather old
(2.2)
installation to 5.x, and as this installation has a lots of sub-wikis,
it seems to pay off to manually create an "xwiki-subwiki-update.xar"
which is the same as the xwiki-enterprise.xar except for excluding the
Main,WebHome and the other pages which should be excluded anyway.
You should use the DW :)
Thanks
-Vincent
However I am not sure how well that plays with the
application
manager for the next upgrade ... not too well, I guess, as it might
think the "XWiki Enterprise UI" app is not properly installed.
Cheers,
Clemens
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
This message (including any attachments) may contain confidential or otherwise privileged
information and is intended only for the individual(s) to which it is addressed. If you
are not the named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be
secured or error-free as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message or that arise as a
result of e-mail transmission. If verification is required please request a hard-copy
version from the sender.
www.pridedallas.com