← Back to team overview

dhis2-users team mailing list archive

Re: Data Store Issue in DHIS2 [2.26]

 

Is your user assigned to the root organization unit? The (lack of)
assignment of users to orgunits (or to more than one) often causes errors.

On Tue, Apr 25, 2017 at 10:38 AM, Muhammad Bilal Siddqui <
m.bilalsiddqui@xxxxxxxxxxxxxxx> wrote:

> Actually there are some OrgUnits. I select 1 as parent but it still
> showing that error.
>
> Get Outlook for iOS <https://aka.ms/o0ukef>
> ------------------------------
> *From:* Em Le Hong <em.hispvietnam@xxxxxxxxx>
> *Sent:* Tuesday, April 25, 2017 1:30:41 PM
> *To:* Muhammad Bilal Siddqui
> *Cc:* Knut Staring; DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Data Store Issue in DHIS2 [2.26]
>
> I guess you are missing parent orgUnit, you need to create it as root
> orgUnit if there's no orgUnit exist in your database.
>
> On Tue, Apr 25, 2017 at 3:10 PM, Muhammad Bilal Siddqui <
> m.bilalsiddqui@xxxxxxxxxxxxxxx> wrote:
>
>> Thanks for response. I check console it show me following error
>>>
>>> null value in column "organisationunitid" violates not-null constraint
>>
>>
>> console screenshot attached
>>
>> On Tue, Apr 25, 2017 at 11:26 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Please look for error messages in your browser console and your Tomcat
>>> log.
>>>
>>> Regards,
>>> Knut
>>>
>>> On Apr 25, 2017 6:13 AM, "Muhammad Bilal Siddqui" <
>>> m.bilalsiddqui@xxxxxxxxxxxxxxx> wrote:
>>>
>>>> HI,
>>>>
>>>> I have set up DHIS2 on my server successfully all is working fine with
>>>> demo DB then I connect different empty db and also try in demo db but i am
>>>> not able to add Organisation unit. it gives me following error.
>>>> *failed_to_save_organisation_unit*
>>>>
>>>> Any thoughts what went wrong. Am using chrome browser
>>>> DHIS2 Version 2.26
>>>> PostgresSQL Version 9.4.10
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Regards
>>>> *Muhammad Bilal Siddiqui*
>>>>
>>>> *MicroMerger (Pvt.) Ltd.*
>>>> Office No-104 Cubator 1ne
>>>> CIIT, Park Road, Chak Shehzad
>>>> Islamabad.
>>>> Pakistan 44000
>>>>
>>>> *C* : +923325694928  *P* : +92518444777
>>>> *E* : m.bilalsiddqui@xxxxxxxxxxxxxxx  *W* : www.micromerger.com
>>>>
>>>>
>>>> *This e-mail and any files transmitted with it are confidential to the
>>>> intended recipient and may be privileged. If you are not the intended
>>>> recipient, please immediately notify the sender. Whilst we have used
>>>> Anti-Virus software to alert us to the presence of computer viruses, we
>>>> cannot guarantee that this email and any files transmitted with it are free
>>>> from them. *N : Think before print do you really need this on paper.
>>>> thanks
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>
>>
>> --
>> --
>> Regards
>> *Muhammad Bilal Siddiqui*
>>
>> *MicroMerger (Pvt.) Ltd.*
>> Office No-104 Cubator 1ne
>> CIIT, Park Road, Chak Shehzad
>> Islamabad.
>> Pakistan 44000
>>
>> *C* : +923325694928  *P* : +92518444777
>> *E* : m.bilalsiddqui@xxxxxxxxxxxxxxx  *W* : www.micromerger.com
>>
>>
>> *This e-mail and any files transmitted with it are confidential to the
>> intended recipient and may be privileged. If you are not the intended
>> recipient, please immediately notify the sender. Whilst we have used
>> Anti-Virus software to alert us to the presence of computer viruses, we
>> cannot guarantee that this email and any files transmitted with it are free
>> from them. *N : Think before print do you really need this on paper.
>> thanks
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *Em Le Hong*
> DHIS2 Implementation| *HISP Vietnam*
> em.hispvietnam@xxxxxxxxx | *Skype:* em.hispvietnam@xxxxxxxxx
>
>
>
>
>
>


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

References