Platform getting installed but UI not coming up

I am able install OpenMRS Platform 2.6.14.05dd24 through OpenMRS SDK. Server: O3 Distribution O3 version: Reference Application 3.2.1-rc.4

In MAC, I could see that the UI comes up once the setup is complete. But, in Ubuntu, I could see the following message once the setup is complete:

" 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)"

On viewing the installation folder, I could see that the following modules are present inside /home/<>/openmrs/o3_distro_2_7_0_demo_data/modules: – spa-2.1.0-SNAPSHOT.omod – legacyui-1.22.0.omod

PasteBin Log: INFO - Slf4JLogger.log(43) |2025-01-24T12:24:34,912| Index encounter_changed_b - Pastebin.com

  1. Why is the UI not displayed in spite of the required modules being present?
  2. Why does it work in MAC and doesn’t work in Ubuntu?
1 Like

It means that you have installed the backend required to run the frontend. Now, fork the repo of your choice, clone it and run it locally on another terminal. You will be able to see the UI.

Thanks for the reply @harshthkkr. What repos needed to be forked? Why does it work in MAC without any additional steps but not in Ubuntu?

Could you provide more details on it?

1 Like

did you update your system? if not use this sudo apt update sudo apt install openjdk-11-jdk unzip and restart sudo systemctl restart openmrs if you still facing problem @dkayiwa @ibacher @wikumc they will help you

Hi @harshthkkr,

Running the following steps in MAC works fine and the OpenMRS Platform along with Legacy / O3 UI starts and run successfully:

  1. mvn openmrs-sdk:setup
  2. mvn openmrs-sdk:run

But, when running the above OpenSDK commands in an Ubuntu machine, the installation gets successful but the UI is not displayed. Instead, the following message gets displayed: “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)”

I ran exactly, the same steps in both MAC and Ubuntu but UI is not working in Ubuntu. On comparing the OpenMRS app home directory, I could see that the modules present inside “openmrs/o3_distro/modules” folder (where “o3_distro” is the serverId) are the same in MAC and Ubuntu. I could see the existence of “spa-2.1.0-SNAPSHOT.omod” & “legacyui-1.22.0-SNAPSHOT.omod” in Ubuntu machine’s “modules” folder.

On analysing the logs, I could see some exceptions while running the “mvn openmrs-sdk:run” command. The exception logs are pasted in the following link:

Can you please let me know why such exceptions are being thrown in Ubuntu but not in MAC?