Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-12 Thread Thomas Mortagne
You should probably try
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak
with XE extensions (search for "enterprise" in Installed Extensions in
administration and open details to find the id).

On Mon, Mar 9, 2015 at 9:52 AM, Thomas Mortagne
 wrote:
> On Fri, Mar 6, 2015 at 7:59 PM, Charlie Mann  wrote:
>> Thomas,
>>
>> Thanks for the quick reply.  Here is a little more background on our
>> install.  We have a test server set up with a mirror of production and that
>> is where I am doing the upgrade testing, so I can go back to the current 6.3
>> at any time and redo the process till I get it right. We have a main wiki
>> with 7 or 8 subwikis.  Despite many different attempts, I have never been
>> able to get the Distribution Wizard to appear.   So we have taken to just
>> deploying the latest War file and then using the Extension Updater.  I
>> generally chose 'Check for updates on farm'.  This then provides me with a
>> list of extension that are out of date.  I then go through and update every
>> extension that is out of date.  This had worked with every upgrade I have
>> tried until 6.4.2.  It worked with 6.4.1 in our test environment, but we
>> didn't actually go to 6.4.1 in production because of some the issues present
>> in 6.4.1.
>>
>> What is the best option here for the place we are at?  Should I try to get
>> the Distribution Wizard to appear so that it will handle the upgrade from
>> 6.3 to 6.4.2?  If so, are there any suggestions on how to do this?
>>
>> Or would it be better to try and clean things out first?  Im not quite sure
>> how to determine which installed extensions don't make sense. Also, when you
>> say clean up, how should I do that?  For most of the extensions I only have
>> Uninstall and Downgrade options.  (not sure why there are Downgrade options,
>> as I have only seen in that when trying to go to 6.4.2).
>
> I fixed various inconsistencies check in 6.4.2 regarding installed
> extensions and in your case it found quite a mess since you seems to
> have the all in one UI installed in one wiki and
> org.xwiki.platform:xwiki-platform-appwithinminutes-ui extension (which
> is part of the standard all in one XAR too and so they conflict with
> each other) which is installed in root namespace ("On farm" option in
> the install UI). You should have various warnings about that in the
> log at startup.
>
> So it all depends why it's like this and which one is right exactly.
> If you want to go back to a more standard state you can send me the
> content of /xwiki/extension/repository if you want me to look
> at it and maybe cleanup a bit directly (it might be a bit big if you
> installed lots of extensions).
>
> The difference you will have with Distribution Wizard regarding farm
> upgrade is that it's not upgrading the whole farm in a single job, you
> upgrade the main wiki in a first step and then you take care of other
> wikis either in a following step or you go to each one to have a
> dedicated Distribution Wizard (in case each or some wikis have
> different admins like in http://myxwiki.org farm for example).
>
>>
>> Thanks for the help!
>> Charlie
>>
>> -Original Message-
>> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
>> Sent: Friday, March 6, 2015 3:18 AM
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2
>>
>> You have several very weird things in your setup:
>> * first as you can see in the error it seems like you installed
>> org.xwiki.platform:xwiki-platform-appwithinminutes-ui at farm level which is
>> a really unusual thing to do for a XAR and especially for a XAR which is a
>> standard XE dependency
>> * this extension is 6.3 which mean you did not fully upgraded from 6.3 to
>> 6.4.1 and you have some leftover for some reason
>> * as far as I understand you are not using the Distribution Wizard (as
>> otherwise you wouldn't have ended up with XWiki Enterprise - UI - Main Wiki
>> All and at all or some standard extension installed at farm level), is there
>> a specific reason for that ?
>>
>> I ideally I would suggest to cleanup a bit (look at installed extension and
>> try to clean anything that don't make much sense like
>> 6.3 standard extension leftover or standard extension installed at farm
>> level instead of in the wiki they are used) and then use the Distribution
>> Wizard to so a proper upgrade but I don't know your constraints.
>>
>> On Thu, Mar 5, 2015 at 10:28 PM, Charlie Mann  wrote:
>>> I am us

Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-09 Thread Thomas Mortagne
On Fri, Mar 6, 2015 at 7:59 PM, Charlie Mann  wrote:
> Thomas,
>
> Thanks for the quick reply.  Here is a little more background on our
> install.  We have a test server set up with a mirror of production and that
> is where I am doing the upgrade testing, so I can go back to the current 6.3
> at any time and redo the process till I get it right. We have a main wiki
> with 7 or 8 subwikis.  Despite many different attempts, I have never been
> able to get the Distribution Wizard to appear.   So we have taken to just
> deploying the latest War file and then using the Extension Updater.  I
> generally chose 'Check for updates on farm'.  This then provides me with a
> list of extension that are out of date.  I then go through and update every
> extension that is out of date.  This had worked with every upgrade I have
> tried until 6.4.2.  It worked with 6.4.1 in our test environment, but we
> didn't actually go to 6.4.1 in production because of some the issues present
> in 6.4.1.
>
> What is the best option here for the place we are at?  Should I try to get
> the Distribution Wizard to appear so that it will handle the upgrade from
> 6.3 to 6.4.2?  If so, are there any suggestions on how to do this?
>
> Or would it be better to try and clean things out first?  Im not quite sure
> how to determine which installed extensions don't make sense. Also, when you
> say clean up, how should I do that?  For most of the extensions I only have
> Uninstall and Downgrade options.  (not sure why there are Downgrade options,
> as I have only seen in that when trying to go to 6.4.2).

I fixed various inconsistencies check in 6.4.2 regarding installed
extensions and in your case it found quite a mess since you seems to
have the all in one UI installed in one wiki and
org.xwiki.platform:xwiki-platform-appwithinminutes-ui extension (which
is part of the standard all in one XAR too and so they conflict with
each other) which is installed in root namespace ("On farm" option in
the install UI). You should have various warnings about that in the
log at startup.

So it all depends why it's like this and which one is right exactly.
If you want to go back to a more standard state you can send me the
content of /xwiki/extension/repository if you want me to look
at it and maybe cleanup a bit directly (it might be a bit big if you
installed lots of extensions).

The difference you will have with Distribution Wizard regarding farm
upgrade is that it's not upgrading the whole farm in a single job, you
upgrade the main wiki in a first step and then you take care of other
wikis either in a following step or you go to each one to have a
dedicated Distribution Wizard (in case each or some wikis have
different admins like in http://myxwiki.org farm for example).

>
> Thanks for the help!
> Charlie
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
> Sent: Friday, March 6, 2015 3:18 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2
>
> You have several very weird things in your setup:
> * first as you can see in the error it seems like you installed
> org.xwiki.platform:xwiki-platform-appwithinminutes-ui at farm level which is
> a really unusual thing to do for a XAR and especially for a XAR which is a
> standard XE dependency
> * this extension is 6.3 which mean you did not fully upgraded from 6.3 to
> 6.4.1 and you have some leftover for some reason
> * as far as I understand you are not using the Distribution Wizard (as
> otherwise you wouldn't have ended up with XWiki Enterprise - UI - Main Wiki
> All and at all or some standard extension installed at farm level), is there
> a specific reason for that ?
>
> I ideally I would suggest to cleanup a bit (look at installed extension and
> try to clean anything that don't make much sense like
> 6.3 standard extension leftover or standard extension installed at farm
> level instead of in the wiki they are used) and then use the Distribution
> Wizard to so a proper upgrade but I don't know your constraints.
>
> On Thu, Mar 5, 2015 at 10:28 PM, Charlie Mann  wrote:
>> I am using the Extension Updater to upgrade our XWiki instance from
>> 6.3 to
>> 6.4.2  Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki
> All'
>> package, I get the following error:
>>
>> * An extension with feature
>> [org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already
>> installed on root namespace
>> ([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3])
>>
>> class org.xwiki.extension.InstallException: Failed to resolve
>> extension at
>> org.xwiki.extension.job.internal.AbstractIns

Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-06 Thread Charlie Mann
Thomas,

Thanks for the quick reply.  Here is a little more background on our
install.  We have a test server set up with a mirror of production and that
is where I am doing the upgrade testing, so I can go back to the current 6.3
at any time and redo the process till I get it right. We have a main wiki
with 7 or 8 subwikis.  Despite many different attempts, I have never been
able to get the Distribution Wizard to appear.   So we have taken to just
deploying the latest War file and then using the Extension Updater.  I
generally chose 'Check for updates on farm'.  This then provides me with a
list of extension that are out of date.  I then go through and update every
extension that is out of date.  This had worked with every upgrade I have
tried until 6.4.2.  It worked with 6.4.1 in our test environment, but we
didn't actually go to 6.4.1 in production because of some the issues present
in 6.4.1.

What is the best option here for the place we are at?  Should I try to get
the Distribution Wizard to appear so that it will handle the upgrade from
6.3 to 6.4.2?  If so, are there any suggestions on how to do this?  

Or would it be better to try and clean things out first?  Im not quite sure
how to determine which installed extensions don't make sense. Also, when you
say clean up, how should I do that?  For most of the extensions I only have
Uninstall and Downgrade options.  (not sure why there are Downgrade options,
as I have only seen in that when trying to go to 6.4.2).

Thanks for the help!
Charlie

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Friday, March 6, 2015 3:18 AM
To: XWiki Users
Subject: Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

You have several very weird things in your setup:
* first as you can see in the error it seems like you installed
org.xwiki.platform:xwiki-platform-appwithinminutes-ui at farm level which is
a really unusual thing to do for a XAR and especially for a XAR which is a
standard XE dependency
* this extension is 6.3 which mean you did not fully upgraded from 6.3 to
6.4.1 and you have some leftover for some reason
* as far as I understand you are not using the Distribution Wizard (as
otherwise you wouldn't have ended up with XWiki Enterprise - UI - Main Wiki
All and at all or some standard extension installed at farm level), is there
a specific reason for that ?

I ideally I would suggest to cleanup a bit (look at installed extension and
try to clean anything that don't make much sense like
6.3 standard extension leftover or standard extension installed at farm
level instead of in the wiki they are used) and then use the Distribution
Wizard to so a proper upgrade but I don't know your constraints.

On Thu, Mar 5, 2015 at 10:28 PM, Charlie Mann  wrote:
> I am using the Extension Updater to upgrade our XWiki instance from 
> 6.3 to
> 6.4.2  Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki
All'
> package, I get the following error:
>
> * An extension with feature
> [org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already 
> installed on root namespace
> ([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3])
>
> class org.xwiki.extension.InstallException: Failed to resolve 
> extension at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi
> on(Abs
> tractInstallPlanJob.java:770) at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi
> on(Abs
> tractInstallPlanJob.java:393) at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi
> on(Abs
> tractInstallPlanJob.java:290) at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(Abstract
> Instal
> lPlanJob.java:220) at
> org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPla
> nJob.j
> ava:88) at
> org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) 
> at
> org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
>
>
>
> I have tried to upgrade from 6.3 to 6.4.1 first and then upgrade from 
> 6.4.1 to 6.4.2, but I still get the same issue when going from 6.4.1 to
6.4.2.
> Going from 6.3 to 6.4.1 works fine.
>
>
>
> Are there any workarounds to get Enterprise UI package to upgrade, or 
> will this be something that is fixed in next release?
>
>
>
> Thank you,
>
> Charlie
>
> ___
> 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-06 Thread Thomas Mortagne
You have several very weird things in your setup:
* first as you can see in the error it seems like you installed
org.xwiki.platform:xwiki-platform-appwithinminutes-ui at farm level
which is a really unusual thing to do for a XAR and especially for a
XAR which is a standard XE dependency
* this extension is 6.3 which mean you did not fully upgraded from 6.3
to 6.4.1 and you have some leftover for some reason
* as far as I understand you are not using the Distribution Wizard (as
otherwise you wouldn't have ended up with XWiki Enterprise - UI - Main
Wiki All and at all or some standard extension installed at farm
level), is there a specific reason for that ?

I ideally I would suggest to cleanup a bit (look at installed
extension and try to clean anything that don't make much sense like
6.3 standard extension leftover or standard extension installed at
farm level instead of in the wiki they are used) and then use the
Distribution Wizard to so a proper upgrade but I don't know your
constraints.

On Thu, Mar 5, 2015 at 10:28 PM, Charlie Mann  wrote:
> I am using the Extension Updater to upgrade our XWiki instance from 6.3 to
> 6.4.2  Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki All'
> package, I get the following error:
>
> * An extension with feature
> [org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already installed
> on root namespace
> ([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3])
>
> class org.xwiki.extension.InstallException: Failed to resolve extension at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
> tractInstallPlanJob.java:770) at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
> tractInstallPlanJob.java:393) at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
> tractInstallPlanJob.java:290) at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstal
> lPlanJob.java:220) at
> org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.j
> ava:88) at
> org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) at
> org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
>
>
>
> I have tried to upgrade from 6.3 to 6.4.1 first and then upgrade from 6.4.1
> to 6.4.2, but I still get the same issue when going from 6.4.1 to 6.4.2.
> Going from 6.3 to 6.4.1 works fine.
>
>
>
> Are there any workarounds to get Enterprise UI package to upgrade, or will
> this be something that is fixed in next release?
>
>
>
> Thank you,
>
> Charlie
>
> ___
> 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


[xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-05 Thread Charlie Mann
I am using the Extension Updater to upgrade our XWiki instance from 6.3 to
6.4.2  Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki All'
package, I get the following error:

* An extension with feature
[org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already installed
on root namespace
([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3]) 

class org.xwiki.extension.InstallException: Failed to resolve extension at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
tractInstallPlanJob.java:770) at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
tractInstallPlanJob.java:393) at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(Abs
tractInstallPlanJob.java:290) at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstal
lPlanJob.java:220) at
org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.j
ava:88) at
org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) at
org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) 

 

I have tried to upgrade from 6.3 to 6.4.1 first and then upgrade from 6.4.1
to 6.4.2, but I still get the same issue when going from 6.4.1 to 6.4.2.
Going from 6.3 to 6.4.1 works fine.

 

Are there any workarounds to get Enterprise UI package to upgrade, or will
this be something that is fixed in next release?

 

Thank you,

Charlie

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users