Unable to upgrade from 2.4.5 to 2.4.8

Sorry I’am quite new to OJS but I have nor been able to find documentation.

I have OJS 2.4.5.0
I have downloaded OJS 2.4.8-1
Uptated the code with the new one
Changed the Installed flag to Off in the config.inc.php
I set the writing permission in all the specified dirs.
When I try to upgrade from …index.php/index/install/upgrade page I got an error 500 as he tried to open
…/index/install/installUpgrade page
I have not any intallUpgrade page in the Tool directory???

What am I missing???

Hi @Erick,

Did you check the web server’s error log when you got a 500 error? There should be something specific there to provide more information.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

The error in log is:
PHP Fatal error: Class ‘DOIExportPlugin’ not found in /home/urgcnwev/public_html/test_ojs2/plugins/importexport/datacite/DataciteExportPlugin.inc.php on line 28

Hi @Erick,

Check that the contents of the following files are correct (per the OJS 2.4.8 download archive):

  • plugins/importexport/crossref/classes/DOIExportPlugin.inc.php
  • plugins/importexport/datacite/classes/DOIExportPlugin.inc.php
  • plugins/importexport/medra/classes/DOIExportPlugin.inc.php

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

I just substitute the files but the result is the same. Still the same error…

Hi @Erick,

What do the contents of these appear to be?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

plugins/importexport/crossref/classes/DOIExportPlugin.inc.php looks OK (19K)
plugins/importexport/datacite/classes/DOIExportPlugin.inc.php is empty
plugins/importexport/medra/classes/DOIExportPlugin.inc.php is empty
So I guess the OJS 2.4.8 download archive is not OK.
I get it from https://pkp.sfu.ca/ojs/ojs_download/
Where should I get a correct one?

Thanks for your time.

Erick

Hi @Erick,

What are you using to extract the archive? I suspect your archiving tool doesn’t support links inside .tar.gz files.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec

I used WinZip to extract the archeive.

Hi @Erick,

Those three files should have the same contents. I’d suggest taking the 19k version of the file and copying it into the other two locations.

Regards,
Alec Smecher
Public Knowledge Project Team

It Works

Thanks Alec