OpenMRS Platform not running

Then the legacy ui version(1.6.0) that you downloaded cant work on openmrs 2.4.0-SNAPSHOT

Kindly clone and build the latest snapshot version of the legacy ui ,then deploy it with the platform version your using

1 Like

@ravi https://github.com/openmrs/openmrs-module-legacyui you can clone and build the latest legacy ui version

@gcliff I have downloaded the new code you have given, it is generated the legacyui-1.7.0-SNAPSHOT.omod , kept in modules folder and restrted, Still getting the same error.

Error while trying to start module: legacyui org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber} at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:399) ~[classes/:?] at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:653) [classes/:?] at org.openmrs.api.context.Daemon$1.run(Daemon.java:80) [classes/:?]

the legacy ui version your using requires core 2.0.0 and above

so build openmrs platform and redeploy the openmrs. war file with the new one from the build …

@gcliff I have a doubt, the legacy ui that I recently build is legacyui-1.7.0-SNAPSHOT.omod and already I am having openrms.war is 2.4.0,Then it should work?, anyway I have done the rebuild of the openrms, and the user interface remains same

yes it should work…

try re-starting your machine delete the runtime properties

use https://pastebin.com/ for sharing the error logs

@gcliff I have restarted the machine, still getting the same interface Here is the errorhttps://pastebin.com/2r9cPx6E

I am still facing the issue, Can someone help me on this, my setup is in the middle.

I got struck in the setup of openmrs. Please help on this.

Thanks & Regards,

Ravi Kumar.R

@ravi according to the error logs the legacy ui is still complaining about the platform your running …

I would suggest a plan B here were you can create a server running on the latest platform version bundled with the latest legacy ui version.

@ravi according to the logs,it is likely that you did not build 2.4 platform.Fork openmrs core to your repository and then clone to your computer,make sure you add an upstream and use git pull - -rebase upstream master to pull the latest changes.After,you can use mvn clean install to build platform 2.4 which is a snapshot. Do you have some time here now and we go through step by step??

1 Like

Hey, it is working after follwoing these steps, Thanks for everyone for supporting

2 Likes

@gcliff it is working fine when running from command prompt. But When I run from eclipse it is saying https://pastebin.com/D7RF2vsJ

with those logs,what happens when you start at localhost:8080/openmrs

it is just showing the following screen

did you add the legacy ui module,which browser are you using?

When I have run the same with command prompt, it is running and showing the login page, but when I run the same with eclipse like run as → run on server(tomcat), I am just getting the user interface not configured in the screen.

I am using Chrome browser

Please find my modules scree

Capture

running the app in command propt and running in eclipse both are getting same error, but when running from command prompt I am able to see the login screen

Take these steps,you can keep running tomcat out of your eclipse,then in your eclipse,keep working on any module that you may like after use mvn clean install to build the .omod.After get the .omod and drop it to the modules folder to checkout changes.I think at this step now you got no blocker

I will run the tomcat outside of eclipse, But how can I deploy the openmrs.war in to the server, do you mean doing the deployment manually?