← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Error when exporting metadata throuhg metadata export

 

Hi Dan and Every body,

Sorry for taking much time for answer. Here is the new one as suggested by
Dan.


Thanks.

On Tue, Nov 21, 2017 at 3:50 PM, Dan Cocos <dan@xxxxxxxxxxxx> wrote:

> Depending on the version of Tomcat it doesn’t always log everything to
> catalina.out
> $DHIS_HOME by default /opt/dhis2/ then look in  /opt/dhis2/logs/dhis.log
> and you should be able to find some clues.
>
> Good luck.
>
> Dan Cocos
> Principal, BAO Systems
> dcocos@xxxxxxxxxxxxxx | http://www.baosystems.com |  2900 K Street, Suite
> 406, Washington D.C. 20007
> <https://maps.google.com/?q=2900+K+Street,+Suite+406,+Washington+D.C.+20007&entry=gmail&source=g>
>
>
> On Nov 21, 2017, at 9:46 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>
> Hi Vunda,
>
> Look for a file called catalina.out, probably in your logs folder under
> Tomcat.
>
> Knut
>
> On Tue, Nov 21, 2017 at 5:25 PM, vunda limbe <vundalon@xxxxxxxxx> wrote:
>
>> Hi ramon,
>>
>> I only find this in my tomcat folder
>>
>> On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta <
>> dhis2@xxxxxxxxxxx> wrote:
>>
>>> in your logs there's only the OK saying DHIS2 started. Try to get the
>>> log at the time of the error (tail -f while reproducing the error)
>>>
>>> 2017-11-21 10:37 GMT+01:00 vunda limbe <vundalon@xxxxxxxxx>:
>>>
>>>> Hi Knut,
>>>>
>>>> Attached the logs.
>>>>
>>>> Thanks.
>>>>
>>>> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>>
>>>>> Hello Vunda,
>>>>>
>>>>> Whenever you get a 500 Internal Server Error, you have too look at
>>>>> (and probrobably share) your Tomcat server log, which should contain more
>>>>> interesting error messages.
>>>>>
>>>>> Regards,
>>>>> Knut
>>>>>
>>>>>
>>>>> On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe <vundalon@xxxxxxxxx> wro
>>>>> te:
>>>>>
>>>>>> Hi Everybody,
>>>>>>
>>>>>> When I try to export meta data in both json or xml, I'm getting this
>>>>>> message: "
>>>>>>
>>>>>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
>>>>>>
>>>>>> Could someone tell me how to fix this? Alternativly, someone can give me a script in order to export dataelement, COC, CO and Dataset using Web Api.
>>>>>>
>>>>>> Your help is welcome.
>>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Knut Staring
>>>>> Dept. of Informatics, University of Oslo
>>>>> Norway: +4791880522 <+47%20918%2080%20522>
>>>>> Skype: knutstar
>>>>> http://dhis2.org
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>
>
>
> --
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office:     +41 22 791 3683 <+41%2022%20791%2036%2083>
> Mobile 1: +33 6 4434 2931 <+33%206%2044%2034%2029%2031>
> Mobile 2: +47 9188 0522
> Skype:     knutstar
> _______________________________________________
> 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
>
>
>

Attachment: dhis.log
Description: Binary data


References