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.
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.
@gdkobla too little information really. It seems to have failed download of NTP. have you set the repo URL properly? check here
Thanks for your assistance. It worked for me.