Admin page not working

I am using Openmrs version 2.2 and ref app 2.9.

The Admin landing page is working fine but no sub-link is working for me. WebService Setting

Concept Dictionary

Reporting Module

@reubenv

Hi @kundansinha ,

Can you reproduce the issue on demo.openmrs.org? (I tried and it seems to be working). If not, then it might be an indication that there’s something wrong with your local setup. Perhaps you could share the logs on pastebin.com and we can then look into it for you.

demo.openmrs.org is using 2.1.4 Openmrs version. And I am using version 2.2 And on every sub link some .jsp page is missing.

Any update on this?

@ngoel2 and @kundansinha , Ref app 2.9 was built on platform 2.1.3(See : Release blog ). That’s why the reference application 2.9 distro comes with platform 2.1.4 installed. That being said, I’m not sure as to what’s breaking the application after using platform 2.2 as its base

Hi @ngoel2, @kundansinha, thank you for reporting this. Could you upgrade to latest version that can be found on source-forge and confirm whether this reoccurs?

Am comfortably running the reference application on the latest OpenMRS platform. Can you share the list of your modules and their versions?

@dkayiwa - what version of the Ref App are you running on 2.2.0?

We used the Platform 2.2.0 war and the Ref app 2.9 addons available at the links on : https://openmrs.org/download/

Details of the instance we are running including the list of modules:

OpenMRS Information

  • Name Value
  • System Date 2019-07-10
  • System Time 19:51:52
  • OpenMRS Version 2.2.0 Build ab94ff
  • Host Name ip-172-31-25-239.ap-south-1.compute.internal
  • Java Runtime Environment Information

  • Name Value
  • Operating System Linux
  • Operating System Architecture amd64
  • Operating System Version 4.4.0-1087-aws
  • Java Version 1.8.0_212
  • Java Vendor Oracle Corporation
  • JVM Version 25.212-b03
  • JVM Vendor Oracle Corporation
  • Java Runtime Name OpenJDK Runtime Environment
  • Java Runtime Version 1.8.0_212-8u212-b03-0ubuntu1.16.04.1-b03
  • User Name tomcat7
  • System Language en
  • System Timezone Etc/UTC
  • Filesystem Encoding UTF-8
  • Java User Home Directory /var/lib/tomcat7
  • Temp Directory /tmp/tomcat7-tomcat7-tmp
  • Memory Information

  • Name Value
  • Total Memory 1015 MB
  • Free Memory 658 MB
  • Maximum Heap Size 1015 MB
  • DataBase Information

  • Name Value
  • Database Schema Name openmrs
  • Database Connection URL jdbc:mysql://localhost:3306/openmrs?autoReconnect=true&sessionVariables=default_storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8
  • Database User Name openmrs_user
  • Database Driver Name
  • Database Dialect
  • Module Information

  • Name Value
  • Local repository /usr/share/tomcat7/.OpenMRS/modules
  • Atlas Module 2.2
  • Form Entry App Module 1.4.2
  • Metadata Sharing 1.5.0
  • Reporting 1.17.0
  • ID Generation 4.5.0
  • EMR API Module 1.27.0
  • Allergy UI Module 1.8.1
  • Registration App Module 1.13.0
  • HTML Form Entry UI Framework Integration Module 1.7.0
  • App Framework Module 2.13.0
  • Reporting REST 1.10.0
  • Reference Metadata Module 2.9.0
  • Metadata Mapping 1.3.4
  • Admin UI Module 1.2.4
  • Metadata Deploy 1.11.0
  • Reference Application Module 2.9.0
  • App UI Module 1.9.0
  • OpenMRS UI Framework 3.15.0
  • Reporting Compatibility 2.0.6
  • HTML Widgets 1.10.0
  • Serialization Xstream 0.2.14
  • Address Hierarchy 2.11.0
  • Registration Core Module 1.8.0
  • Attachments 2.1.0
  • Intelehealth Module 1.3
  • Event Module 2.7.0
  • Core Apps Module 1.21.0
  • Provider Management Module 2.10.0
  • Chart Search Module 2.1.0
  • Calculation 1.2
  • Appointment Scheduling UI Module 1.7.0
  • Open Web Apps Module 1.10.0
  • HTML Form Entry 3.8.0
  • FHIR Module 1.18.0
  • UI Commons Module 2.6.1
  • Rest Web Services OMOD 2.24.0.573609
  • Appointment Scheduling Module 1.10.0
  • Reporting UI Module 1.6.0
  • Legacy UI Module 1.5.0
  • Data Exchange Module 1.3.3
  • Reference Demo Data Module 1.4.4 Not Started
  • UI Library Module 2.0.6

