On 09/03/2013 12:20 PM, Marius Dumitru Florea wrote:
[....]
In my
installation this causes just an empty page as a response,
which causes the DW to close and the xwiki main page to show up.
The subwikis are not updated, but that can be easily fixed
by going to the "Extension upgrader" and upgrade the
"XWiki Enterprise - UI All" on the complete farm.
However I guess this is not how it should work ... so I should
look at the place where my overlay process has broken things a second time.
Any pointers to what should have happened in
third step?
The last step (Extensions) is displayed only if there are invalid
extensions installed, i.e. extensions that _must_ be upgraded in order
to work. So the explanation could be that either:
* XWiki Enterprise - UI All XAR was not detected by the Extension
Manager as an extension installed on your subwikis or
Probably this happened in my case ...
* the Extension Manager thought that the old version
of XWiki
Enterprise - UI All works with the new XWiki version, so the upgrade
was optional (i.e. the extension was outdated but not invalid).
Do you remember if XWiki Enterprise - UI All was listed in Extension
Updater administration section under Invalid Extensions or under
Outdated Extensions?
I reran the update of my development instance yesterday and again today
to check what has been the case actually, and was a bit confused that instead
it worked "as advertized" ... but then it slowly dawned on me.
When testing the upgrade process I copied some DB's from the "real"
instance
to my local system, but forgot to update the contents of the
"environment.permanentDirectory". Duh, stupid me!
I should really get used to this, but so far I didnt ...
Of course this means the update state of all the wikis (except for the main wiki)
has been wrong or missing. It seems the distribution manager does not check for wikis that
are
not in the *.xed list, so they are not proposed for an update by the DM.
But in the XWiki Admin UI something figures out these Wikis exist and needs to be
upgraded
(btw it lists the "XWiki Enterprise - UI All" as "Invalid Extensions"
then)
This must have been "repaired" itself in the lasts tests, while me restoring
DB's and
"extensions" directories from backup. Not sure if my explanation is correct,
but it certainly is caused by an inconsistence between DB and file system.
Which means, it is a use case that should not happen in a production system.
One final remark: in the DW I now get in step3 the option to upgrade the
"XWiki Enterprise - UI All" for every single wiki on the list, so this means
a separate click on the "upgrade" for each wiki.
On the other hand the extension manager in the XWiki UI offers also an "Upgrade on
Farm"
option, which upgrades the extension on all wikis on which it is installed,
all with a single click.
I find the latter one very convenient. Would it be easy to add this to the DW, too?
(Just an idea - if it really bugs me I could send a pull request ... but I have to admit
I would like to fix other things first, e.g. XWIKI-9233 ....)
Hope this helps,
Marius
Yes, thanks that helped a lot
Clemens