Upgrade
Last modified by superadmin on 2026/11/25 21:45
Content
Bringing an instance to a newer version, for its features and security fixes, in two parts: the distribution, then the flavor.
Explanation
Before starting:
- Back up your data, so that the instance can be restored if the upgrade goes wrong.
- Update the installed extensions, because a newer version of an extension often carries the compatibility fix the new XWiki version needs.
- Read the Release Notes of every version between the one you are running and the one you are upgrading to, in particular the sections named
"Issues specific to XWiki <version>"and any change to the prerequisites.
An upgrade then has two parts, in this order:
- Upgrading the distribution: the XWiki software on the server, replaced from the filesystem or through the package manager.
- Upgrading the flavor: the wiki Pages, updated from a browser.
FAQ
Do I need to upgrade to each intermediary version?
No. XWiki provides migration paths that allow you to upgrade directly from any older version to a newer one. You do not need to install intermediary versions.
Can I return to the previous version if the upgrade goes wrong?
Restoring the backup you took beforehand is the reliable route, because an upgrade changes the database schema and the permanent directory; see Downgrade your Wiki.
More
To find more about the current topic, you can search, select an highlighted topic, or use the table below and filter the columns to narrow your choices.
- Upgrade the Demo Package
- Install the new version beside the old one and copy the data directory across, leaving the old installation untouched.
- Upgrade the XWiki WAR Package
- Replace the deployed web application rather than copying the new files over it, and point it at the permanent directory it used.
- Upgrade XWiki Installed from the Debian Packages
- Back up, upgrade the packages with apt, restart the servlet container, then upgrade the flavor from a browser.
- Upgrade XWiki Installed in Docker
- Start a container of the new version on the volumes of the old one, after applying the configuration changes the release notes require.
- Upgrade the Standard Flavor of the Wiki Using the Distribution Wizard
- Let the wizard upgrade the flavor and the installed extensions, then review its report of the pages it updated.