we use OJS 3.1.0-1 (at least we assume it is installed). However, when we go to the settings page the following error message is shown on top of the page " Warning There is a new version of OJS available! You are currently using OJS 2.4.8.1. The most recent version is OJS 3.1.1.4. Please contact your Site Administrator to notify them of this new release. More information can be found here." What is wrong and may we have some additional problems we did not identify?
Nothing wrong. The page you are referring to just says that there is newer version available and reminds you that it would be good to upgrade to the latest one.
I understand that this is a message on the availability of a newer version. My question is: why does the message claim that we have OJS 2.4.8.1 although the latest upgrade we made is OJS 3.1.0-1? Is there something wrong with the installion if the system does not recognise the installed version correctly?
Could you as admin i.e. your admin user go to the page Administration > System Information and see what is there as current version and how does the version history looks like? Maybe also to double check what is in the database table versions, where product = ‘ojs2’?
Yes. The GUI is from OJS 3 and we updated to 3.1 via 3.0 which both seemed to work fine.
Not sure what would have gone wrong as it didn’t give any errors when updating.
Have you encountered anything like this? Should we try to update to 3.1.1? Could there be anything else wrong besides that table? If not we could try manually add update information to it.
I am not 100% sure, but looking at the pkp-lib/Installer.inc.php at ojs-3_1_0-0 · pkp/pkp-lib · GitHub I think that after the upgrade scripts/actions defined in ojs/upgrade.xml at ojs-3_1_0-0 · pkp/ojs · GitHub the version in the DB is updated. (I assume you are using 3.1.0-0). Maybe you can check if all scripts/actions from that upgrade.xml are executed in your installation – e.g. to check the two last ones: if there is the e-mail key EDITOR_RECOMMENDATION in your DB/installation and if you have the default navigation items and menu. If so, then you could maybe try to add/insert the right entry/row in your DB table versions…
What version exactly are you using you can see in your file dbscripts/xml/version.xml.
Code version: 3.2.1.3
Database version: 3.2.1.2
Latest version: 3.2.1.3
Database version is older than code version
Upgrading OJS Database
- Edit config.inc.php and change "installed = On" to "installed = Off"
- Run the following command from the OJS directory (not including the $): $ php tools/upgrade.php upgrade
- Re-edit config.inc.php and change "installed = Off" back to "installed = On"