Hello Community,
I have compiled the list of issues that we encountered during 0.92_147 installation. Some of them are solved and already posted in community but some yet to be solved. I hope we could make more stable release for 92 in upcoming days incorporating solutions for all listed issues.
1. Installation not supported by latest ansible
Solution degrade to 2.4.2.0: pip install 'ansible==2.4.2.0'
2. Postgres Error
task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:9 An exception occurred during task execution. fatal: [localhost]: FAILED! => {“changed”: false, “module_stderr”: “Traceback (most recent call last):n File “/tmp/ansible_zZpqvy/ansible_module_yum.py”, line 1345, in n main()n File “/tmp/ansible_zZpqvy/ansible_module_yum.py”, line 1336, in mainn skip_broken, security, params[‘installroot’], allow_downgrade)n File “/tmp/ansible_zZpqvy/ansible_module_yum.py”, line 1228, in ensuren res = install(module, pkgs, repoq, yum_basecmd, conf_file, en_repos, dis_repos, installroot=installroot, allow_downgrade=allow_downgrade)n File “/tmp/ansible_zZpqvy/ansible_module_yum.py”, line 743, in installn envra = local_envra(module, package)n File “/tmp/ansible_zZpqvy/ansible_module_yum.py”, line 609, in local_envran header = ts.hdrFromFdno(fd)n File “/usr/lib64/python2.7/site-packages/rpm/transaction.py”, line 170, in hdrFromFdnon raise rpm.error(“error reading package header”)n_rpm.error: error reading package headern”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 0}
Solution : Add following in setup.yml
postgres_repo_rpm_name: pgdg-redhat-repo-latest.noarch.rpm
3. Unable to start service odoo error while installing Bahmni:
Error type: fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Unable to start service odoo: Job for odoo.service failed because a configured resource limit was exceeded. See “systemctl status odoo.service” and “journalctl -xe” for details.\n”}
Solution : pip install beautifulsoup4
4. Bahmni-reports not working
Solution : for now it works after degrading bahmni-reports to previous version
5. Error : "Cannot read bahmnicore properties" [ERROR] OpenElisPatientFailedEventsFeedClientImpl - openelisatomfeedclient:failed feed execution while running failed java.lang.NullPointerException at org.bahmni.module.bahmnicore.properties.BahmniCoreProperties.getProperty(BahmniCoreProperties.java:28)
This is yet not solved. This problem persists even when other modules try to read bahmnicore.properties file .
@angshuonline, can you help us solve this ?
6. /opt/openmrs/bin/start.sh: line 3: /var/run/openmrs/openmrs.pid: No such file or directory
solution : manually create openmrs.pid and restart