[xwiki-users] Farm upgrade
Hi, I'm trying to upgrade my farm from 2.3.2 to 2.4.3. If I follow the upgrade guide http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Migration , the 2 steps are : 1/ upgrade the main wiki (XEM war and XEM xar) 2/ upgrade each sub-wikis My question is about this last third step. To do the upgrade, I have downloaded the standard XE xar (xwiki-enterprise-wiki-2.4.3.xar). But there is also a xar attached in the XemManager.install page (template-xe.xar). These 2 xar are the same. I hope you confirm this. When I import this XAR in a sub-wiki, the author of the upgraded pages is XWiki.Admin (the local admin of the sub-wiki). But this local Admin doesn't have programming rights. It so happens that a lot of pages (AllDocs, DeletedDocuments, ...) can't execute. The workaround is to save these pages as xwiki:XWiki.Admin but it's boring. Is there something that I've missed ? Why the template-xe.xar does not have xwiki:XWiki.Admin as author of the pages ? Best regards, Maxime Mathieu
Hi! Maxime Mathieu wrote:
Hi,
I'm trying to upgrade my farm from 2.3.2 to 2.4.3. If I follow the upgrade guide http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Migration , the 2 steps are : 1/ upgrade the main wiki (XEM war and XEM xar) 2/ upgrade each sub-wikis
My question is about this last third step. To do the upgrade, I have downloaded the standard XE xar (xwiki-enterprise-wiki-2.4.3.xar). But there is also a xar attached in the XemManager.install page (template-xe.xar). These 2 xar are the same. I hope you confirm this. When I import this XAR in a sub-wiki, the author of the upgraded pages is XWiki.Admin (the local admin of the sub-wiki). But this local Admin doesn't have programming rights. It so happens that a lot of pages (AllDocs, DeletedDocuments, ...) can't execute. The workaround is to save these pages as xwiki:XWiki.Admin but it's boring.
Is there something that I've missed ? Why the template-xe.xar does not have xwiki:XWiki.Admin as author of the pages ?
Best regards, Maxime Mathieu
To the best of my knowledge, template-xe.xar is wiki template and it is included in xwiki-enterprise-manager-wiki-administrator-x.y.xar and has nothing to do with already created subwikis. It will be used on demand to create new ones. Sorry, I don't understand, are you trying to import it? Where you said "this XAR" do you mean xwiki-enterprise-wiki-2.4.3.xar or template-xe.xar? If you import xwiki-enterprise-wiki-2.4.3.xar you must be extremely careful to avoid overwriting customized pages. I find this the most "dangerous" step in the upgrade process. I don't think you must try to import template-xe.xar. HTH! Ricardo -- Ricardo RodrÃguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems
On Wed, Oct 20, 2010 at 17:39, Maxime Mathieu <le.genie.logiciel@gmail.com> wrote:
Hi,
I'm trying to upgrade my farm from 2.3.2 to 2.4.3. If I follow the upgrade guide http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Migration , the 2 steps are : 1/ upgrade the main wiki (XEM war and XEM xar) 2/ upgrade each sub-wikis
My question is about this last third step. To do the upgrade, I have downloaded the standard XE xar (xwiki-enterprise-wiki-2.4.3.xar). But there is also a xar attached in the XemManager.install page (template-xe.xar). These 2 xar are the same. I hope you confirm this. When I import this XAR in a sub-wiki, the author of the upgraded pages is XWiki.Admin (the local admin of the sub-wiki). But this local Admin doesn't have programming rights. It so happens that a lot of pages (AllDocs, DeletedDocuments, ...) can't execute. The workaround is to save these pages as xwiki:XWiki.Admin but it's boring.
Is there something that I've missed ? Why the template-xe.xar does not have xwiki:XWiki.Admin as author of the pages ?
You are not supposed to use template-xe.xar file which is a copy of the XE xar and used only to create an examplate template wiki in XEM install page the first time you install XEM. When you do an upgrade, use the proper XE xar to upgrade each wiki which need to be upgraded including the template wiki if you created it (or you delete the template wiki and recreate it by going to XEM install page after having upgraded XEM main wiki).
Best regards, Maxime Mathieu _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello Thomas, Ok, I have to use the standard XE xar to upgrade the sub-wikis. But could you confirm that it would be better to have a specific XE xar for sub-wiki with the appropriate global Admin as owner of the pages ? Is there a special option to apply to the xar import to avoid this issue ? Thank you for your response. Best regards, Maxime 2010/10/21 Thomas Mortagne <thomas.mortagne@xwiki.com>
On Wed, Oct 20, 2010 at 17:39, Maxime Mathieu <le.genie.logiciel@gmail.com> wrote:
Hi,
I'm trying to upgrade my farm from 2.3.2 to 2.4.3. If I follow the upgrade guide http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Migration , the 2 steps are : 1/ upgrade the main wiki (XEM war and XEM xar) 2/ upgrade each sub-wikis
My question is about this last third step. To do the upgrade, I have downloaded the standard XE xar (xwiki-enterprise-wiki-2.4.3.xar). But there is also a xar attached in the XemManager.install page (template-xe.xar). These 2 xar are the same. I hope you confirm this. When I import this XAR in a sub-wiki, the author of the upgraded pages is XWiki.Admin (the local admin of the sub-wiki). But this local Admin doesn't have programming rights. It so happens that a lot of pages (AllDocs, DeletedDocuments, ...) can't execute. The workaround is to save these pages as xwiki:XWiki.Admin but it's boring.
Is there something that I've missed ? Why the template-xe.xar does not have xwiki:XWiki.Admin as author of the pages ?
You are not supposed to use template-xe.xar file which is a copy of the XE xar and used only to create an examplate template wiki in XEM install page the first time you install XEM. When you do an upgrade, use the proper XE xar to upgrade each wiki which need to be upgraded including the template wiki if you created it (or you delete the template wiki and recreate it by going to XEM install page after having upgraded XEM main wiki).
Best regards, Maxime Mathieu _______________________________________________ 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
On Mon, Oct 25, 2010 at 14:42, Maxime Mathieu <le.genie.logiciel@gmail.com> wrote:
Hello Thomas,
Ok, I have to use the standard XE xar to upgrade the sub-wikis. But could you confirm that it would be better to have a specific XE xar for sub-wiki with the appropriate global Admin as owner of the pages ? Is there a special option to apply to the xar import to avoid this issue ?
Sure but theses pages that need programming right are actually not yet fixed bugs. See http://jira.xwiki.org/jira/browse/XE-521 for example.
Thank you for your response.
Best regards, Maxime
2010/10/21 Thomas Mortagne <thomas.mortagne@xwiki.com>
On Wed, Oct 20, 2010 at 17:39, Maxime Mathieu <le.genie.logiciel@gmail.com> wrote:
Hi,
I'm trying to upgrade my farm from 2.3.2 to 2.4.3. If I follow the upgrade guide http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Migration , the 2 steps are : 1/ upgrade the main wiki (XEM war and XEM xar) 2/ upgrade each sub-wikis
My question is about this last third step. To do the upgrade, I have downloaded the standard XE xar (xwiki-enterprise-wiki-2.4.3.xar). But there is also a xar attached in the XemManager.install page (template-xe.xar). These 2 xar are the same. I hope you confirm this. When I import this XAR in a sub-wiki, the author of the upgraded pages is XWiki.Admin (the local admin of the sub-wiki). But this local Admin doesn't have programming rights. It so happens that a lot of pages (AllDocs, DeletedDocuments, ...) can't execute. The workaround is to save these pages as xwiki:XWiki.Admin but it's boring.
Is there something that I've missed ? Why the template-xe.xar does not have xwiki:XWiki.Admin as author of the pages ?
You are not supposed to use template-xe.xar file which is a copy of the XE xar and used only to create an examplate template wiki in XEM install page the first time you install XEM. When you do an upgrade, use the proper XE xar to upgrade each wiki which need to be upgraded including the template wiki if you created it (or you delete the template wiki and recreate it by going to XEM install page after having upgraded XEM main wiki).
Best regards, Maxime Mathieu _______________________________________________ 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
-- Thomas Mortagne
Ok, thank you. So, if I replace XWiki.Admin by xwiki:XWiki.Admin in the XE.xar, it is just a workaround ;-) Best regards, Maxime 2010/10/25 Thomas Mortagne <thomas.mortagne@xwiki.com>
On Mon, Oct 25, 2010 at 14:42, Maxime Mathieu <le.genie.logiciel@gmail.com> wrote:
Hello Thomas,
Ok, I have to use the standard XE xar to upgrade the sub-wikis. But could you confirm that it would be better to have a specific XE xar for sub-wiki with the appropriate global Admin as owner of the pages ? Is there a special option to apply to the xar import to avoid this issue ?
Sure but theses pages that need programming right are actually not yet fixed bugs. See http://jira.xwiki.org/jira/browse/XE-521 for example.
Thank you for your response.
Best regards, Maxime
2010/10/21 Thomas Mortagne <thomas.mortagne@xwiki.com>
On Wed, Oct 20, 2010 at 17:39, Maxime Mathieu <le.genie.logiciel@gmail.com> wrote:
Hi,
I'm trying to upgrade my farm from 2.3.2 to 2.4.3. If I follow the upgrade guide http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Migration , the 2 steps are : 1/ upgrade the main wiki (XEM war and XEM xar) 2/ upgrade each sub-wikis
My question is about this last third step. To do the upgrade, I have downloaded the standard XE xar (xwiki-enterprise-wiki-2.4.3.xar). But there is also a xar attached in the XemManager.install page (template-xe.xar). These 2 xar are the same. I hope you confirm this. When I import this XAR in a sub-wiki, the author of the upgraded pages
is
XWiki.Admin (the local admin of the sub-wiki). But this local Admin doesn't have programming rights. It so happens that a lot of pages (AllDocs, DeletedDocuments, ...) can't execute. The workaround is to save these pages as xwiki:XWiki.Admin but it's boring.
Is there something that I've missed ? Why the template-xe.xar does not have xwiki:XWiki.Admin as author of the pages ?
You are not supposed to use template-xe.xar file which is a copy of the XE xar and used only to create an examplate template wiki in XEM install page the first time you install XEM. When you do an upgrade, use the proper XE xar to upgrade each wiki which need to be upgraded including the template wiki if you created it (or you delete the template wiki and recreate it by going to XEM install page after having upgraded XEM main wiki).
Best regards, Maxime Mathieu _______________________________________________ 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
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
[Ricardo Rodriguez] eBioTIC. -
Maxime Mathieu -
Thomas Mortagne