Patch OJS 2.4.8-3 does not appear in the 'Version history'

#1

Why after applying the ojs-2.4.8-1_to_2.4.8-3 patch, ‘2.4.8.3’ does not appear in the ‘Version history’ table? (Home > User > Site Administration > System Information)
However, the OJS 2.4.8-3 Release Notes file was created successfully.

#2

Hi @yassiel,

It sounds like you’ve upgraded the code, but not the database. Check the upgrade documentation for the database upgrade.

Regards,
Alec Smecher
Public Knowledge Project Team

#3

Hi @asmecher,
I just want to patch not upgrade. In the patch documentation i don’t see anything about database upgrade. Do you mean that I must execute the ‘php tools / upgrade.php upgrade’ instruction that appears in the upgrade documentation?
Thanks

#4

Hi @yassiel,

Yes, that’s correct.

Regards,
Alec Smecher
Public Knowledge Project Team

#5

Then, what consequences can there be if I only patched the code and it was used for couple of months, without updating the database? The users don’t reported any problem yet.

#6

Hi @yassiel,

It depends on what kind of gap between releases you’re working with. For an upgrade from OJS 2.4.8-1 to OJS 2.4.8-3, I don’t think you’ll encounter any problems, but as you’ve noticed the database will still consider itself to be the older release.

Regards,
Alec Smecher
Public Knowledge Project Team

#7

For the record, the upgrade doc is here:

https://pkp.sfu.ca/ojs/UPGRADE

See section “Upgrading the 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”

-FGN.