Upgrading the database from 5.52.3 to 5.53.0 generates "The wrong dispatch policy is active".
See Mattermost at https://chat.civicrm.org/civicrm/pl/je8a8jqhfby8ibw99ie1k9wywr. We're still tracking down the cause, but here is a verbose log.
Box Requirements Checker
========================
> Using PHP 7.4.30
> PHP is using the following php.ini file:
/etc/php/7.4/cli/php.ini
> Checking Box requirements:
.....
[OK] Your system is ready to run the application.
Found CiviCRM database version 5.52.3.
Found CiviCRM code version 5.53.0.
Checking pre-upgrade messages...
The default copies of the message templates listed below will be updated to
handle new features or correct a problem. Your installation has customized
versions of these message templates, and you will need to apply the updates
manually after running this upgrade. Click here [1] for detailed
instructions.
* _Contributions - Receipt (off-line)_ - Update to new smarty variables
for line items, tax
Links:
------
[1] https://docs.civicrm.org/user/en/latest/email/message-templates/#modifying-system-workflow-message-templates
Press ENTER to continue
Dropping SQL triggers...
Preparing upgrade...
Executing upgrade...
Cleanup old files (CRM_Upgrade_Form::doFileCleanup(/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Cleanup old upgrade snapshots (CRM_Upgrade_Snapshot::cleanupTask(civicrm))
Checking extensions (CRM_Upgrade_Form::disableOldExtensions(/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Begin Upgrade to 5.53.alpha1 (CRM_Upgrade_Form::doIncrementalUpgradeStart(5.53.alpha1))
Upgrade DB to 5.53.alpha1 (CRM_Upgrade_Form::doIncrementalUpgradeStep(5.53.alpha1,5.52.3,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Upgrade DB to 5.53.alpha1: SQL (CRM_Upgrade_Incremental_php_FiveFiftyThree::runSql(5.53.alpha1))
Replace %A specifier in date settings. (CRM_Upgrade_Incremental_php_FiveFiftyThree::replacePercentA())
Add invoice pdf format (CRM_Upgrade_Incremental_php_FiveFiftyThree::addInvoicePDFFormat())
Add Recent Items Providers (CRM_Upgrade_Incremental_php_FiveFiftyThree::addRecentItemsProviders())
Finish Upgrade DB to 5.53.alpha1 (CRM_Upgrade_Form::doIncrementalUpgradeFinish(5.53.alpha1,5.52.3,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Begin Upgrade to 5.53.beta1 (CRM_Upgrade_Form::doIncrementalUpgradeStart(5.53.beta1))
Upgrade DB to 5.53.beta1 (CRM_Upgrade_Form::doIncrementalUpgradeStep(5.53.beta1,5.52.3,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Upgrade DB to 5.53.beta1: SQL (CRM_Upgrade_Incremental_php_FiveFiftyThree::runSql(5.53.beta1))
Finish Upgrade DB to 5.53.beta1 (CRM_Upgrade_Form::doIncrementalUpgradeFinish(5.53.beta1,5.52.3,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Finish Upgrade DB to 5.53.0 (CRM_Upgrade_Form::doIncrementalUpgradeFinish(5.53.beta1,5.53.0,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Finish core DB updates 5.53.0 (CRM_Upgrade_Form::doCoreFinish(5.53.beta1,5.53.0,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Assess extension upgrades (CRM_Upgrade_Form::enqueueExtUpgrades(5.53.beta1,5.53.0,5.53.0,/home/jon/.cv/upgrade/57a5be292438b5304f5ec9865e0f0d29.dat))
Error executing task: %s
[RuntimeException]
Task can not execute correctly. The wrong dispatch policy is active. Expected to find "upgrade.finish".
Exception trace:
() at /var/www/mysite.megaphonetech.com/htdocs/sites/all/modules/civicrm/CRM/Upgrade/DispatchPolicy.php:164
CRM_Upgrade_DispatchPolicy::assertActive() at /var/www/mysite.megaphonetech.com/htdocs/sites/all/modules/civicrm/CRM/Upgrade/Form.php:856
CRM_Upgrade_Form::enqueueExtUpgrades() at /var/www/mysite.megaphonetech.com/htdocs/sites/all/modules/civicrm/CRM/Queue/Task.php:101
CRM_Queue_Task->run() at phar:///usr/local/bin/cv/vendor/composer/../../src/Util/ConsoleQueueRunner.php:78
Civi\Cv\Util\ConsoleQueueRunner->runAll() at phar:///usr/local/bin/cv/src/Command/UpgradeDbCommand.php:133
Civi\Cv\Command\UpgradeDbCommand->execute() at phar:///usr/local/bin/cv/vendor/symfony/console/Command/Command.php:257
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/cv/vendor/symfony/console/Application.php:850
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/cv/vendor/symfony/console/Application.php:193
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/cv/src/Application.php:46
Civi\Cv\Application->doRun() at phar:///usr/local/bin/cv/vendor/symfony/console/Application.php:124
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/cv/src/Application.php:15
Civi\Cv\Application::main() at phar:///usr/local/bin/cv/bin/cv:27
require() at /usr/local/bin/cv:14
upgrade:db [--out OUT] [--dry-run] [--retry] [--skip] [--level LEVEL] [-t|--test] [-U|--user USER]