Describe the issue or problem
I have to upgrade an old OJS installation from version 2.4.8-3 to a recent 3.x.x version.
As a first step, I want to upgrade to the last 2.x.x version, namely 2.4.8-5. From there I
want to move to 3.2.1-5 and then to a more recent 3.x.x version.
When trying to upgrade to 2.4.8-5, nothing happens.
Steps I took leading up to the issue
- I have uploaded ojs-2.4.8-5 on the server of my service provider.
- When I open the main page, OJS correctly shows the installation page.
- On that page, I have clicked on the upgrade link, which points to
ojs-2.4.8-5/index.php/index/install/upgrade
(relative to my site’s root path). - On the new page, I have clicked on the
Upgrade Open Journal Systems
button. - There was no response for more than 20 seconds.
- Afterwards, the browser stopped loading and stayed on the upgrade page.
- I had expected to land on a success page (I had performed a test installation on a local laptop before).
What application are you using?
OJS 2.4.8-5
Additional information
The directory layout on the productive webserver is the following:
- The folder
ojs
contains the current productive installation - The folder
ojs-2.4.8-5
contains the new OJS system I am trying to install. - The two installations use disjoint document folders (
files_dir
) and separate databases. - In case this is relevant, the root folder contains a file
index.php
which redirects to the productive OJS installation underojs
.
After attempting the upgrade, I see an error in the server log: 02/03/2025 14:03:50 [error] [client 95.33.122.91] - www.mydomain.com - AH00687: Negotiation: discovered file(s) matching request: /web/htdocs/www.mydomain.com/home/index (None could be negotiated)., referer https://www.mydomain.com/ojs-2.4.8-5/index.php/index/install/upgrade
Note that the document root folder of the web server is
/web/htdocs/www.mydomain.com/home
So, for some reason, the installation procedure at
/ojs-2.4.8-5/index.php/index/install/upgrade
is trying to access the path
/index
which is outside its root folder.
This is where I stopped my analysis: I think OJS trying to access a path outside its installation folder could explain the problem, but I have no clue as to why this is happening.
Also, I have checked my PHP execution time (max_execution_time in the ini file) is high enough: max_execution_time = 900
Could you give me some hint?