Hello Community,
I am trying to use OpenMRS 2.9.x as the Platform version for Bahmni Distribution. Encountered a few issues while upgrading. I understand that the platform 2.9.x has not been released, but wanted to raise these as early feedbacks prior to the release
Default Java Version on 2.9.x image: I see that the docker image openmrs/openmrs-core:2.9.x comes with Java 8 as the default build. Additional JDK options are available as tags. But OpenMRS core 2.8.x already publishes with Java 17 as the default. Any specific reasons for OpenMRS 2.9.x to publish with Java 8 as default ?
Boot up error when upgrade directly on an existing database from 2.6.x: OpenMRS Platform boot up fails when directly upgraded from an instance running version 2.6.x. Fails due to missing column edit_privilege in global_property table. Logged a JIRA ticket here. Jira
Increased boot time: We see that the boot up time of the Bahmni distribution with all the modules is taking about 10mins to load. The bootup hangs at the Context refresh stage. Whereas in OMRS 2.8.x it was close to 4mins. Any specific thoughts or areas to debug ?
Found a relevant JIRA for this. Jira. Is this something an issue only in 2.9.x
Please let me know if you require further information.
As far as I know this is no longer true. This was true for a period of time, but has since been changed back so that Java 8 is the default image that is shipped if no specific tag is given
The most likely reason for this is autowiring in services in a Bahmni-specific module. There are many performance-related startup improvements that went into 2.8 and 2.9, so I would not expect startup time to go up in these. Our PIH distributions now average about 1-2 minutes depending on the server, and I would guess we run more modules that Bahmni.
I would recommend first going from 2.6.x → 2.8.x (which is actually a released and maintained version) first, and resolving your performance issues and such, and then going to 2.9.x from there.
That Jira issue was pretty specific to some abnormal stuff we were doing in the FHIR2 module (and platform 2.8!), and not a general problem.
Generally, we’ve had some success in isolating issues using jstack to dump thread traces or Java Flight Recorder plus using LLMs to help analyze the output to understand the causes. There are some (very) breaking changes in 3.0.0, but there shouldn’t be anything in 2.9. Very happy to fix anything specific.
It doesn’t seem so @mseaton. As you can see in the below image, 2.8.10 docker image tag is released with Java 17, whereas the build of 2.9.x contains Java 8
If you run the same with 2.8.x (which would be the future 2.8.11+), you will see it is now back to Java 8. We can debate whether that is right, but that’s what is currently there. There have been a number of Docker-image-related to changes to 2.8.x after the release of 2.8.10, mostly by me.