Description of issue or problem I’m having:
When I run the upgrade code with cli nothing happens.
Steps I took leading up to the issue:
I’m taking yet another stab at trying to upgrade our OJS instance. Last time I was told that I needed to upgrade in increments. I exported our 3.0.2-0 database and made a copy of our files_dir. I set up a new server specifically for this upgrade, as the old server has other sites that still require the older php that the upgrade cannot run on. I got a fresh copy of the 3.1.1-2 OJS and updated the config file to our database specifications and new server specifications.
When I ran the cli code, php tools/upgrade.php upgrade
, nothing happened. In a fraction of a second the command line was ready for more input and nothing was output. Thinking that was strange, I checked the config file and installed was still set to off. I checked the database versions
table (where product LIKE "%ojs%"
). The current version was still 3.0.2-0 and nothing was new.
What I tried to resolve the issue:
I then tried using a different version of php. The previous version for the upgrade was 5.6. When I ran it as php 7.1 I got a fatal error due to 7.1 not recognizing mysql_connect.
Application Version - e.g., OJS 3.1.2:
OJS 3.0.2-0 to OJS 3.1.1-2
Additional information, such as screenshots and error log messages if applicable: