Hello Roberta,
If you go to
http://pkp.sfu.ca/ojs/download/patch, you'll see a set of patches; the one to upgrade OJS from 2.0.1 to 2.0.2-1 is
http://pkp.sfu.ca/ojs/download/patch/ojs-2.0.1_to_2.0.2-1.patch.gz (ensure that you get the patch for OJS 2.0.2-1, not 2.0.2). Follow these steps:
- Back everything up
- Copy the patch into your OJS installation directory and change into that directory
- Uncompress the patch:
- Code: Select all
gunzip ojs-2.0.1_to_2.0.2-1.patch.gz
- Perform a dry run of the patch:
- Code: Select all
patch --dry-run -p1 < ojs-2.0.1-to-2.0.2-1.patch
This will perform a test run of the update without actually changing anything; this will let you know what you'll need to correct by hand in situations where your changes conflict with the upgrade.
Once you know what to expect and have resolved the conflicts, you can actually apply the patch by using the above command without the --dry-run parameter.
When the code has been successfully patched, use the tools/upgrade.php tool to update the OJS database.
Regards,
Alec Smecher
Open Journal Systems Team