Take a backup of the current database and implementation_config directory before proceeding forward Note: You can also use your own way of taking backup if you have one in place.
Copy the inventory file from here to /etc/bahmni-installer. Ensure that the previously existing inventory file is updated with the latest one. The setup.yml file is downloaded using the below commands. Once it is downloaded ensure that the timezone field is updated with the actual server timezone.
sudo wget https://raw.githubusercontent.com/Bahmni/endtb-config/release-0.84/playbooks/examples/inventory -O /etc/bahmni-installer/inventory
#Change the timezone parameter in /etc/bahmni-installer/setup.yml after the below step
sudo wget https://raw.githubusercontent.com/Bahmni/endtb-config/release-0.84/playbooks/examples/setup.yml -O /etc/bahmni-installer/setup.yml
sudo yum clean all
sudo bahmni -i inventory install
sudo bahmni --implementation_play=/var/www/bahmni_config/playbooks/all.yml -i inventory install-impl
#Run the batch program for the first time
sudo su -s /bin/bash bahmni
/usr/bin/bahmni-batch
Fresh installation of endTB Bahmni 1.4
Please follow the below steps to install Bahmni from Release 1.4 with the base database dump provided for endTB
Install the bahmni-installer along with its pre-requisite software using the following commands
Copy the inventory file from here to /etc/bahmni-installer. Ensure that the previously existing inventory file is updated with the latest one. The setup.yml file is downloaded using the below commands. Once it is downloaded ensure that the timezone field is updated with the actual server timezone.
sudo wget https://raw.githubusercontent.com/Bahmni/endtb-config/release-0.84/playbooks/examples/inventory -O /etc/bahmni-installer/inventory
#Change the timezone parameter in /etc/bahmni-installer/setup.yml after the below step
sudo wget https://raw.githubusercontent.com/Bahmni/endtb-config/release-0.84/playbooks/examples/setup.yml -O /etc/bahmni-installer/setup.yml
sudo yum clean all
sudo bahmni -i inventory install
sudo bahmni --implementation_play=/var/www/bahmni_config/playbooks/all.yml -i inventory install-impl
#Run the batch program for the first time
sudo su -s /bin/bash bahmni
/usr/bin/bahmni-batch