dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #05195
Re: DHIS2.14 INSTALLATION overwriting database on startup
Can you go to the "About DHIS2" page and tell us what you see under
database type and database name?
The main culprit for it overwriting would be that it is not actually
succeeding to connect and so you just have a transient in-memory database
which disappears each time you shut down.
On 2 September 2014 16:10, Moses Marimo <marimo@xxxxxxxxx> wrote:
> I have tried that. Opened the file in vim editor and made sure there are
> no trailing spaces, but still, I get the same behaviour.
>
>
>
> On Tuesday, September 2, 2014, Lars Helge Øverland <larshelge@xxxxxxxxx>
> wrote:
>
>> Hi Moses,
>>
>> check that you have this line in hibernate.properties without any tailing
>> witespaces:
>>
>> hibernate.hbm2ddl.auto = update
>>
>> Lars
>>
>>
>>
>> On Tue, Sep 2, 2014 at 10:34 AM, Moses Marimo <marimo@xxxxxxxxx> wrote:
>>
>>> I have a DHIS2.14 installation behaving very awkward. On startup, it
>>> overwrites data in all tables and fills in the default admin/district data.
>>> I can confirm it's able to connect to the database because it's overwriting
>>> my restored data. Any pointers.
>>>
>>> Regards,
>>>
>>> Moses
>>>
>>>
>>> --
>>> ICT Warehouse (Pvt) Ltd - "The Stockist of *e*-nnovation"
>>> 7 Chelmsford Belgravia, Harare
>>> Tel: +263-8644-102349
>>> Cell: +263-772-268353
>>> Website: *www.ict.co.zw <http://www.ict.co.zw>*
>>>
>>>
>>> Innovative solutions in Web Design and E-Commerce, Software Engineering,
>>> Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT
>>> Solutions and Consultancy.
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> --
> ICT Warehouse (Pvt) Ltd - "The Stockist of *e*-nnovation"
> 7 Chelmsford Belgravia, Harare
> Tel: +263-8644-102349
> Cell: +263-772-268353
> Website: *www.ict.co.zw <http://www.ict.co.zw>*
>
>
> Innovative solutions in Web Design and E-Commerce, Software Engineering,
> Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT
> Solutions and Consultancy.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
References