Describe the issue or problem
“I am upgrading OJS from 3.2.1-4 to 3.3.0-x on a local Laragon (Windows) environment. I keep getting SQLSTATE[42S01] Table temp_citations already exists and Fatal error: submission_id not found on citations. It seems the upgrade fails during the publication/citation migration and the automated rollback leaves the database in an inconsistent state. My MySQL version does not support IF EXISTS.”.
Did you take a backup before the first upgrade attempt? Partial upgrade attempts will leave the database in an indeterminate state. It’s best to restore from backup before trying again.
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher
“Thank you for the advice. I have followed your instructions and restarted the process using the 3.2.1.4 backup. However, I am seeing many messages appearing in my terminal, so I have attached a screenshot for your review. Could you please help me identify what needs to be fixed? I am currently upgrading from 3.2.1-4 to 3.3.0-14, and once this upgrade is complete, I plan to proceed to the next version.”