Migration from ojs 3.2.1-4 to ojs 3.3.0-16

Dear all,
When I migrate (php tools/upgrade.php upgrade) our ojs from 3.2.1-4 version to 3.3.0-16 I get the error :
OJS migration PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ojs33016db.versions’ doesn’t exist in /lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:80
Also: connection_charset variable is set to utf8
Any solution ?
Thank you

Also, In my config.inc.php, the collation variable is set to utf8_general_ci
Thnak you

Hi @ayssi,

The versions table should definitely exist in your OJS 3.2.1-4 database. Are you sure you’ve got config.inc.php set to work with the right database?

Alec Smecher
Public Knowledge Project Team

Hi Alec,
When importing the ojs 2.4.1-4 database, the versions table was not imported. this is due to the size of our database: +13 GB.
Now it’s OK, the problem is solved.
Thank you very much.

1 Like