Error running upgrade.php (ojs-3.2.1-1)


Trying the installation of a pluging, running /tools/upgrade.php upgrade the next error was showed:


Trying by second time of run it the error is:


How can I do to fix it ?


Hi @cridum,

If upgrade fails for the first time, it’s likely that the database already underwent changes that may make it impossible to run the same script one more time. Try running the upgrade from the back-up (on an intact database). It may also be required to restore from a back-up files directory too before running the script.