dhis 2.25 upgrade

Hi all,

please take care to read the upgrade notes for DHIS version 2.25:

https://www.dhis2.org/225-upgrade

Some highlights:

  • A new column “deleted” is introduced for the datavalue table. For large databases it is recommended to run the upgrade script. This will be taken care of by DHIS 2 itself if not run but the upgrade script is faster as it drops / creates constraints around the upgrade statements. The upgrade might take a few minutes on large database so the upgrade process should be planned for.

  • There is a breaking API change around the data set to data element association, so app developers should evaluate this.

  • Support for the hibernate.properties config file is removed after being deprecated for a year. Use dhis.conf as filename. Note that the config properties is updated. Install docs here.

Lars

···

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Hi,

when starting version 2.25 it logs

INFO 2016-10-21 08:42:25,118 Environment variable DHIS2_HOME points to /opt/dhis2/config (DefaultLocationManager.java [localhost-startStop-1])

INFO 2016-10-21 08:42:25,144 File /opt/dhis2/config/dhis.conf does not exist (DefaultLocationManager.java [localhost-startStop-1])

root@2f72d3f3ea13:/opt/dhis2/config# ls -la

total 16

drwxr-xr-x 2 root root 4096 Oct 21 08:41 .

drwxr-xr-x 4 root root 4096 Oct 21 08:41 …

-rw-r–r-- 1 root root 488 Oct 21 08:24 dhis.conf

-rw-r–r-- 1 root root 282 Dec 4 2015 hibernate.properties

any idea why this might be happening?

BR,

– Paulo

···

On Fri, Oct 14, 2016 at 8:21 PM Lars Helge Øverland lars@dhis2.org wrote:

Hi all,

please take care to read the upgrade notes for DHIS version 2.25:

https://www.dhis2.org/225-upgrade

Some highlights:

  • A new column “deleted” is introduced for the datavalue table. For large databases it is recommended to run the upgrade script. This will be taken care of by DHIS 2 itself if not run but the upgrade script is faster as it drops / creates constraints around the upgrade statements. The upgrade might take a few minutes on large database so the upgrade process should be planned for.
  • There is a breaking API change around the data set to data element association, so app developers should evaluate this.
  • Support for the hibernate.properties config file is removed after being deprecated for a year. Use dhis.conf as filename. Note that the config properties is updated. Install docs here.

Lars


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org


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

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

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

disregard my question… looking at the wrong container :wink:

···

On Fri, Oct 21, 2016 at 10:49 AM Paulo Grácio paulogracio@gmail.com wrote:

Hi,

when starting version 2.25 it logs

INFO 2016-10-21 08:42:25,118 Environment variable DHIS2_HOME points to /opt/dhis2/config (DefaultLocationManager.java [localhost-startStop-1])

INFO 2016-10-21 08:42:25,144 File /opt/dhis2/config/dhis.conf does not exist (DefaultLocationManager.java [localhost-startStop-1])

root@2f72d3f3ea13:/opt/dhis2/config# ls -la

total 16

drwxr-xr-x 2 root root 4096 Oct 21 08:41 .

drwxr-xr-x 4 root root 4096 Oct 21 08:41 …

-rw-r–r-- 1 root root 488 Oct 21 08:24 dhis.conf

-rw-r–r-- 1 root root 282 Dec 4 2015 hibernate.properties

any idea why this might be happening?

BR,

– Paulo

On Fri, Oct 14, 2016 at 8:21 PM Lars Helge Øverland lars@dhis2.org wrote:

Hi all,

please take care to read the upgrade notes for DHIS version 2.25:

https://www.dhis2.org/225-upgrade

Some highlights:

  • A new column “deleted” is introduced for the datavalue table. For large databases it is recommended to run the upgrade script. This will be taken care of by DHIS 2 itself if not run but the upgrade script is faster as it drops / creates constraints around the upgrade statements. The upgrade might take a few minutes on large database so the upgrade process should be planned for.
  • There is a breaking API change around the data set to data element association, so app developers should evaluate this.
  • Support for the hibernate.properties config file is removed after being deprecated for a year. Use dhis.conf as filename. Note that the config properties is updated. Install docs here.

Lars


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org


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

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

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp