Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:upgradeverify

Upgrade verify: re-detect every step and report drift; --after: the full check after an upgrade (steps, smoke addresses, tests, error log, autoloads).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/upgradeverify.md

On this page

exp:upgradeverify

Upgrade verify: re-detect every step and report drift; --after: the full check after an upgrade (steps, smoke addresses, tests, error log, autoloads).

Script bin/php/upgradeverify.php, code in kernel/private/classes/commands/upgradeverify.php. Run it from the installation root, as the user the web server runs as:

./console exp:upgradeverify --help
./console exp:upgrade:verify --help
php bin/php/upgradeverify.php --help

Help text

Upgrade verify
Looks at every step again and lists drift: a step exp:upgrade recorded as done whose effect is
missing now (a table dropped, a policy removed). Exit 1 when there is drift. Changes nothing.
With --after, the check exp:upgrade --apply runs at its end: the steps (no drift, none failed),
the smoke addresses ([UpgradeSettings] SmokeURL[], else velocity.ini WarmUpURL[], else the front
page and the sign-in page: Apache and Velocity), the test suite upgrade-smoke, no new fatal line in
the error logs since --since, and the autoloads. Exit 1 when a check fails.

./console exp:upgrade:verify
./console exp:upgrade:verify --after
./console exp:upgrade:verify --after --url=https://www.example.com/ --no-tests --format=json

Options

OptionValueHelp
--stagesrequiredOnly these stages, a comma list of code, libraries, database, scripts, finish (in that order)
--formatrequiredtext (default) or json (the machine output exp-upgrade/1)
--afterThe verification after an upgrade: steps, smoke addresses, tests, error log, autoloads
--urlrequiredThe addresses the smoke check requests after the deploy (a comma list or repeated); default the front page of SiteURL
--no-testsLeave the test suite upgrade-smoke out of the verification
--sincerequiredThe error log is read from this moment on: a Unix time (default an hour ago)

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/upgradeverify.php, kernel/private/classes/commands/upgradeverify.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x