# Installing Bahmni 0.92 Failed on postgres installation

**URL:** <https://talk.openmrs.org/t/installing-bahmni-0-92-failed-on-postgres-installation/27865>\
**Category:** Bahmni\
**Created:** [April 7, 2020, 6:21pm UTC](https://talk.openmrs.org/t/installing-bahmni-0-92-failed-on-postgres-installation/27865 "2020-04-07T18:21:04Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![tmvumbi](https://talk.openmrs.org/letter_avatar/tmvumbi/32/5_5575768a8748004e209b776fc1b2916d.png) [@tmvumbi](https://talk.openmrs.org/u/tmvumbi)\
**Post date:** [July 2, 2021, 2:56pm UTC](https://talk.openmrs.org/t/installing-bahmni-0-92-failed-on-postgres-installation/27865/19 "2021-07-02T14:56:00Z")

</div>

Thanks @rubailly for the feedback.

@ritesh @akshaybirajdarI have eventually successfully installed bahmni, by slightly modifying the official installation process (see “Installing Bahmni version 0.92 (Recommended)” [https://bahmni.atlassian.net/wiki/spaces/BAH/pages/33128505/Install+Bahmni+on+CentOS](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/33128505/Install+Bahmni+on+CentOS)):

```
- I updated the values on the 2 keys below in the file /opt/bahmni-installer/bahmni-playbooks/group_vars/local 
	○ postgres_repo_rpm_name: pgdg-redhat-repo-latest.noarch.rpm
	○ postgres_repo_download_url: https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/{{postgres_repo_rpm_name}}

```

The installation failed with the error below:

 ![image](https://talk.openmrs.org/uploads/default/original/2X/d/d89ab177b38ac945085902e7aefa7278ee1838a6.png)

This issue was resolved by installing postgresql-libs and then restarting the installation:

```auto
sudo yum install postgresql-libs
bahmni -aru http://repo.mybahmni.org/releases/ansible-2.4.6.0-1.el7.ans.noarch.rpm install

```

Notes:

- with the above approach, I didn’t need to manually remove and install the package “pgdg-redhat-repo-latest.noarch.rpm”.
- I have also tried installing “postgresql-libs” before starting the bahmni installation (to avoid the above error), but that didn’t work. I am not sure why this is the case, but the approach that worked was to first start bahmni installation which will fail, then install “postgresql-libs” and finally restart bahmni installation which succeeds on the second try

---

_[View the full topic](https://talk.openmrs.org/t/installing-bahmni-0-92-failed-on-postgres-installation/27865)._
