Beta release - 0.92 (Platform upgrade + odoo integration)

Please refer to https://product-qa03.mybahmni.org for latest release

Hi, I got the following error. Can anyone help me

TASK [bahmni-emr : Install bahmni-emr from bahmni-repo] ********************************************************************************************** task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-emr/tasks/main.yml:40 fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “No package matching ‘bahmni-emr-0.92-144’ found available, installed or updated”, “rc”: 126, “results”: [“No package matching ‘bahmni-emr-0.92-144’ found available, installed or updated”]} to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry

PLAY RECAP ******************************************************************************************************************************************* localhost : ok=99 changed=35 unreachable=0 failed=1

Traceback (most recent call last): File “/bin/bahmni”, line 9, in load_entry_point(‘bahmni==0.1’, ‘console_scripts’, ‘bahmni’)() File “/usr/lib/python2.7/site-packages/Click-7.0-py2.7.egg/click/core.py”, line 764, in call return self.main(*args, **kwargs) File “/usr/lib/python2.7/site-packages/Click-7.0-py2.7.egg/click/core.py”, line 717, in main rv = self.invoke(ctx) File “/usr/lib/python2.7/site-packages/Click-7.0-py2.7.egg/click/core.py”, line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib/python2.7/site-packages/Click-7.0-py2.7.egg/click/core.py”, line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib/python2.7/site-packages/Click-7.0-py2.7.egg/click/core.py”, line 555, in invoke return callback(*args, **kwargs) File “/usr/lib/python2.7/site-packages/Click-7.0-py2.7.egg/click/decorators.py”, line 17, in new_func return f(get_current_context(), *args, **kwargs) File “/usr/lib/python2.7/site-packages/bahmni-0.1-py2.7.egg/bahmni.py”, line 79, in install File “/usr/lib64/python2.7/subprocess.py”, line 542, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command ‘ansible-playbook -i /etc/bahmni-installer/local all.yml -vv --extra-vars ‘@/etc/bahmni-installer/rpm_versions.yml’ --extra-vars ‘@/etc/bahmni-backrest.conf’ --extra-vars ‘@/etc/bahmni-installer/setup.yml’’ returned non-zero exit status 2

Please try out with another updated installer. Latest on S3: http://repo.mybahmni.org.s3.amazonaws.com/rpm/bahmni/bahmni-installer-0.92-80.noarch.rpm

You can find out the list of 0.92 bahmni-installers from here, please choose the highest version, which will be in the form of

"bahmni-installer-0.92-[build number].noarch.rpm

attn: @binduak

Thanks, will definitely check it out

@angshuonline hi, it works for me . I am going through all the modules thoroughly. Thank You

1 Like

Hi, we installed latest rpm and restored database. We are able to see both ERP and Odoo. Are there steps available for ERP databse migration to Odoo?

@sushilp its not going to be an automated process. There is a document in works, that will describe a guided way of migrating from OpenERP.

Error during install 0.92 on centOS i try 3 diffrent repo but same problem

@Ramashish Joshi @arjunk @Sushil Patil @Deepak @Dipak @mksrom @Laxman @Akhil Malhotra Hello People, we need help for testing odoo cards, number from 802-809 Ready for QA lane of Jeera. Could you please assign your help and let us know. If you don’t have jeera access please ping us here. Refer this card for all the required configuration else sync won’t work - https://bahmni.atlassian.net/browse/BAH-792 Test environment - https://product-qa08.mybahmni.org/

The latest build is available on product-qa04.mybahmni.org for testing with installer http://repo.mybahmni.org.s3.amazonaws.com/rpm/bahmni/bahmni-installer-0.92-93.noarch.rpm

I updated my bahmni to 0.92-93 and i see no any customer gets synced to odoo

Hi I tride to bahmni install with latest bahmni-installer 0.92-93, but showing error-

TASK [bahmni-lab : Backup openelis markers, failed_events tables] ********************************************** task path: /opt/bahmni-installer/bahmni-playbooks/roles/bahmni-lab/tasks/main.yml:106 fatal: [localhost -> localhost]: FAILED! => {“changed”: true, “msg”: “non-zero return code”, “rc”: 127, “stderr”: “+ . /etc/bahmni-installer/bahmni.conf\n++ IMPLEMENTATION_NAME=default\n++ OPENMRS_DB_USERNAME=openmrs-user\n++ OPENMRS_DB_PASSWORD=P@ssw0rd\n++ OPENMRS_DB_SERVER=localhost\n++ OPENELIS_DB_USERNAME=clinlims\n++ OPENELIS_DB_PASSWORD=password\n++ OPENELIS_DB_SERVER=localhost\n++ OPENERP_DB_USERNAME=odoo\n++ OPENERP_DB_PASSWORD=password\n++ OPENERP_DB_SERVER=localhost\n++ MYSQL_ROOT_USER=root\n++ MYSQL_ROOT_PASSWORD=P@ssw0rd\n++ REPORTS_DB_SERVER=localhost\n++ REPORTS_DB_PASSWORD=P@ssw0rd\n++ REPORTS_DB_USERNAME=reports-user\n++ date +%Y%m%d_%H%M%S\n+ TIME=20190604_153225\n+ pg_dump -U clinlims -a -t markers -t failed_events clinlims\n/root/.ansible/tmp/ansible-tmp-1559642545.86-6155915592692/dump_openelis_atomfeed_tables.sh: line 7: pg_dump: command not found\n”, “stdout”: “”, “stdout_lines”: []} to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry

