bahmni->home fails to load

Hi,

I get below error when i launch http://192.168.1.5/home

note all the services are up and running.

Please help me in launching https://192.168.1.5/bahmni/home

thanks Giridhar

Please check the log at /var/log/openmrs/openmrs.log

Hi ajjaswanth,

I could not make out what is going wrong with the log info.I am seeing exception thrown. I have attached the log file (in zip format) here, please help.

Rename openmrs.zip.txt to openmrs.zip. Then unzip openmrs.zip to get openmrs.txt (log file). openmrs.zip.txt (75.8 KB)

thanks Giridhar

Hi @rpgiri2002,

Please restart openmrs and then collect the log from the beginning. The current log file doesn’t have the information on why it is failing to start.

Here it is. openmrs_log.txt (51.9 KB)

It is a small part of the log. We can’t find the issue from it. However, try accessing OpenMRS directly. Go to Administartion -> modules and check if any omod has failed to start.

hi ajjaswanth,

[ajjaswanth]It is a small part of the log. We can’t find the issue from it. Please find the new log file. This log from start of openemr service to once i open the webpage. openmrs.log.txt (1.9 MB)

[ajjjaswanthHowever, try accessing OpenMRS directly. Go to Administartion -> modules and check if any omod has failed to start. [Asnwer] i see below. I did not see any strings like started/stopped.

Admin Manage Modules Module Properties BahmniEMR Core OMOD 0.87-SNAPSHOT Bahmni Provides core BahmniEMR services…

Episodes of Care OMOD 1.0-SNAPSHOT Thoughtworks Implementation of Episodes of Care for OpenMRS…

Rest Web Services OMOD 2.16.e045a4 OpenMRS Publishes Rest Web Services exposing the OpenMRS API…

Hi are there only those four modules in the openmrs modules page? There will be a lot of modules there. More than 15. If all modules are up and running, then openmrs is working fine. Might be an issue with browser cache. Please do a hard refresh multiple times.

If you still see the issue, check the client side log at /var/log/client-side-logs/client-side.log. It contains all stacktraces that occurred in the browser.

There are many modules, I only pasted OMOD info.

Bacteriology Module Reporting Metadata Sharing … … … Legacy UI Module UI Library Module half screenshot shown below

[ajjaswanth]Might be an issue with browser cache. Please do a hard refresh multiple times. I tried 3 browsers (2 different physical compueters), chrome(Version 55.0.2883.87 m), mozilla (version 50.1.0) and IE (version 11.0.9600.18537C0). Cleared all my cookies and cache.

Regarding client logs, its 0 bytes.

Bahmni is only supported on Chrome. Please open dev tools in chrome and go to the Network tab and see the call that is failing. Please send the response of that call.

Hi ajjaswanth,

here is the error. But file locale_en.json

Looks like you don’t have location tag mapping. Please follow Bahmni Visit Location Mapping configuration.https://bahmni.atlassian.net/wiki/plugins/servlet/mobile?contentId=77758507#VisitLocation-Step4

Hi swathivarkala, The sit is not reachable. Please give me correct page if its moved to some other location.

Please try this link: https://bahmni.atlassian.net/wiki/display/BAH/Visit+Location#VisitLocation-Step4:

Hi gsluthra/swathivarkala,

this link shows how to do “When a patient visits a healthcare facility” https://bahmni.atlassian.net/wiki/display/BAH/Visit+Location#VisitLocation-Step4.

my problem is I am not able to launch “Bahmni EMR UI” http://machine-ip/home.

thanks Giridhar

My understanding of @swathivarkala response is that baed on your logs, it seems your system is failing because you need the correct Visit Location mapping to be setup. How to do that is mentioned in Step 4 of the Wiki link she pasted. Can you check that please?

https://bahmni.atlassian.net/wiki/display/BAH/Visit+Location#VisitLocation-Step4

Else, lets wait for @swathivarkala to confirm.

@rpgiri2002 , @gsluthra is correct. As from release0.83 visit location mapping is mandatory I was mentioning the step to show you can do it.

Hi,

where should i run these commands? Centos shell says ‘update’ command not found.

@rpgiri2002, You need to connect to mysql command line utility to execute the queries. Please run the below command to connect to the openmrs database. mysql -uroot -ppassword openmrs Once you get the mysql prompt then you can run any SQL queries.