Try this in your dhis.conf:

hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:dhis2
hibernate.connection.username = dhis
hibernate.connection.password = dhis
hibernate.hbm2ddl.auto = update

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to