Hi there, I am running into issues installing modules.
I am running the 2.12.2 Reference Application with tomcat9 and java 11 on an Ubuntu 22.04 server.
The module I’m trying to install is the Common Lab Test module(version 1.5.1), however I ran into the same issue when trying to install the Simple Lab Entry module(version 2.0.0). I have tried installing modules via the application UI under Administration → Manage Modules → Add/Upload module, as well as installing the .omod file directly to my modules directory and restarting the server. Each method results in the same error. The error that appears in the UI after tomcat restart can be seen in my screenshot, and the catalina.out logs are available at this link: catalina.out_commonlabtest_installation_errors - Google Drive
Can anyone help me with this? I am seeing similar errors when running Ref App version 2.13.0 locally using the SDK. Same dependencies as above except for macOS instead of Ubuntu.
Tried installing manually and through the UI for my local instance, this is the error I see in the UI and the logs are available here:
The short version of it is that the module you are trying to install has not been updated to work on platform 2.4.0 or higher and both the versions of the RefApp you tried run on platform 2.4.0 or higher. Technically, I think it’s just a matter of removing this line.
Thank you for your response! I will play around with updating that line and re-building the module with the SDK to see if I can get around the issue.
Is there a lab module available that is compatible with platform 2.4.0? I haven’t been able to find any here: OpenMRS Add Ons
Another general question, is there supposed to be lab functionality build into the reference application itself? Wondering because there is a Laboratory location I can log into, but there doesn’t seem to be able functionality behind it.