Opensource Demo Instance Upgrade
Upgrading Opensource Demo
Environment Details
DB Name: demo_opensource
Host: db
Codebase: /var/www/html/OHRMStandalone/DEMO/opensource-demo74.orangehrmlive.com
Server: Faith
The above config values can be found on <root>/lib/confs/Conf.php file.
Steps
- First take a DB Dump of the above mentioned DB.
- Then move the current codebase to /var/log/BACKUP/
- Extract the codebase from the location mentioned in the guide. No files to add or modify.
- Copy the new codebase to the root directory and give the file permissions and ownership as usual.
- Then access the URL (https://opensource-demo.orangehrmlive.com) and you will see the Web Installer, follow the same steps mentioned on the guide sent from the OS Team. As it is an upgrade select 'Upgrading an Existing Installation'. Only things need to fill on the Web Installer are DB_Name, DB_Host, DB_User, DB_Password.
- Following the onscreen instructions will upgrade the system within few seconds.
- Update the requestors that the task is complete. Do a quick verification by logging into the system, credentials will be mentioned on the login page.
- There is a cron task running to clear cache and refresh the DB. Make sure the refreshing script is properly understood and a upgraded DB backup is added onto the refreshing path for the task is run properly. Reading the Cron Task and the relevant paths will make it clear. Upon adding the DB backup make sure to manually run the Bash Script to make sure the operation is happening as expected.
/usr/sbin/ohrm_scripts/demo-refresh - Path to Script
opensource_refresh.sh - Bash Script
/var/www/html/demo-dbs/ - Path to Add the Upgraded DB Backup
Attached the last used guide for reference
Related Articles
Open Source Support
In case if you receive any queries to the gold support channel from an open source (OS) you may proceed as below 1. Update the prospect/user introducing them to the OS team 2. Add the OS support email address by sending an email to ...
Add doner in Gender Links instance
Gender Links is a custom client. There can be a configuration request to "Add Doner", This needs to be added from the back end 1. Backup the database backup_db /var/www/html/OHRMStandalone/PROD/genderlinks/ 2. Insert the below query INSERT INTO ...
OS to Enterprise Data Migration Tool
Please find the deployment guide from the link OS to Enterprise Migration - Deployment Guide.