DHIS2.14 INSTALLATION overwriting database on startup

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

Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.

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@ict.co.zw 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


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@lists.launchpad.net

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

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

Hi devs,

Would it be possible to include a “Clone event” button in the Event Capture module?

As some events might be very similar in overhead data, it might be useful to avoid duplication of work by cloning a previous entry and simply modifying the fields that vary. In my case, this duplication always happens on the same day (i.e. multiple events with the same report date, so no need to modify the report date).

If this would be possible shortly, that would be great!

Kind regards,

Robin

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 Tue, Sep 2, 2014 at 10:34 AM, Moses Marimo marimo@ict.co.zw 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


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@lists.launchpad.net

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

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

Sorry, I got it now. Spelling mistake. Thanks.

···

On Tue, Sep 2, 2014 at 10:34 AM, Moses Marimo marimo@ict.co.zw 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


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@lists.launchpad.net

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

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

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@ict.co.zw 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@gmail.com wrote:

Hi Moses,

check that you have this line in hibernate.properties without any tailing witespaces:

hibernate.hbm2ddl.auto = update

Lars


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

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@lists.launchpad.net

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

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

On Tue, Sep 2, 2014 at 10:34 AM, Moses Marimo marimo@ict.co.zw 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


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@lists.launchpad.net

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

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

Hi,

This is not supported at the moment, and I don’t see it coming ‘shortly’ either. But it is an interesting feature we would like to have depending on the priority of tasks we have.

···

Thank you,

Abyot.

On Tue, Sep 2, 2014 at 4:43 PM, Robin Martens martens@sher.be wrote:

Hi devs,

Would it be possible to include a “Clone event” button in the Event Capture module?

As some events might be very similar in overhead data, it might be useful to avoid duplication of work by cloning a previous entry and simply modifying the fields that vary. In my case, this duplication always happens on the same day (i.e. multiple events with the same report date, so no need to modify the report date).

If this would be possible shortly, that would be great!

Kind regards,

Robin


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