PLAY RECAP ***************************************************************************************************** localhost : ok=191 changed=70 unreachable=0 failed=1

With the CentOS version mentioned in this thread we could not install using the installer 0.92-76 OR 0.92-93 on AWS with openelis ON in /opt/bahmni-installer/bahmni-playbooks/local file.

The installation simply hangs after

2019-06-10 06:07:12,186 p=4332 u=root |  task path: /opt/bahmni-installer/bahmni-playbooks/roles/pgbackrest-install/tasks/main.yml:23

though All services show running when ip/openmrs is accessed from browser it throws error

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /openmrs.
Reason: Error reading from remote server

And the openMRS log shows continuous error on

[ERROR] OpenElisPatientFailedEventsFeedClientImpl - openelisatomfeedclient:failed feed execution while running failed eventsjava.lang.NullPointerException
java.lang.NullPointerException
at org.bahmni.module.bahmnicore.properties.BahmniCoreProperties.getProperty(BahmniCoreProperties.java:28)
[ERROR] TimerSchedulerTask - FATAL ERROR: Task [class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper] failed due to exception [java.lang.RuntimeException]
java.lang.RuntimeException: java.lang.NullPointerException
at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFailedEventsFeedClientImpl.processFailedEvents(OpenElisPatientFailedEventsFeedClientImpl.java:80)

And OpenELIS log continuously shows

2019-06-11 04:09:30,122 ERROR [ELIS][OpenMRSPatientFeedReaderJob] java.net.SocketTimeoutException: Read timed out
org.bahmni.webclients.WebClientsException: java.net.SocketTimeoutException: Read timed out
at org.bahmni.webclients.openmrs.OpenMRSLoginAuthenticator.refreshRequestDetails(OpenMRSLoginAuthenticator.java:84)

Any ideas?

Hi, i updated 0.92-99 and installation was fine. when i tried to access clinical services the whole module is meshed up . what might be the issues. i have attached the screenshot as well. I really a big problem and i could not solve since long days. Please anyone can help me i would be thank full.

98d03a203ca134df241f0c32229504c584f59baf_2_690x388

Also please find the log error.

[root@localhost openmrs]# tail -f openmrs.log 24-06-2019 17:27:22 [WARN ] DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionService’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘bahmniEncounterTransactionServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionServiceTarget’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘emrEncounterService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘emrEncounterService’: org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet 24-06-2019 17:27:22 [WARN ] DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionService’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘bahmniEncounterTransactionServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionServiceTarget’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘emrEncounterService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘emrEncounterService’: org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet 24-06-2019 17:27:22 [WARN ] DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionService’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘bahmniEncounterTransactionServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionServiceTarget’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘emrEncounterService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘emrEncounterService’: org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet 24-06-2019 17:27:22 [WARN ] DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionService’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘bahmniEncounterTransactionServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionServiceTarget’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘emrEncounterService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘emrEncounterService’: org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet 24-06-2019 17:27:22 [WARN ] DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionService’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘bahmniEncounterTransactionServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionServiceTarget’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘emrEncounterService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘emrEncounterService’: org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet 24-06-2019 17:27:22 [WARN ] DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionService’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘bahmniEncounterTransactionServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bahmniEncounterTransactionServiceTarget’ defined in URL [jar:file:/opt/openmrs/.openmrs-lib-cache/bahmnicore/lib/bahmnicore-api-0.91-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean ‘emrEncounterService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘emrEncounterService’: org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet 24-06-2019 17:27:32 [WARN ] SimpleUrlHandlerMapping - Neither ‘urlMap’ nor ‘mappings’ set on SimpleUrlHandlerMapping 24-06-2019 17:27:35 [WARN ] RefillIdentifierPoolsTask - Not running scheduled task. DaemonToken = null; enabled = false 24-06-2019 17:27:40 [WARN ] OpenmrsUtil - Unable to find a runtime properties file at /openmrs-runtime.properties 24-06-2019 17:27:40 [WARN ] OpenmrsUtil - Unable to find a runtime properties file at /openmrs-runtime.properties

the screenshot seems to suggest that probably css files were not found. Can you use chrome devTools and check the network tab for any error (404 or so)

Restart openmrs services and update openmrs search index.

@angshuonline

How was this issue eventually resolved. I have the same issue. Can you please assist.

image

@gdkobla too little information really. It seems to have failed download of NTP. have you set the repo URL properly? check here

@angshuonline

Thanks for your assistance. It worked for me.