Always upgrade from release to release and do not jump directly to the latest version.
- Have a look at the release notes on Github for important notes and breaking changes.
- Preparations
- Shut down your web server and disable all OCO cron jobs.
- Backup your database using
mysqldump
.
- Upgrade
- Check your installed extensions for updates and install them.
- Update all files to the new version but keep your
conf.php
, e.g. by usinggit fetch && git checkout vX.X.X
(valid tag/release names can be found viagit tag
). - Upgrade the database schema by executing
php console.php upgradeschema
. - Check
conf.php.example
and compare it with yourconf.php
for new/updated configuration values.
- Finishing the upgrade
- Start your webserver and re-enable all cron jobs.
- Have a look at the error logs to check if everything is OK (
/srv/log/apache2/error.log
).