Upgrade from 2.27 to 2.30

I’m having the same issue here. I am upgrading from 2.27 to 2.30. I did sequential upgrages; 2.27 → 2.28 → 2.29 ->2.30.

I’m using:

  • DHIS2, version 2.30
  • Tomcat 9
  • Postgres 9

I now can’t have Event Capture. It reflects Loading meta-data forever.

The following tricks didn’t work:

  • Clearing browser cache
  • Clearing browser cache using the Clear Cache chrome app
  • I even used postgres as a user because I was suspecting issues with access rights to different tables

to know wether the underlying issue is related, It would be great if you can also try to open Event Capture while looking at the javascript console of your browser.

Which operating system are you running the server on?


1 Like


Firstly, you should consider upgrading from PostgreSQL 9.5 to any newer version - I would recommend 11.2 (but anything from 9.6 onwards is significantly faster than 9.5 in terms of DHIS2 processing due to more efficient btree indexing).

Secondly, since you are using Tomcat 9, have you changed the configuration file “server.xml” in the tomcat “conf” folder to ignore the ban on using square brackets introduced from Tomcat 8.0.35 onwards?

Like this:

Check that segment in the server.xml file, and add the relaxedQueryChars=“[]” instruction if it is not there.