← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] [Bug 1520661] Re: All the data entered in DHIS2 installed in my laptop gets deleted after next fresh server start

 

Ok, since DHIS2 is using H2, that means that Tomcat has not found your
configuration file. Maybe this is because you are running the latest
version 2.22, for which the configuration file has changed name from
hibernate.properties to dhis.conf, as described in the release notes:
https://www.dhis2.org/222-upgrade

Also, you should open a terminal window and type this to make sure:
echo $DHIS2_HOME

On Tue, Jan 26, 2016 at 8:17 PM, Alistairs DIRUA <adirua@xxxxxxxxx> wrote:

> I am using Ubuntu 14.04 64 bit(full install) on a Laptop, 4GB Ram.
> And I installed it following the step-by-step listed here:
>   http://dhis2.github.io/dhis2-docs/2.21/en/implementer/html/ch08s03.html
>
> Alistairs
> On 27 Jan 2016 12:16 am, "Knut Staring" <knutst@xxxxxxxxx> wrote:
>
>> Right, please tell us what platform you are using (Windows, Linux) and
>> how you went about installing.
>>
>> Knut
>>
>> On Tue, Jan 26, 2016 at 2:54 PM, Alistairs DIRUA <adirua@xxxxxxxxx>
>> wrote:
>>
>>> Knut,
>>>
>>> Confirmed, I am connected to H2.
>>> I am new to Ubuntu and Postgresql. How  can I make sure I am connected
>>> to Postgresql?
>>> On 26 Jan 2016 2:29 pm, "Knut Staring" <knutst@xxxxxxxxx> wrote:
>>>
>>>> You are not connected to Postgres, but to H2. Please confirm this by
>>>> going to Profile > About DHIS2
>>>> On Jan 26, 2016 1:21 AM, "Alistairs Dirua" <adirua@xxxxxxxxx> wrote:
>>>>
>>>>> I am facing the same problem too..
>>>>> Please help!
>>>>>
>>>>> --
>>>>> You received this bug notification because you are a member of DHIS 2
>>>>> developers, which is subscribed to DHIS.
>>>>> https://bugs.launchpad.net/bugs/1520661
>>>>>
>>>>> Title:
>>>>>   All the data entered in DHIS2 installed in my laptop  gets deleted
>>>>>   after  next fresh server start
>>>>>
>>>>> Status in DHIS:
>>>>>   New
>>>>>
>>>>> Bug description:
>>>>>   Recently I've installed DHIS2 on my laptop. So as a fresh start, I
>>>>>   created  5 some organization units upto facility levels, created some
>>>>>   data elements, category options and combinations too. Then I logged
>>>>>   out from DHIS, shutdown the tomcat server from my terminal with
>>>>>   shutdown.sh command. Next time I started the server and logged in
>>>>> with
>>>>>   username: admin and password : district. But this time their is no
>>>>>   data that I have saved. I'm not sure if it is a bug but I tried the
>>>>>   same process twice and my data everything I create is lost next time
>>>>> I
>>>>>   run the server.
>>>>>
>>>>>   DHIS2 Version: 2.21
>>>>>   User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:42.0)
>>>>> Gecko/20100101 Firefox/42.0
>>>>>   server: apache-tomcat-8.0.28
>>>>>
>>>>>   Right now I'm using server as localhost.
>>>>>
>>>>> To manage notifications about this bug go to:
>>>>> https://bugs.launchpad.net/dhis2/+bug/1520661/+subscriptions
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

Follow ups

References