Wiki source code of Database Upgrade

Last modified by Eleni Cojocariu on 2026/08/13 15:14

Show last authors
1 XWiki applies the pending database schema updates and data migrations when it starts, provided migrations are enabled in the ##xwiki.cfg## file. They are enabled in the configuration XWiki ships, but are commonly disabled in production for a faster startup, so check the setting before upgrading. In the {{code language="none"}}# Data migrations and schema updates{{/code}} section, verify that the following line is present and not commented out:
2
3 (((
4 {{code language="none"}}
5 xwiki.store.migration=1
6 {{/code}}
7 )))

Get Connected