4. Update database¶
Some versions require updates to the database. Look through the list of database update scripts
for a script for the version you are updating to (database version numbers correspond to the ezpublish-kernel
version).
During database update, you have to go through all the changes between your current version and your final version e.g. during update from v2.2 to v2.5 you have to perform all the steps from: <2.3, <2.4 and <2.5.
Start with the version closest to your current version:
- Updating from <1.7
- Updating from <1.13
- Updating from <2.2
- Updating from <2.3
- Updating from <2.4
- Updating from <2.5
Only after applying all changes your database will work properly.
Caution
Always back up your data before running any database update scripts.
After updating the database, clear the cache.