← Back to team overview

dhis2-users team mailing list archive

Re: Ambiguity in upgrade instructions


Just to confirm that this is the case – in fact, dhis.conf appears to not be supported in 2.22 at all.  I was unable to deploy without hibernate.properties up to 2.25 where dhis.conf is required.
It might be worth removing the reference here: https://www.dhis2.org/222-upgrade


From: Knut Staring [mailto:knutst@xxxxxxxxx]
Sent: Thursday, 14 September 2017 2:18 PM
To: Edward Robinson <erobinson@xxxxxxxxxxxxxxxxxx>
Cc: DHIS 2 Users list <dhis2-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Dhis2-users] Ambiguity in upgrade instructions

I think  hibernate.properties works up to and including 2.24. But better to just change to dhis.conf.


On Thu, Sep 14, 2017 at 6:42 PM, Edward Robinson <erobinson@xxxxxxxxxxxxxxxxxx<mailto:erobinson@xxxxxxxxxxxxxxxxxx>> wrote:
In the 2.22 upgrade instructions it says:
“The DHIS 2 configuration file is now called dhis.conf and has a range of new and renamed properties. The hibernate.properties configuration file is deprecated. Consult the installation guide for details.”

In 2.25 it says:
“- The system will no longer look for a configuration file called hibernate.properties. Instead use dhis.conf as filename. The configuration properties in dhis.conf are different from hibernate.properties - read the database configuration documentation.”

Does this mean that up to 2.25, hibernate.properties will still work, or has it been deprecated since 2.22?

Also in 2.22 instructions:
“A configuration property encryption.password must be set in case you would like to take advantage of the new attribute value encryption feature. This value should be a random string of at least 24 characters. You also need to install the "Java Cryptography Extension (JCE)" on your server in order to encrypt information. Consult the encryption installation guide for details.”

We were using this in 2.16 – has something changed that it’s mentioned in the 2.22 upgrade instructions?


Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar