Last modified by Thomas Mortagne on 2026/08/14 10:54

Show last authors
1 To upgrade an XWiki instance [[installed from the Debian packages>>Documentation.AdminGuide.Installation.InstallationViaAPT.WebHome]]:
2
3 1. Back up the database, the [[configuration files and the permanent data>>xwiki:Documentation.AdminGuide.Backup]].
4 1. Check the [[Release Notes>>xwiki:ReleaseNotes.WebHome]] of every version between the one you are running and the one you are upgrading to.
5 1. Update the packages index:(((
6 {{code language="bash"}}
7 sudo apt update
8 {{/code}}
9 )))
10 1. Upgrade the packages, which upgrades //every// package installed on the system and not only XWiki:(((
11 {{code language="bash"}}
12 sudo apt upgrade
13 {{/code}}
14 )))
15 1. Check that migrations are enabled, as described in [[Database Upgrade>>documentation.xs.admin.upgrade.distribution.database-upgrade.WebHome]].
16 1. Restart the servlet container.
17 1. [[Upgrade the flavor>>documentation.xs.admin.upgrade.flavor.WebHome]] from a browser, which the Distribution Wizard offers as soon as you log in.
18
19 The wiki then runs the new version, and its Pages are the ones the flavor upgrade installed.

Get Connected