← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1625181] Re: Organisation Unit Data Lost After Restarting Web Server

 

Scott,

The config file up to version 2.21 was called "hibernate.properties"

>From 2.22 onwards this was changed to dhis.conf

So it's a version issue.

Regards
Calle

On 24 September 2016 at 23:56, Scott Allen <1625181@xxxxxxxxxxxxxxxxxx>
wrote:

> I think this is likely my personal user error but somewhere along the
> lines I've gotten confused on if my config file should be named
> dhis.conf or hibernate.properties. I'm also confused on whether the file
> should use "hibernate.connection" or "connection.xxxxx" and if the
> correct notation for the schema update is ".hbm2ddl.auto" or ".schema"
>
> Either way, my configurations are lost after rebooting the web server.
> Any help would be appreciated!
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1625181
>
> Title:
>   Organisation Unit Data Lost After Restarting Web Server
>
> Status in DHIS:
>   Invalid
>
> Bug description:
>   When i am trying to create organisation unit hierarchy in new empty
>   database, and after some time later when i am getting loged out and
>   restarting server, it loses all organization unit hierarchy in
>   database organisation unit table in database in spite of i have
>   assigned value
>
>   hibernate.connection.schema = update
>
>   in "dhis.conf" file in "DHIS2_HOME" system environment variable.
>
>   I think this is a very serious bug in dhis trunk and in dhis2.24
>   branch.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1625181/+subscriptions
>
> _______________________________________________
> 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
>



-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

Follow ups

References