OJS 3.0.0 to 3.0.1 upgrade fails (mixed installation)

There are three installations of OJS on our test server:

somepath/ojs (2.4.8.1 system)
somepath/ojs3naked (naked OJS 3.0.0 installation)
somepath/ojs3upgrade (upgrade from a copy of the 2.4.8.1 system to 3.0.0. Also the database was copied)

Each installation refers to its own database.

If I want to upgrade the naked 3.0.0 installation, I get the following problem:

php tools/upgrade.php check
Code version: 3.0.0.0
Database version: 3.0.0.0
Latest version: 2.4.8.1
Current version is newer than latest!

php tools/upgrade.php latest
Code version: 3.0.0.0
Database version: 3.0.0.0
Latest version: 2.4.8.1
tag: ojs-2_4_8-1
date: 2016-08-03
info: http://pkp.sfu.ca/ojs/
package: http://pkp.sfu.ca/ojs/download/ojs-2.4.8-1.tar.gz

php tools/upgrade.php download
PHP Notice: Undefined variable: type in /usr/local/hope/www/ojs3naked/lib/pkp/classes/cliTool/UpgradeTool.inc.php on line 118
Download : http://pkp.sfu.ca/ojs/download/ojs-2.4.8-1.tar.gz
File will be saved to: ojs-2.4.8-1.tar.gz
Continue? [y/N] N

Why does the naked installation get the wrong version for the latest version?

Hi @mpbraendle,

I’d suggest getting the OJS 3.x tarballs from the OJS download page. We haven’t updated the upgrade tool’s current version at the moment because there are some features that are available in OJS 2.x but not yet 3.x – including subscriptions and payments – and for that reason some OJS 2.x users may not be able to upgrade yet.

(That PHP notice is cosmetic, but can be fixed by applying this patch in lib/pkp.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hm. Should the upgrade tool not be able to upgrade from 3.0.0 to 3.0.1 ?
It’s not about upgrading from 2.4.8.1 to 3.0.0 - that has already been done on our servers.

Hi @mpbraendle,

Yes, the 3.0.0 to 3.0.1 upgrade is handled by the upgrade tool.

The “Latest Version” number is just informational; it’s fetched from the PKP server, where we currently designate 2.4.8-1 as “most current” pending completion of e.g. the subscription system in OJS 3.x, after which point we’ll have no hesitation in recommending it for all users (and not just e.g. open access users). You can download the OJS 3.0.1 tarball from the website and follow the upgrade instructions in that package to upgrade from 3.0.0.

Regards,
Alec Smecher
Public Knowledge Project Team