Ambiguity in upgrade instructions

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?

Thanks!

Ed

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

Knut

···

On Thu, Sep 14, 2017 at 6:42 PM, Edward Robinson erobinson@projectbalance.com 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?

Thanks!

Ed


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

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

http://dhis2.org

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

Regards

Ed

···

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

Knut

On Thu, Sep 14, 2017 at 6:42 PM, Edward Robinson erobinson@projectbalance.com 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?

Thanks!

Ed


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

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

http://dhis2.org