When we install Bahmni 0.89 to have fresh database, does it install the database of the OpenMRS 2.1 or 1.12.0 as mentioned in the link https://bahmni.atlassian.net/wiki/display/BAH/Using+a+Fresh+Database ?
Which states as “As per Bahmni’s installation process, if a database is unavailable during the deployment, it would restore a base vanilla OpenMRS 1.12.0 database if the implementation_name is NOT chosen as default.”
Or should the Wiki need to be updated?
Hi @nawazshaikh,
When we install Bahmni 0.89 with implementation name other than default we get base vanilla database of latest OpenMRS version. We have updated the wiki accordingly. Thanks for pointing it out.
I followed the “Install Bahmni for Vanilla OpenMRS DB” steps in the wiki, but when I start Bahmni I still see visit locations like “Ganiyari” on the login page.
Hi @dsurrao,[quote=“dsurrao, post:6, topic:11451”]
Installed Bahmni VM using instructions here.
[/quote]
when you run bahmni install command in existing bahmni setup, the installation doesn’t restore the database. To get Vanilla database please drop the existing openmrs database and run bahmni install command.
mysql -uroot -ppassword -e "drop database openmrs"
The requested information does not existThe OpenMRS service is currently unavailable. Please check if the service is started and refresh the page once it is up.
If you are seeing this page, it means that the OpenMRS Platform is running successfully, but no user interface module is installed. Learn about the available User Interface Modules
If you are a developer, you can access the REST API. (See REST documentation for clients)
Also the log file at /var/log/openmrs/openmrs.log has this error:
22-06-2017 12:53:15 [WARN ] PageNotFound - No mapping found for HTTP request with URI [/openmrs/ws/rest/v1/session] in DispatcherServlet with name ‘openmrs’
Hi @dsurrao,
Can you please confirm whether you have imported the sql file on openmrs database as mentioned in this step.
Do you see any error on openmrs UI ??
Hi @dsurrao,[quote=“dsurrao, post:15, topic:11451”]
The /opt/openmrs/modules folder is empty.
[/quote]
This folder shouldn’t be empty. Can you please uninstall bahmni-openmrs, bahmni-emr, bahmni-web rpms and trigger the bahmni install command again.
yum remove bahmni-web bahmni-emr bahmni-openmrs
[Install Bahmni for Vanilla OpenMRS ] (https://bahmni.atlassian.net/wiki/display/BAH/Using+a+Fresh+Database#UsingaFreshDatabase-1.InstallBahmniforVanillaOpenMRSDB) works well with fresh Bahmni Installation. If its not a fresh installation (like vagrant where we already have Bahmni server up and running) then we need to uninstall some modules like openmrs, bahmni-emr and drop openmrs database to get Vanilla OpenMRS. Sorry that we haven’t updated the wiki for this scenario. We will update the wiki soon. Sorry for the inconvenience caused.
I still get some “file not found” javascript errors like “the requested information does not exist” on the login page, but I think that is because my installation is built against v0.88.
Is there a recommended way to migrate from v0.88 to v0.89, specifically with respect to what files should be included in the openmrs code folder?
Not sure what is the issue exactly as you are not using default configuration. Can you please share console log of the chrome browser.
Right click on Bahmni Browser page → select inspect → share console log
Is it possible to keep some concept while dropping others?
I want to keep existing concept for registration and clinical module but I want to drop all drugs database out.
manually retire unused drugs is load of works!