Can you also share the tomcat log?

@kundansinha ref app 2.9 the way it is, can not run on core version 2.2. it was built to run on 2.1.4 as @reubenv said.

to run the reff app on core 2.2 , try a minimum of the following module versions below

or it’s easy to just build a ref app distribution from the following distro- file using the sdk.

Try this command

mvn openmrs-sdk:setup -Ddistro=<path-to-distro-file>\openmrs-distro.properties

#Tue Aug 07 02:47:25 MDT 2018
db.h2.supported=false
db.sql=classpath\://openmrs-distro.sql
name=Reference Application
omod.addresshierarchy=2.11.0
omod.adminui=1.2.3
omod.allergyui=1.8.1
omod.appframework=2.11.0
omod.appointmentscheduling=1.9.0
omod.appointmentschedulingui=1.7.0
omod.appui=1.8.0
omod.atlas=2.2
omod.atlas.type=omod
omod.calculation=1.2
omod.chartsearch=2.1.0
omod.coreapps=1.20.0-SNAPSHOT
omod.dataexchange=1.3.2
omod.emrapi=1.25.0-SNAPSHOT
omod.event=2.6.0
omod.event.groupId=org.openmrs
omod.fhir=1.13.0
omod.formentryapp=1.4.2
omod.htmlformentry=3.7.0
omod.htmlformentryui=1.7.0
omod.htmlwidgets=1.9.0
omod.idgen=4.5.0
omod.legacyui=1.4.0
omod.metadatadeploy=1.10.0
omod.metadatamapping=1.3.4
omod.metadatasharing=1.5.0
omod.owa=1.9.0
omod.providermanagement=2.10.0
omod.referenceapplication=2.8.0
omod.referencedemodata=1.4.5-SNAPSHOT
omod.referencemetadata=2.9.0-SNAPSHOT
omod.registrationapp=1.12.0
omod.registrationcore=1.8.0
omod.reporting=1.16.0
omod.reportingcompatibility=2.0.5
omod.reportingrest=1.10.0
omod.reportingui=1.6.0
omod.serialization.xstream=0.2.14
omod.serialization.xstream.type=omod
omod.uicommons=2.6.0
omod.uiframework=3.13.0
omod.uilibrary=2.0.6
omod.webservices.rest=2.22.0
owa.openmrs-owa-sysadmin=1.1
version=2.9.0-SNAPSHOT
war.openmrs=2.2.0-SNAPSHOT

NB , at the time i was using the above distro-file , some of those module versions were still “Snaphots” and am sure Most of them if no all of them are now full versions. But what is most important is those are the minimum module versions that can run on core 2.2.

so make sure you make all those snapshot versions full versions

1 Like

Personaly thats the distro file i use to run the reff app on the latest core version

Do not run snapshot versions. Simply run the latest released version of each module.

1 Like

yes true @dkayiwa, i noted that to her. Just that ,at the time i was using that file, those were the latest versions (Snapshots) , that could run on core 2.2

@mozzy - So this is a module dependency issue? Which version of the REST Web Services module works with 2.2.0? We’re unable to access the API documentation as well from the admin page.

If this is a module dependency issue, it would be good to update the Ref App distro available for download at https://openmrs.org/download/ with the right versions of the modules that work with 2.2.0

1 Like

@ngoel2 web rest module 2.22.0 and above can work well