[xwiki-users] Auto-upgrade from XWiki X.Y
Situation: We are currently at XWiki X.Y and we want to upgrade to the latest XWiki version. Problem: Upgrading is complex :-( Wish: I wish that XWiki has an "Check for update" button. If a new version of XWiki is released, this button will report the newest XWiki version. A new button "Upgrade Wiki" will become available. If the admin presses that button... 1) A backup of the current Wiki(s) will be made 2) XWiki will compare the current Wiki X.Y with the version X.Y stored at www.xwiki.org to detect any modifications (like XWiki.XWikiPreferences, XWiki.WebPreferences, XWiki.XWikiAllGroup, XWiki.Admin, *.*Config, XWiki.XWikiServerXwiki, or any other page that has been modified, such as Main.WebHome, a modified Panel, etc. 3) Perform the upgrade of all the XWiki components 4) Merge any configuration files All automaticly, just like updating an iPhone or Android App. I just click on "Install" and the new version of my App will be downloaded/installed. Wishful thinking? -- View this message in context: http://xwiki.475771.n2.nabble.com/Auto-upgrade-from-XWiki-X-Y-tp7587454.html Sent from the XWiki- Users mailing list archive at Nabble.com.
The Distribution Wizard [1] and the Extension Updater [2] are steps in this direction. We currently support upgrading wiki pages (XAR extensions) and non-core components (JAR extensions). Upgrading core components (that are loaded by the web container) and merging configuration files from the file system is more difficult but it's something want to do in the end. Thanks, Marius [1] http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Appli... On Tue, Oct 8, 2013 at 5:12 PM, Hamster <[email protected]> wrote:
Situation: We are currently at XWiki X.Y and we want to upgrade to the latest XWiki version. Problem: Upgrading is complex :-(
Wish: I wish that XWiki has an "Check for update" button. If a new version of XWiki is released, this button will report the newest XWiki version. A new button "Upgrade Wiki" will become available. If the admin presses that button...
1) A backup of the current Wiki(s) will be made 2) XWiki will compare the current Wiki X.Y with the version X.Y stored at www.xwiki.org to detect any modifications (like XWiki.XWikiPreferences, XWiki.WebPreferences, XWiki.XWikiAllGroup, XWiki.Admin, *.*Config, XWiki.XWikiServerXwiki, or any other page that has been modified, such as Main.WebHome, a modified Panel, etc. 3) Perform the upgrade of all the XWiki components 4) Merge any configuration files
All automaticly, just like updating an iPhone or Android App. I just click on "Install" and the new version of my App will be downloaded/installed.
Wishful thinking?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Auto-upgrade-from-XWiki-X-Y-tp7587454.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Oct 8, 2013, at 5:21 PM, Marius Dumitru Florea <[email protected]> wrote:
The Distribution Wizard [1] and the Extension Updater [2] are steps in this direction. We currently support upgrading wiki pages (XAR extensions) and non-core components (JAR extensions). Upgrading core components (that are loaded by the web container) and merging configuration files from the file system is more difficult but it's something want to do in the end.
Yes definitely. A solution is to: 1/ Move all config files to the xwiki permanent directory 2/ Upgrade the whole WAR at once and restart with the new WAR. Something similar to what Jenkins does (not sure how they do this exactly but it probably means starting XWiki from a shell script or from java so that some code can execute before the servlet container so that you can restart it). I've been wanting to do 1/ for a long time now. I probably even have some local, unfinished, stashed commits about it… Thanks -Vincent
Thanks, Marius
[1] http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Appli...
On Tue, Oct 8, 2013 at 5:12 PM, Hamster <[email protected]> wrote:
Situation: We are currently at XWiki X.Y and we want to upgrade to the latest XWiki version. Problem: Upgrading is complex :-(
Wish: I wish that XWiki has an "Check for update" button. If a new version of XWiki is released, this button will report the newest XWiki version. A new button "Upgrade Wiki" will become available. If the admin presses that button...
1) A backup of the current Wiki(s) will be made 2) XWiki will compare the current Wiki X.Y with the version X.Y stored at www.xwiki.org to detect any modifications (like XWiki.XWikiPreferences, XWiki.WebPreferences, XWiki.XWikiAllGroup, XWiki.Admin, *.*Config, XWiki.XWikiServerXwiki, or any other page that has been modified, such as Main.WebHome, a modified Panel, etc. 3) Perform the upgrade of all the XWiki components 4) Merge any configuration files
All automaticly, just like updating an iPhone or Android App. I just click on "Install" and the new version of my App will be downloaded/installed.
Wishful thinking?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Auto-upgrade-from-XWiki-X-Y-tp7587454.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Note that except for 1/ you get pretty much all that on Debian/Ubuntu with the combination of Debian packages for the war and configuration files and the Distribution Wyzard for the wiki pages. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT. On Tue, Oct 8, 2013 at 4:12 PM, Hamster <[email protected]> wrote:
Situation: We are currently at XWiki X.Y and we want to upgrade to the latest XWiki version. Problem: Upgrading is complex :-(
Wish: I wish that XWiki has an "Check for update" button. If a new version of XWiki is released, this button will report the newest XWiki version. A new button "Upgrade Wiki" will become available. If the admin presses that button...
1) A backup of the current Wiki(s) will be made 2) XWiki will compare the current Wiki X.Y with the version X.Y stored at www.xwiki.org to detect any modifications (like XWiki.XWikiPreferences, XWiki.WebPreferences, XWiki.XWikiAllGroup, XWiki.Admin, *.*Config, XWiki.XWikiServerXwiki, or any other page that has been modified, such as Main.WebHome, a modified Panel, etc. 3) Perform the upgrade of all the XWiki components 4) Merge any configuration files
All automaticly, just like updating an iPhone or Android App. I just click on "Install" and the new version of my App will be downloaded/installed.
Wishful thinking?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Auto-upgrade-from-XWiki-X-Y-tp7587454.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (4)
-
Hamster -
Marius Dumitru Florea -
Thomas Mortagne -
Vincent Massol