Hello, I am running into errors in attempting to upgrade from 0.85 to 0.87. It seems, I always have problems in one way or another with upgrades. I know it is probably my lack of experience with these technologies.
I followed all steps again…here’s the openMRS log. error seems to be it didn’t update database possibly? also, is it possible it is attempting to run the wrong version of Java? Please help.
The issue seems to be with the privileges of the database user that the migrations are running. Do you remember making any changes to openmrs-user in the database? Or have you changed any configuration files?
I added the module downloaded the legacyUI Mod and moved to the Module folder. Restarted openMRS and still not able to access the bahmni dashboard or OpenMRS directly? Has anyone succeeded in upgrading to .87?
Thank you for your response @swathivarkala. I’m working with @sravanthi17 now to troubleshoot the issue. I will post our conclusion / resolution in hopes of helping others. Thanks again.
There seemed to be an issue with location mapping, however; after troubleshooting, we were unable to locate the problem. The end result was we did the following:
Backed up the openmrs database from mysql:
bahmni -i local db-backup
Remove existing instance of bahmni
yum remove -y bahmni-*
yum remove -y mysql-*
Then reinstalled everything:
yum install https://dl.bintray.com/bahmni/rpm/rpms/bahmni-installer-0.87-81.noarch.rpmbahmni -i local install
We finally dropped the new database, and replaced with our backup:
drop database openmrs;
create database openmrs;
mysql -uroot -p openmrs < filename of backup db
All in all, it seems to be running again. Unfortunately, I didn’t have backups of my configurations files so I now need to go back and restart configuration.