← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] DHIS2.24 linking to a wrong database

 

Absolom,
Kindly check the hibernate.properties or dhis.conf file again. It is
responsible to point DHIS2 to the right database.

On 10/27/16, Absolom MURAMIRA <absolom_m@xxxxxxxxx> wrote:
> Dear All,
> I am setting up DHIS2 to run on Ubuntu 16.04 server and PostgreSQL database
> but after setting up all the configuration settings in the dhis.conf and
> exporting the environmental variables in the tomcat-dhis instance, it still
> points to a different H2 database
> (dhis2;DB_CLOSE_DELAY=-1;MVCC=TRUE;ALIAS_COLUMN_NAME=TRUE;DB_CLOSE_ON_EXIT=FALSE)
> and a mysterious user (sa) database type DhisH2. This causes the system to
> loose all the data up on restart. This issue was raised by some one early
> this year but unfortunately i cannot find a solution. If anyone knows the
> solution, please support me.
> Thank you.
> Absolom
>


-- 
Regards,

Gerald


Follow ups

References