Hi!
I want to update my ojs from 3.4.0.6 to latest version (3.5.*).
I downloaded the code (without running composer), copied the public folder, edited the config, and clicked upgrade.php upgrade.
Then I clicked check and discovered the database hadn’t updated. What can I do now?
It seems like there are missing files, perhaps because I didn’t run composer.
/usr/bin/php8.2 tools/upgrade.php upgrade
2025-12-08 10:27:28 [pre-install]
2025-12-08 10:27:28 [load: upgrade.xml]
2025-12-08 10:27:28 [version: 3.5.0.2]
2025-12-08 10:27:28 [code: Installer Installer::checkPhpVersion]
2025-12-08 10:27:28 [code: Installer Installer::installDefaultNavigationMenus]
WARNING: The NavigationMenu (ContextId: 1, Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: 1, Title: Primary Navigation Menu, Area: primary) will be skipped because the specified area has already a NavigationMenu attached.
WARNING: The NavigationMenu (ContextId: , Title: User Navigation Menu, Area: user) will be skipped because the specified area has already a NavigationMenu attached.
2025-12-08 10:27:28 [code: Installer Installer::migrateStaticPagesToNavigationMenuItems]
WARNING: The StaticPage “Редакционная коллегия” uses a path (editorial) that conflicts with an existing Custom Navigation Menu Item path. Skipping this StaticPage.
2025-12-08 10:27:28 [migration: PKP\migration\upgrade\v3_4_0\I10249_FixProfileImageDataLoss]
2025-12-08 10:27:28 [migration: APP\migration\upgrade\v3_4_0\I9813_QuickSubmitSubmissionProgressType]
2025-12-08 10:27:28 [migration: APP\migration\upgrade\v3_5_0\I11241_MissingDecisionConstantsUpdate]
2025-12-08 10:27:28 [migration: PKP\migration\upgrade\v3_5_0\PreflightCheckMigration]
2025-12-08 10:27:28 [migration: APP\migration\upgrade\v3_5_0\I8333_AddMissingForeignKeys]
2025-12-08 10:27:28 [revert migration: PKP\migration\upgrade\v3_5_0\PreflightCheckMigration]
2025-12-08 10:27:28 [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, though 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)
/usr/bin/php8.2 tools/upgrade.php check
Code version: 3.5.0.2
Database version: 3.4.9.9
Latest version: 3.5.0.2
Database version is older than code version
Run “tools/upgrade.php upgrade” to update
www.khoomey-journal.ru`` [Mon Dec 08 01:47:07 2025] [php:notice] [pid 655890:tid 655890] [client 122.51.236.174:0] Server host “``www.khoomey-journal.ru``” not allowed!, referer: ``http://www.khoomey-journal.ru
khoomey-journal.ru`` [Mon Dec 08 03:41:51 2025] [php:error] [pid 491454:tid 491454] [client 202.62.46.137:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/config_func.php’ not found or unable to stat, referer: ``https://khoomey-journal.ru//config_func.php?d=2f686f6d652f682f686f6f6d657972752f6b686f6f6d65792d6a6f75726e616c5f72752f7075626c69635f68746d6c2f6c69622f706b702f696e636c75646573
khoomey-journal.ru`` [Mon Dec 08 05:42:31 2025] [php:error] [pid 619582:tid 619582] [client 4.189.120.86:0] script ‘/home/h/hoomeyru/khoomey-journal_ru/public_html/1.php’ not found or unable to stat, referer: ``https://www.bing.com/