Application Name: Bahmni Version Number: 2.1
Question:
So I was playing with the module management by replace a legacyUI module from 1.2.4.Snapshot with the 1.3.2. Then I stopped the legacyUI module and also restarted the application.
What I have tried
- Stop the application.
- Remove the legacyUI 1.3.2 module
- Start the application.
- Stop the application
- Add the legacyUI 1.2.4 Snapshot module
- Start the application
Now I cant access the UI at all and I get the following errors in the openmrs.log
[ERROR] ModuleFactory - Could not start some modules because they depend on others which are not started. Please first start them or use the "Start All" button on the "Manage Modules" page: [emrapi->webservices.rest, idgen-webservices->idgen, emrapi->metadatamapping, metadatamapping->legacyui, calculation->legacyui, addresshierarchy->legacyui, metadatasharing->legacyui, providermanagement->legacyui, reporting->htmlwidgets, webservices.rest->legacyui, appframework->webservices.rest, idgen->webservices.rest, bahmni.ie.apps->webservices.rest, emrapi->providermanagement, emrapi->reporting, emrapi->metadatasharing, idgen-webservices->webservices.rest, metadatasharing->metadatamapping, htmlwidgets->legacyui, metadatamapping->webservices.rest, reporting->legacyui, reporting->calculation]
org.openmrs.util.CycleException: [emrapi->webservices.rest, idgen-webservices->idgen, emrapi->metadatamapping, metadatamapping->legacyui, calculation->legacyui, addresshierarchy->legacyui, metadatasharing->legacyui, providermanagement->legacyui, reporting->htmlwidgets, webservices.rest->legacyui, appframework->webservices.rest, idgen->webservices.rest, bahmni.ie.apps->webservices.rest, emrapi->providermanagement, emrapi->reporting, emrapi->metadatasharing, idgen-webservices->webservices.rest, metadatasharing->metadatamapping, htmlwidgets->legacyui, metadatamapping->webservices.rest, reporting->legacyui, reporting->calculation]
at org.openmrs.util.Graph.topologicalSort(Graph.java:170)
at org.openmrs.module.ModuleFactory.getModulesInStartupOrder(ModuleFactory.java:347)
at org.openmrs.module.ModuleFactory.startModules(ModuleFactory.java:235)
at org.openmrs.module.ModuleUtil.startup(ModuleUtil.java:129)
at org.openmrs.api.context.Context.startup(Context.java:832)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:244)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
INFO 8/9/17 4:14 PM:liquibase: Reading from `liquibasechangelog`
and this on the browser
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
How can I start back the module or fix the above issue without accessing the UI ?