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 ModulesIf 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
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.
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
Running the following steps in MAC works fine and the OpenMRS Platform along with Legacy / O3 UI starts and run successfully:
mvn openmrs-sdk:setup
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?