I am on macos and have made a couple minor changes to the legacy-ui module. The openmrs-core instance is running. I have run maven clean install on the legacy-ui and copied the omod into the modules folder in my .OpenMRS/modules folder. The module previously worked, but now when I open the browser, I get the “No UI modules are installed” message. I tried reverting my changes and using the original omod, but now it no longer works. I reset my OpenMRS instance and reinstalled it. I even tried adding the original reference application module, but nothing has solved this issue and it is still unable to detect any modules.
Thank you for any help. I’m quite stuck on this problem and have been trying to solve it for almost a day now.
Aha! That was the trick. The UI is loading now. Just as a learning experience for me, what does that do for the server exactly? Does it just tell the server that the module is there and ready to be loaded? Thank you so much!
A module can be installed but not started (not running). So setting that flag to true makes the module run on startup.
Because you did not explicitly stop that module, there is possibly a bug somewhere that stopped it.