Please Help Me Out!!!

I am a newbie trying to run the OpenMRS server for the very first time using the mvn openmrs-sdk:run -DserverId=server command. I’m really stack at the “Update the database” step and my cmd froze with “ERROR - BaseFileLoader.lambda$loadUnsafe$3(89) |2026-03-12T23:42:44,171| Errors found” as the last statement.

That sounds more or less like the system is starting up. There are a few issues in the baseline metadata that we are working on fixing. Otherwise, it’s more helpful if you can share a larger portion of the log than just one message as, in this case, that log line doesn’t give very much context, but in the actual log there would be more to explain what was happening.

Thank you @ibacher I finally figured it out

@sbuwule it helps another person if you also include what you exactly did.

Thanks @dkayiwa for the clarification. I had several issues I had to sort out, namely:

  1. I had messed up my dependencies where I defined different versions of OpenMRS I was using in both the omod/pom.xml and the root pom.xml files, and so omod/pom.xml. I made sure both files, including the config.xml, had the same OpenMRS version.
  2. Database connection failure — MySQL/Docker not ready yet. I had not started my Docker Desktop, so my database connection was also not possible.
  3. Corrupted .omod file — a bad file in the modules folder which I deleted, and I manually downloaded a new file which was compatible with my OpenMRS server version, particularly my uicommons-2.23.0.omod file.

I hope this will be able to help someone else.

@dkayiwa @ibacher Whenever I run the “mvn openmrs-sdk:run -DserverId=webservices-dev” command, I keep hitting what I believe is a dead end. I keep revisiting a webpage in my browser as attached in the image below.

This sounds like when you setup the server, you put an invalid database driver in. It is a field you can edit, but you generally shouldn’t. You can edit the server’s openmrs-server.properties file to fix the driver name or destroy and recreate it.

1 Like