Describe the issue or problem
upgrade from 3.3.0.20 to 3.4.0.1, production server ends without an error
Steps I took leading up to the issue
- enable .htaccess deny all”
- rm -Rf ojs/api ojs/cache ojs/classes ojs/controllers ojs/cypress.json ojs/dbscripts ojs/docs ojs/help ojs/js ojs/lib ojs/locale ojs/pages ojs/plugins ojs/registry ojs/schemas ojs/styles ojs/templates ojs/tools
- cp -R ojs3401/* ojs/
- chown -R apache:apache ojs
- chmod -R 755 ojs/cache
- php ojs/tools/upgrade.php upgrade
What application are you using?
OJS 3.3.0.20 - 3.4.0.1
Additional information
So both the dev and prod servers are starting with same database dump, copied prod ojs and files to the dev server.
development server finishes the upgrade
2025-09-04 10:37:43 [migration: APP\migration\upgrade\v3_4_0\I7470_FixDeprecatedFileStage]
2025-09-04 10:37:43 [note: docs/release-notes/README-3.4.0]
2025-09-04 10:37:43 [migration: PKP\migration\upgrade\v3_4_0\I7249_UpdateUsersUniqueIndex]
2025-09-04 10:37:43 [code: Installer Installer::addPluginVersions]
2025-09-04 10:37:43 [post-install]
but the live server only goes to:
2025-09-04 11:09:05 [migration: APP\migration\upgrade\v3_4_0\I7470_FixDeprecatedFileStage]
2025-09-04 11:09:05 [note: docs/release-notes/README-3.4.0].
the closest to the time in the PHP error log (production server log) is:
[04-Sep-2025 11:09:16 UTC] PHP Warning: Undefined array key “user” in /web/html/ojs/lib/pkp/classes/proxy/ProxyParser.php on line 56
[04-Sep-2025 11:09:16 UTC] PHP Warning: Undefined array key “user” in /web/html/ojs/lib/pkp/classes/proxy/ProxyParser.php on line 56
[04-Sep-2025 11:09:17 UTC] PHP Warning: Undefined array key “user” in /web/html/ojs/lib/pkp/classes/proxy/ProxyParser.php on line 56
[04-Sep-2025 11:09:17 UTC] PHP Warning: Undefined array key “user” in /web/html/ojs/lib/pkp/classes/proxy/ProxyParser.php on line 56
[04-Sep-2025 11:09:18 UTC] PHP Warning: file_put_contents(/web/html/ojs/cache/opcache/667436779-68b9735e1e9b80.75985715.tmp): Failed to open stream: Permission denied in /web/html/ojs/lib/pkp/lib/vendor/elcobvg/laravel-opcache/src/Store.php on line 362
[04-Sep-2025 11:09:18 UTC] PHP Warning: rename(/web/html/ojs/cache/opcache/667436779-68b9735e1e9b80.75985715.tmp,/web/html/ojs/cache/opcache/opcache-b403ab2f1eeb4d665557e1d4a595df60b708715d): No such file or directory in /web/html/ojs/lib/pkp/lib/vendor/elcobvg/laravel-opcache/src/Store.php on line 363
(then these file_put_contents and rename just repeat for different files 2400ish times)
would this be a possible php timeout issue?
server configs are identical. so traffic could be an issue…