My OJS 3.4-based setup has been partially upgraded to 3.5, and I’m unable to fix the remaining issues/errors. However, I have a clean backup of the database that’s compatible with OJS 3.5. After deleting everything from the domain, what if I reinstall OJS 3.5 on the same domain, thoroughly clean the database, and then import the backup compatible with 3.5? Additionally, I’ll replace folders (such as files and public) and the config.inc.php file from the old setup directly in cPanel. My goal is to retain the data, reports, and workflow. I’ve successfully done the above within another domain, except for configuring the frontend settings, which isn’t a big deal.
Nevertheless, I need to confirm if everything is okay. If so, what precautionary measures should I take?
I tried to upgrade ojs 3.4.0.9 to ojs 3.5.0.1 via terminal (php tools/upgrade.php upgrade), and I get the following error: 2025-08-21 11:45:36 [An upgrade step failed! Fallback set to 3.4.9.9. Check and correct the error and try the upgrade again. We recommend restoring from backup, although you may be able to continue without doing so.]
ERROR: Upgrade failed: DB: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘redirect’ in ‘site’ (Connection: mysql, SQL: alter table site modify redirect bigint null).
Please guide me to fix this error.