I created a sandbox environment. It is a fresh install of 3.4.0.5 with the database and files from 3.3.0.13. The upgrade script seemed to have run without incident, but I think something has gone wrong. Any ideas where I can start looking?
I had to manually change the primaryLocale setting on my journals from en_US to en. Without that I was get the raw ##…##
text in pages
UPDATE journal_settings SET setting_value = 'en' WHERE setting_name = 'primaryLocale' AND setting_value = 'en_US';
I have 139 jobs with display name PKP\migration\upgrade\v3_4_0\jobs\FixRegionCodes
.
When I run php lib/pkp/tools/jobs.php work
, I get these stack traces. There doesn’t appear to be an actual error message. The jobs
table shows increased attempt counts. (I elided the intermediate stack traces from Illuminate.)
2024-07-09T03:45:38.972515555Z [2024-07-09 13:45:38][156] Processing: PKP\migration\upgrade\v3_4_0\jobs\FixRegionCodes
2024-07-09T03:45:40.925303208Z #0 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\Database\Connection->runQueryCallback()
2024-07-09T03:45:40.925315541Z #1 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(534): Illuminate\Database\Connection->run()
2024-07-09T03:45:40.925317041Z #2 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(469): Illuminate\Database\Connection->statement()
2024-07-09T03:45:40.925318125Z #3 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Database\DatabaseManager->__call()
2024-07-09T03:45:40.925319125Z #4 /var/www/html/lib/pkp/classes/migration/upgrade/v3_4_0/jobs/FixRegionCodes.php(83): Illuminate\Support\Facades\Facade::__callStatic()
…
2024-07-09T03:45:40.925340666Z #23 /var/www/html/lib/pkp/classes/core/PKPQueueProvider.php(83): Illuminate\Queue\Worker->daemon()
2024-07-09T03:45:40.925341458Z #24 /var/www/html/lib/pkp/tools/jobs.php(408): PKP\core\PKPQueueProvider->runJobsViaDaemon()
2024-07-09T03:45:40.925342291Z #25 /var/www/html/lib/pkp/tools/jobs.php(693): PKP\tools\commandJobs->work()
2024-07-09T03:45:40.925343083Z #26 /var/www/html/lib/pkp/tools/jobs.php(699): PKP\tools\commandJobs->execute()
2024-07-09T03:45:40.925343833Z #27 {main}
Alpine Linux: 3.20
PHP: 8.2.21
MySQL: 8.0.35