Check upgrade consistency
This task is for administrators before and after an upgrade, and monthly as an integrity check. At the end you have a report of every file that differs from the release you run. Reference: The upgrade check.
Contents
Before you start
- An administrator account (the page is Setup > Upgrade check), or shell access.
share/filelist.md5of the release you run is present (it ships with the release).
In the administration
- Setup > Upgrade check (
/setup/systemupgrade). - Check file consistency.
- Read the findings; Download CSV or Download text for the record.
The check only reads; each run and download is recorded as system.upgrade.run.
On the shell
php bin/php/checkmanifest.php --all
php bin/php/checkmanifest.php --all --extensions
php bin/php/checkmanifest.php --all --extensions --csv > upgrade-check-$(date +%F).csvExit 0 when nothing is modified or missing. The command needs no kernel, settings or database.
What the findings mean
| Finding | Do |
|---|---|
| A file you changed on purpose | move the change into an extension or override; until then list it as accepted |
| A file nobody can explain | investigate as a possible compromise (Defacement) |
| Missing files | restore them from the release |
| "File share/filelist.md5 does not exist." | copy the manifest of the release this installation runs |
Related pages
- Check the database schema
- Upgrade check before and after
- Upgrade check as a monitor
- File consistency check
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.