Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 27 Next »

Purpose

This page guides with the steps to upgrade the system to latest bahmni version once the fresh installation is done as mentioned in the Install and Setup

Steps to upgrade

Choose the version of bahmni

One has to identify the version to upgrade the system to.

Where to look for release versions ?

All the released versions and the corresponding notes are detailed on All Bahmni Releases

Example (0.91 Version)

If one chooses to upgrade to a version (0.91), pick the corresponding bahmni-installer rpm 

bahmni-installer-0.91-89.noarch.rpm

Update the existing installer rpm

The bahmni-installer rpm is responsible for fetching the required rpm's for bahmni installation. Since the use case is to upgrade to latest version of bahmni, the existing bahmni-installer rpm should be updated. Follow the code snippet below

How to update bahmni-installer rpm ?
sudo yum remove bahmni-installer
sudo yum install -y https://dl.bintray.com/bahmni/rpm/rpms/bahmni-installer-0.91-89.noarch.rpm

Backup 

It is a best practice to take backup data, files and any other local changes done (e.g. app config) in the system.


Backup Data and Files

One can use backups command that bahmni by default provides to backup the databases/files etc. For a comprehensive list of backup commands please see the documentation here

Please make sure to use the inventory file and replace the below command.

sudo bahmni -i <inventory-file-name> backup --backup_type=all --options=all

App Config

Please take a backup of your implementation specific config folders.

How to backup config ?
cp /var/www/bahmni_config ~/bahmni_config_backup

Make sure to backup any other changes you have made in the system.


Run Installation

Run the installation command

Commnad to install
bahmni -i <inventory-file> install

Example - (inventory file name is local)

bahmni -i local install

Make sure to change the setup.yml or inventory file before running the above command if required to modify the installation.

Please look at Install Bahmni on CentOS (Advanced Installation Options) for making changes before installation



Upgrade to Bahmni 0.92

WIP



  • No labels