Apart from below services, what other services need to be running for Bahmni
# service --status-all
atomfeed-console is running with pid: 6304
Service bahmni-erp-connect is running with pid: 18221
Service bahmni-reports is running with pid: 6306
Checking jexec statusnetconsole module not loaded
Configured devices:
lo ens192
Currently active devices:
lo ens192
Service openmrs is running with pid: 6328
Everything was working perfectly until I tried installing Open ERP with below command.
bahmni -i custom --only bahmni-erp install
It was not installed initially when I ran the installer.
Could you please list what is the output of below command in your server.
yum list installed | grep postgres
I did face this issue when a psycopg2 dependency is not resolved by yum. You should have postgresql10-libs or higher libs version installed. Sometimes dependencies get properly resolved and expected version of libs is installed - sometimes postgresql96-libs are only installed and postgres user module fails
Where do I set inventory variable as suggested below
I found that when I use /usr/local/bin/python I can import psycopg2 but not when using /usr/bin/python . Solved this by setting an inventory variable ansible_python_interpreter: /usr/local/bin/python
Both pythons are 2.7
I finally managed to install bahmni- erp. But I still don’t know why I can’t access bahmni from my browser. All services are running
# service --status-all
atomfeed-console is running with pid: 6304
Service bahmni-erp-connect is running with pid: 18221
Service bahmni-reports is running with pid: 6306
Checking jexec statusnetconsole module not loaded
Configured devices:
lo ens192
Currently active devices:
lo ens192
mkdir: cannot create directory ‘odoo’: File exists
odoo-server is running...
Service openmrs is running with pid: 21017
What do you get when you try to access the https://[server]/home?
check the network tab in chrome devtools, console etc
check the log in /var/log/openmrs/openmrs.log
(remember, we have a rotating log, so chances are that the error might be in other files. but starting with openmrs.log is good)