From version < 20.2 >
edited by Vincent Massol
on 2012/12/27
To version < 21.1 >
edited by Denis Gervalle
on 2012/12/27
< >
Change comment: Add some additional warning regarding database migration

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.dgervalle
Content
... ... @@ -73,6 +73,11 @@
73 73  
74 74  == General Notes ==
75 75  
76 +{{warning}}
77 +PLEASE, BACKUP YOUR DATABASE BEFORE STARTING YOUR WIKI.
78 +AUTOMATED MIGRATION PROCEDURE TAKE PLACE AT STARTUP AND YOU MAY NEED TO START OVER IF YOU ENCOUNTER AN UNEXPECTED ISSUE.
79 +{{/warning}}
80 +
76 76  You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
77 77  
78 78  {{warning}}
... ... @@ -79,6 +79,14 @@
79 79  Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were added. Note that you should add ##xwiki.store.migration=1## so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
80 80  {{/warning}}
81 81  
87 +{{warning}}
88 +If you are migrating from an earlier version than 4.0, and your database contains statistics collected using a version earlier than 2.2, you will probably encounter an issue during our automated database migration. To avoid that issue, you will need to clean up your statistics by executing some SQL commands described in issue [[XWIKI-8129>>http://jira.xwiki.org/browse/XWIKI-8129]]. Be sure to apply these before attempting the migration. If your are in doubt, apply it, these could not hurt. If you don't, you will face duplicate IDs errors during the migration process, and it will fail, preventing you to run your wiki.
89 +{{/warning}}
90 +
91 +{{warning}}
92 +If you have encountered an issue with the migration, you may need to start over from a backup. Be careful that during the migration, two new tables have been created (in each xwiki database for a farm) and should be dropped when you restore a backup of a database coming from a version earlier than 4.x. These two tables are DATABASECHANGELOG and DATABASECHANGELOGLOCK. These should only be removed if you restore a pre-4.x database schema. Mixing an old database with these two tables will surely cause issue during schema updates (liquibase checksum failure).
93 +{{/warning}}
94 +
82 82  == Issues specific to XWiki 4.4 RC 1 ==
83 83  
84 84  * The Toucan skin has been removed from the platform and from the distribution packages. You can find the sources in the [[xwiki-contrib repository on github>>https://github.com/xwiki-contrib/skin-toucan]].

Get Connected