Last modified by Vincent Massol on 2026/10/14 20:05

Hide last authors
Eleni Cojocariu 1.1 1 To upgrade an XWiki instance [[installed from the Debian packages>>Documentation.AdminGuide.Installation.InstallationViaAPT.WebHome]]:
2
Eleni Cojocariu 7.1 3 1. Back up the database, the [[configuration files and the permanent data>>doc:documentation.xs.admin.backup.backup-instance.WebHome]].
Eleni Cojocariu 1.1 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 )))
Eleni Cojocariu 2.1 10 1. Upgrade the packages, which upgrades //every// package installed on the system and not only XWiki:(((
Eleni Cojocariu 1.1 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