Exponential 6.0.15 brings an upgrade command of its own, exp:upgrade. xne builds on it and adds the verified backup and the automatic rollback; use xne when you can.
exp:upgrade
./console exp:upgrade:status ./console exp:upgrade --to=v6.0.15 # dry run ./console exp:upgrade --apply --to=v6.0.15 ./console exp:upgrade:rollback
The upgrade runs in stages: the code, the libraries (composer install and an audit), the database, the scripts, and a finish that redeploys and checks the site.
By hand, within 6.0
- Put the new code in place (git pull or composer update).
- Run the database update files for your engine from update/database/.
- php bin/php/ezpgenerateautoloads.php -e
- php bin/php/ezcache.php --clear-all
- Reload PHP-FPM, or run exp:velocity deploy where Velocity serves the site.
Check the result
- exp:checkdbfiles --no-verify-branches checks the database update files against the upgrade path.
- exp:checkclasses loads every class and reports the ones PHP refuses.
- exp:checkmanifest --all compares the files with share/filelist.md5; in the administration the same check is Setup, Upgrade check, Check file consistency.
- exp:expfetch prints the system card with the version.
From older lines
Upgrades from 3.10 to 5.x, from 5.4 and from the Symfony-based platform are in the install guide of the technical manual, chapters 11 and 14 to 17.