Do you mean you have halted your vagrant and started again?
How did you do this?
Ideally yes. But it’ okay to restart.[quote=“swathivarkala, post:10, topic:11337”]
Please use the below command to find the version of Bahmni installed.
yum list installed | grep bahmni
[/quote]
Can you do this once again tell me how the versions look like now?
Can you run the above command and get the output.[quote=“mafrica, post:21, topic:11337”]
I am afraid I am way out of my depth in analyzing this, but is it possible that the Vagrant Box does not like the port that bahmni-reports is trying to use?
[/quote]
Can you check which process is running on 8051 port? You can use the below commands.
Do you mean you have halted your vagrant and started again?
As it happened Vagrant was halted and so I started with Vagrant up that said:
c:\Bahmni\bahmni-vagrant>vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Checking if box ‘bahmni-team/bahmni’ is up to date…
==> default: A newer version of the box ‘bahmni-team/bahmni’ is available! You currently
==> default: have version ‘0.88’. The latest is version ‘0.89’. Run
==> default: vagrant box update to update.
How did you do this?
I just followed the instruction “Vagrant box update”
Please use the below command to find the version of Bahmni installed.
$netstat -tunlp |grep 8051pick the process Id from the output of the above which will look like " xxxx/java" and get the process using the below command.$ps -ef | grep xxxx
The original db came with the vagrant distro and then I requested through this forum a procedure to remove all the test data and was instructed as below:
binduakHimabindu AkkinepalliApr 41 mafrica
Hi @mafrica,
You can download the openmrs clean db dump from here2. Please run the below commands to restore the database once you download.
gzip -d openmrs_backup.sql.gz
mysql -uroot -ppassword -e “drop database openmrs”
mysql -uroot -ppassword -e “create database openmrs”
mysql -uroot -ppassword openmrs < openmrs_backup.sql
This is clean database and it doesn’t any concepts, locations , address heirarchy and many more so that you can start from scratch. As @gsluthra mentioned I will share the OpenELIS and OpenERP clean databases in couple of days. Meanwhile you can start configuring openmrs database.
For completeness later in the thread Flush test data from Bahmni/opeMRS@binduak advised "You can directly download the file using wget in guest machine ( Bahmni server ) and run the above mentioned restore commands.
I would really be grateful for any ideas on how to narrow the source of this problem. I am sure the source must be trivial although beyond my ability to identify and fix. However, the consequences of being unable to produce a single report puts our entire implementation at risk.
I will try 0.89. On Vagrant, we are a very low IT resource environment and require Windows Server for some apps and so I had hoped to use Bahmni inside vagrant as a sort of appliance. Response time seems fine for the volumes that we have so far.
@mafrica@swathivarkala did the problem of communication link failure get resolved? I am facing what it seems like similar issue and could not figure out the solution. posted the issue here