dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #46994
Re: Connect DHIS2 development module with Postgres
Hi All, just want to say that I have solved the problem by creating the
config file in the current user session instead of the dhis user. It seems
to be related to the user privileges to have access to the
/home/dhis/config/dhis.conf.
Thank you
2016-09-23 12:52 GMT+00:00 gérard Bisama <gerbis2000@xxxxxxxxx>:
> Hi All,
>
> Thank you for your responses.
>
> I am using Ubuntu 14.04. I have done all the configurations concerning the
> DHIS2_HOME and Java environment variables.
>
> Am not able to connect to the database.
>
> 2016-09-23 10:12 GMT+00:00 Knut Staring <knutst@xxxxxxxxx>:
>
>> Hi Gérard,
>> What operating system are you on?
>>
>> DHIS2 will search for an environment variable called DHIS2_HOME. This will be a pointer to the folder where your
>> hibernate.properties (now better to use dhis.conf) file is located.
>>
>> For example:
>>
>> export DHIS2_HOME='/home/dhis/config'
>>
>> See the link below (search for DHIS2_HOME):
>> http://dhis2.github.io/dhis2-docs/2.24/en/implementer/html/d
>> his2_implementation_guide_full.html#d5274e948
>>
>> Knut
>>
>> On 23 Sep 2016 10:18 a.m., "gérard Bisama" <gerbis2000@xxxxxxxxx> wrote:
>>
>>> Hi everyone,
>>>
>>> I am working actually on DHIS2 development and FHIR. I need to connect
>>> my development module with postgres instead of H2 but I am having issues.
>>> The instance still run on H2 even though I have followed the procedure
>>> described here https://github.com/se2/DHIS2.
>>>
>>>
>>> Thank you for your help
>>>
>>> --
>>> Gérard Bisama
>>> Tel:+243810890810
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>
>
> --
> Gérard Bisama
> Tel:+243810890810
>
--
Gérard Bisama
Tel:+243810890810
References