← Back to team overview

dhis2-devs team mailing list archive

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

 

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


> 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 <mailto: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 <mailto: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 <mailto:vundalon@xxxxxxxxx>>:
> Hi Knut,
> 
> Attached the logs.
> 
> Thanks.
> 
> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring <knutst@xxxxxxxxx <mailto: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 <mailto:vundalon@xxxxxxxxx>> wrote:
> 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 <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 
> 
> 
> -- 
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 <tel:+47%20918%2080%20522>
> Skype: knutstar
> http://dhis2.org <http://dhis2.org/>
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 
> 
> 
> 
> 
> -- 
> Knut Staring
> 
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office:     +41 22 791 3683
> Mobile 1: +33 6 4434 2931
> Mobile 2: +47 9188 0522 
> Skype:     knutstar
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>

Follow ups

References