Database Upgrade

Last modified by Vincent Massol on 2026/03/02 13:55

Explanation

Ensure the xwiki.cfg file is configured correctly to allow the system to automatically upgrade the database schema. More specifically, find the section # Data migrations and schema updates, and verify the following migration setting is enabled (uncommented):

xwiki.store.migration=1

FAQ

What if the migration of the database fails?

If the migration process fails, drop the DATABASECHANGELOG and DATABASECHANGELOGLOCK tables from your database and then restart the migration. This should allow the migration to proceed without further issues.

Get Connected