← Back to team overview

dhis2-devs team mailing list archive

Re: dhis 2.25 upgrade

 

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@xxxxxxxxx> 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
> <https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-225.sql>.
> 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
> <https://dhis2.github.io/dhis2-docs/master/en/implementer/html/install_server_setup.html#install_database_configuration>
> .
>
>
>
>
> Lars
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References