SlideShare a Scribd company logo
1 of 23
How to upgrade OJS 2 to OJS 3 latest
Our experience on handling thousand of journal upgrade since 2020
Created and Prepared by :
Sharing some experience on upgrading OJS platform.
After we have done with 100% successful OJS upgrade on more than thousand of journal, we created this presentation to help other on upgrading
tips and trick.
From multiple journal in reputable University to single journal.
Here is some list of the journal that have upgraded by our team :
1. UNAIR https://e-
journal.unair.ac.id
2. UII
https://journal.uii.ac.id
3. USC Annenberg
https://annenbergpress.com/journals
4. UNIB
https://ejournal.unib.ac.id
5. ITB
https://journal.sbm.itb.ac.id
6. Informatics Publishing
https://www.informaticsjournals.com
7. National Institute of Rural Developmentand Panchayati https://nirdprojms.in
8. Litbang Kemenkes https://hsji.kemkes.go.id
9. Universitas Taiz Yaman https://hesj.org/ojs
Preparation
Every upgrade process needs to be done via php-cli.
It is important to remember that the process of upgrading OJS 2 to OJS 3 must
be done in staging server.
Clear the user cache in OJS and disable the submission and login the live journal
site to prevent discrepancies database between the upgraded database and the
livejournal database and files.
What needs to be prepared before upgrading is OJS 2 to 3
1. Make a backup of your old OJS file and database
2. Download the latest version of the OJS file, for example if you want to
upgrade from OJS 2.4 to 3.2 then download a fresh version 3.2-1-4 of OJS
3. Dump the old database (sql files)
Here's the dump script:
<?php
error_reporting(E_ALL);
$database = 'db';
$user = 'user';
$pass = 'pass';
$host = 'localhost';
$dir = dirname(__FILE__) . '/db.sql';
echo "<h3>Backing up database to `<code>{$dir}</code>`</h3>";
exec("mysqldump --user={$user} --password={$pass} --host={$host}
{$database} --result-file={$dir} 2>&1", $output);
var_dump($output);
Look and note the location of the OJS files folder in the config.inc.php file in the [files] section
Compress the file folder (files_dir) and public in OJS (which is used by OJS as a journal file). Save
on location
https://domain/files.zip
https://domain/public.zip
So the files that need to be downloaded from the live server are:
Files : https://domain.com/files.zip
Public files : https://domain.com/public.zip
Database files : https://domain.com/db.zip
Download these files on the server that has been prepared with a script that runs on
SSH:
wget location_files_in_client
wget location_public_files_in_client
wget location_db_files_in_client
Extract the database file so that it has the extension .sql
Create an OJS 2 database that has been downloaded from the client and name it:
journal_name_3124
Extracting all the files
Extract the OJS files and public files that were downloaded in step 8 and extract them
in the journal_name_3124 folder
So the directory becomes:
journal_name_3124
Original files default ojs
files
public
Upgrade Process
After the first preparatory steps have been carried out, then make settings for the config.inc.php
file in the folder that was extracted earlier (journal_name_3124)
Change the parameter value installed from Off to On
Edit the database connection parameters to mysqli and adjust the username, password and
database name that was created earlier (preparation step 8).
Adjust several parameters in the config.php file:
- files_dir (on Linux, for example: /home/virtual_host/ojs_files)
- base_url
- Database parameters
Run the check process using the CLI
#Go to ojs folder that you have created (adjust to the php version)
php7.4 tools/upgrade.php check
Run the upgrade process using the CLI:
#Go to ojs folder that you have created
php7.4 tools/upgrade.php upgrade
Pay attention to the ongoing process, to ensure that no errors appear.
Wait for the upgrade process until it displays the following message:
After you get the ‘Upgrade to OJS 3.2.1-4 successful’ message.
Return the parameter installed from on to off
Finishing up
Rebuild the search Index by using this command php tools/rebuildSearchIndex.php
If you have finished upgrading OJS 2.x to 3.x then the next step is to test all the functions in the
OJS system (galley, tabs, submissions, search function and others). This test should be done with
careful process since if your site has unchecked errors it can affect the indexing of your journal
Migrate the result to live server
Testing
Test each galley in the archive section, to ensure all galleys can work properly.
Login to the journal admin and access each tab, if any of the tabs is blank/white or find the
infinite loading, it means the upgrade process failed.
Login as author and try to make a submission
Test the submission process, make sure the notification is working well.
Submit a sample article and select a reviewer
Log in as a user reviewer then try to do the tabs above by agreeing to the submission process
until the article has been published
After no errors are found in this process, the next step is to migrate from the staging server to the
client's production server.
Note on OJS upgrading
1. Always Backup before doing the upgrade
2. Never…, never, NEVER do the upgrade using Softaculous in Control Panel
3. For the Journal that have multi journal or have archive of issue more than 10 issue, don’t use the web
based OJS upgrade tool
4. The OJS upgrade process is tiring process and most of time confusing. It should be done by the
experienced personil especially for the one that have knowledge in OJS, Server command, Database and
PHP.
5. Do the upgrade first on simulation. Never do the upgrade on the livejournal version
6. The bigger the database and the OJS files, the bigger the specification of the staging server and the more
time consuming in preparation and checking process
7. Don’t get surprises if the plugin or theme will be absolute in the upper version of OJS. This is caused by
the incompatibility issue may arise in each of OJS version.
8. The point 7 also applies to data. For example some data from OJS 2 will not be available in OJS 3 such as
Notes, the dedicated page for editor and others. Click here for more data incompatibility
between OJS 2 to OJS 3 platform.
Need help?
Just Contact us!

More Related Content

Similar to How to upgrade OJS 2 to OJS 3 latest

Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsJonathan Bloom
 
Code Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application MigrationsCode Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application MigrationsDana Luther
 
My First Hadoop Program !!!
My First Hadoop Program !!!My First Hadoop Program !!!
My First Hadoop Program !!!Ayapparaj SKS
 
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1Knut Relbe-Moe [MVP, MCT]
 
Time Log with Payment Add on User Manual
Time Log with Payment Add on User ManualTime Log with Payment Add on User Manual
Time Log with Payment Add on User ManualOrangescrum
 
Steps for Upgrade OutSystems platform.pdf
Steps for Upgrade OutSystems platform.pdfSteps for Upgrade OutSystems platform.pdf
Steps for Upgrade OutSystems platform.pdfRicardoPereira244364
 
Open sis installation_guide
Open sis installation_guideOpen sis installation_guide
Open sis installation_guideFkrzy
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tierbalaji29
 
PHP tutorials , php tutorials for beginners , tutorials for php
PHP tutorials , php tutorials for beginners , tutorials for phpPHP tutorials , php tutorials for beginners , tutorials for php
PHP tutorials , php tutorials for beginners , tutorials for phpaimaq9a
 
A Complete Installation Guide for Orangescrum
A Complete Installation Guide for OrangescrumA Complete Installation Guide for Orangescrum
A Complete Installation Guide for OrangescrumOrangescrum
 
Getting started-with-zend-framework
Getting started-with-zend-frameworkGetting started-with-zend-framework
Getting started-with-zend-frameworkNilesh Bangar
 
Stored-Procedures-Presentation
Stored-Procedures-PresentationStored-Procedures-Presentation
Stored-Procedures-PresentationChuck Walker
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum
 
Orangescrum Invoice Pro Add-on user manual
Orangescrum Invoice Pro Add-on user manualOrangescrum Invoice Pro Add-on user manual
Orangescrum Invoice Pro Add-on user manualOrangescrum
 
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...BIWUG
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdfsahirzakaria
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewDell World
 
New microsoft office word document (3)
New microsoft office word document (3)New microsoft office word document (3)
New microsoft office word document (3)raghuraj15
 
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
Power point 707 tips on successfully upgrading apps 11i for the non apps dbaPower point 707 tips on successfully upgrading apps 11i for the non apps dba
Power point 707 tips on successfully upgrading apps 11i for the non apps dbachidba
 

Similar to How to upgrade OJS 2 to OJS 3 latest (20)

Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for Windows
 
Code Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application MigrationsCode Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application Migrations
 
My First Hadoop Program !!!
My First Hadoop Program !!!My First Hadoop Program !!!
My First Hadoop Program !!!
 
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
SPS Dubai Best Practice upgrading SharePoint from 2007/2010 to 2013 and 2013 SP1
 
Time Log with Payment Add on User Manual
Time Log with Payment Add on User ManualTime Log with Payment Add on User Manual
Time Log with Payment Add on User Manual
 
Steps for Upgrade OutSystems platform.pdf
Steps for Upgrade OutSystems platform.pdfSteps for Upgrade OutSystems platform.pdf
Steps for Upgrade OutSystems platform.pdf
 
Open sis installation_guide
Open sis installation_guideOpen sis installation_guide
Open sis installation_guide
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier
 
PHP tutorials , php tutorials for beginners , tutorials for php
PHP tutorials , php tutorials for beginners , tutorials for phpPHP tutorials , php tutorials for beginners , tutorials for php
PHP tutorials , php tutorials for beginners , tutorials for php
 
A Complete Installation Guide for Orangescrum
A Complete Installation Guide for OrangescrumA Complete Installation Guide for Orangescrum
A Complete Installation Guide for Orangescrum
 
Getting started-with-zend-framework
Getting started-with-zend-frameworkGetting started-with-zend-framework
Getting started-with-zend-framework
 
Stored-Procedures-Presentation
Stored-Procedures-PresentationStored-Procedures-Presentation
Stored-Procedures-Presentation
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User Manual
 
Orangescrum Invoice Pro Add-on user manual
Orangescrum Invoice Pro Add-on user manualOrangescrum Invoice Pro Add-on user manual
Orangescrum Invoice Pro Add-on user manual
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
 
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
SharePoint Saturday Belgium 2014 SharePoint Upgrade, real life experience and...
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdf
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting Overview
 
New microsoft office word document (3)
New microsoft office word document (3)New microsoft office word document (3)
New microsoft office word document (3)
 
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
Power point 707 tips on successfully upgrading apps 11i for the non apps dbaPower point 707 tips on successfully upgrading apps 11i for the non apps dba
Power point 707 tips on successfully upgrading apps 11i for the non apps dba
 

Recently uploaded

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 

Recently uploaded (20)

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 

How to upgrade OJS 2 to OJS 3 latest

  • 1. How to upgrade OJS 2 to OJS 3 latest Our experience on handling thousand of journal upgrade since 2020 Created and Prepared by :
  • 2. Sharing some experience on upgrading OJS platform. After we have done with 100% successful OJS upgrade on more than thousand of journal, we created this presentation to help other on upgrading tips and trick. From multiple journal in reputable University to single journal. Here is some list of the journal that have upgraded by our team : 1. UNAIR https://e- journal.unair.ac.id 2. UII https://journal.uii.ac.id 3. USC Annenberg https://annenbergpress.com/journals 4. UNIB https://ejournal.unib.ac.id 5. ITB https://journal.sbm.itb.ac.id 6. Informatics Publishing https://www.informaticsjournals.com 7. National Institute of Rural Developmentand Panchayati https://nirdprojms.in 8. Litbang Kemenkes https://hsji.kemkes.go.id 9. Universitas Taiz Yaman https://hesj.org/ojs
  • 3.
  • 4. Preparation Every upgrade process needs to be done via php-cli. It is important to remember that the process of upgrading OJS 2 to OJS 3 must be done in staging server. Clear the user cache in OJS and disable the submission and login the live journal site to prevent discrepancies database between the upgraded database and the livejournal database and files.
  • 5. What needs to be prepared before upgrading is OJS 2 to 3 1. Make a backup of your old OJS file and database 2. Download the latest version of the OJS file, for example if you want to upgrade from OJS 2.4 to 3.2 then download a fresh version 3.2-1-4 of OJS 3. Dump the old database (sql files)
  • 6. Here's the dump script: <?php error_reporting(E_ALL); $database = 'db'; $user = 'user'; $pass = 'pass'; $host = 'localhost'; $dir = dirname(__FILE__) . '/db.sql'; echo "<h3>Backing up database to `<code>{$dir}</code>`</h3>"; exec("mysqldump --user={$user} --password={$pass} --host={$host} {$database} --result-file={$dir} 2>&1", $output); var_dump($output);
  • 7. Look and note the location of the OJS files folder in the config.inc.php file in the [files] section
  • 8. Compress the file folder (files_dir) and public in OJS (which is used by OJS as a journal file). Save on location https://domain/files.zip https://domain/public.zip So the files that need to be downloaded from the live server are: Files : https://domain.com/files.zip Public files : https://domain.com/public.zip Database files : https://domain.com/db.zip
  • 9. Download these files on the server that has been prepared with a script that runs on SSH: wget location_files_in_client wget location_public_files_in_client wget location_db_files_in_client Extract the database file so that it has the extension .sql Create an OJS 2 database that has been downloaded from the client and name it: journal_name_3124
  • 10. Extracting all the files Extract the OJS files and public files that were downloaded in step 8 and extract them in the journal_name_3124 folder So the directory becomes: journal_name_3124 Original files default ojs files public
  • 11. Upgrade Process After the first preparatory steps have been carried out, then make settings for the config.inc.php file in the folder that was extracted earlier (journal_name_3124) Change the parameter value installed from Off to On
  • 12. Edit the database connection parameters to mysqli and adjust the username, password and database name that was created earlier (preparation step 8).
  • 13. Adjust several parameters in the config.php file: - files_dir (on Linux, for example: /home/virtual_host/ojs_files) - base_url
  • 15. Run the check process using the CLI #Go to ojs folder that you have created (adjust to the php version) php7.4 tools/upgrade.php check
  • 16. Run the upgrade process using the CLI: #Go to ojs folder that you have created php7.4 tools/upgrade.php upgrade Pay attention to the ongoing process, to ensure that no errors appear. Wait for the upgrade process until it displays the following message:
  • 17. After you get the ‘Upgrade to OJS 3.2.1-4 successful’ message. Return the parameter installed from on to off
  • 18. Finishing up Rebuild the search Index by using this command php tools/rebuildSearchIndex.php If you have finished upgrading OJS 2.x to 3.x then the next step is to test all the functions in the OJS system (galley, tabs, submissions, search function and others). This test should be done with careful process since if your site has unchecked errors it can affect the indexing of your journal Migrate the result to live server
  • 19. Testing Test each galley in the archive section, to ensure all galleys can work properly.
  • 20. Login to the journal admin and access each tab, if any of the tabs is blank/white or find the infinite loading, it means the upgrade process failed. Login as author and try to make a submission Test the submission process, make sure the notification is working well.
  • 21. Submit a sample article and select a reviewer Log in as a user reviewer then try to do the tabs above by agreeing to the submission process until the article has been published After no errors are found in this process, the next step is to migrate from the staging server to the client's production server.
  • 22. Note on OJS upgrading 1. Always Backup before doing the upgrade 2. Never…, never, NEVER do the upgrade using Softaculous in Control Panel 3. For the Journal that have multi journal or have archive of issue more than 10 issue, don’t use the web based OJS upgrade tool 4. The OJS upgrade process is tiring process and most of time confusing. It should be done by the experienced personil especially for the one that have knowledge in OJS, Server command, Database and PHP. 5. Do the upgrade first on simulation. Never do the upgrade on the livejournal version 6. The bigger the database and the OJS files, the bigger the specification of the staging server and the more time consuming in preparation and checking process 7. Don’t get surprises if the plugin or theme will be absolute in the upper version of OJS. This is caused by the incompatibility issue may arise in each of OJS version. 8. The point 7 also applies to data. For example some data from OJS 2 will not be available in OJS 3 such as Notes, the dedicated page for editor and others. Click here for more data incompatibility between OJS 2 to OJS 3 platform.