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”
Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.
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”
Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.
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!
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”
Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.
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”
Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.
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.
Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.
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”
Innovative solutions in Web Design and E-Commerce, Software Engineering, Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT Solutions and Consultancy.
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!