Problem upgrading OJS from 2.4.5 to 3.3.0.3

Trying to (finally!) upgrade from 2.4.5 to 3.3.0.3. I’m encountering a blank page when trying to run the web-based upgrade script.

My error log shows the following:

journal.globalbuddhism.org [Fri Feb 19 11:12:58.411331 2021] [fastcgi:error] [pid 223912:tid 139936032270080] [client 195.37.16.155:0] FastCGI: server “/home/clients/e67ef47e28404240b6b1574a90e416c2/.config/apache/journal.globalbuddhism.org/.fpm/php5.external” stderr: #3 /home/clients/e67ef47e28404240b6b1574a90e416c2/sites/journal.globalbuddhism.org/lib/pkp/classes/plugins/PluginSettingsDAO.inc.php(86): PluginSettin…journal.globalbuddhism.org/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php:74, referer https://journal.globalbuddhism.org/index.php/index/install/upgrade
journal.globalbuddhism.org [Fri Feb 19 11:12:58.411017 2021] [-:error] [pid 223912:tid 139936032270080] [client 195.37.16.155:0] FastCGI: server “/home/clients/e67ef47e28404240b6b1574a90e416c2/.config/apache/journal.globalbuddhism.org/.fpm/php5.external” stderr: #2 /home/clients/e67ef47e28404240b6b1574a90e416c2/sites/journal.globalbuddhism.org/lib/pkp/classes/plugins/PluginSettingsDAO.inc.php(106): DAO->retrieve(‘SELECT setting_…’, Array), referer https://journal.globalbuddhism.org/index.php/index/install/upgrade
journal.globalbuddhism.org [Fri Feb 19 11:12:58.411010 2021] [-:error] [pid 223912:tid 139936032270080] [client 195.37.16.155:0] FastCGI: server “/home/clients/e67ef47e28404240b6b1574a90e416c2/.config/apache/journal.globalbuddhism.org/.fpm/php5.external” stderr: #1 /home/clients/e67ef47e28404240b6b1574a90e416c2/sites/journal.globalbuddhism.org/lib/pkp/classes/db/DAO.inc.php(65): Illuminate\Database\Capsule\Manager::__callStatic(‘raw’, Array), referer https://journal.globalbuddhism.org/index.php/index/install/upgrade
journal.globalbuddhism.org [Fri Feb 19 11:12:58.411001 2021] [-:error] [pid 223912:tid 139936032270080] [client 195.37.16.155:0] FastCGI: server “/home/clients/e67ef47e28404240b6b1574a90e416c2/.config/apache/journal.globalbuddhism.org/.fpm/php5.external” stderr: #0 /home/clients/e67ef47e28404240b6b1574a90e416c2/sites/journal.globalbuddhism.org/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php(200): Illuminate\Database\Capsule\Manager::connection(), referer https://journal.globalbuddhism.org/index.php/index/install/upgrade
journal.globalbuddhism.org [Fri Feb 19 11:12:58.410992 2021] [-:error] [pid 223912:tid 139936032270080] [client 195.37.16.155:0] FastCGI: server “/home/clients/e67ef47e28404240b6b1574a90e416c2/.config/apache/journal.globalbuddhism.org/.fpm/php5.external” stderr: Stack trace:, referer https://journal.globalbuddhism.org/index.php/index/install/upgrade
journal.globalbuddhism.org [Fri Feb 19 11:12:58.410946 2021] [-:error] [pid 223912:tid 139936032270080] [client 195.37.16.155:0] FastCGI: server “/home/clients/e67ef47e28404240b6b1574a90e416c2/.config/apache/journal.globalbuddhism.org/.fpm/php5.external” stderr: PHP message: PHP Fatal error: Uncaught Error: Call to a member function getConnection() on null in /home/clients/e67ef47e28404240b6b1574a90e416c2/sites/journal.globalbuddhism.org/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php:74, referer https://journal.globalbuddhism.org/index.php/index/install/upgrade

Any help would be greatly appreciated!

Best,
Jovan Maud

Hi @jovanmaud,

I’m not sure about all of these errors, but please note, that in our release notes, it is noted that migration from OJS 2.x to OJS 3.3 needs to be done in a two step process and upgrade scripts are removed: OJS/OMP/OPS 3.3 Release Notebook - OJS/OMP/OPS - instead you should upgrade from OJS 2.4.5 to OJS 3.2 and then to OJS 3.3 from 3.2.

-Roger
PKP team

Hi @rcgillis

Ah, thanks for that. I thought I’d read all the upgrade documentation but I’d missed that.

Cheers,
Jovan