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

2017-12-01 Thread Adebusoye Anifalaje
Hi Vunda,

From the log you extracted, it seems like you have a duplicate UID in your org 
unit. You can check this from sqlview to identify the org units and investigate 
how this happened.


 ERROR 2017-11-16 13:33:15,502 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-10])
org.springframework.dao.DuplicateKeyException: StatementCallback; SQL [create 
unique index in_orgunitstructure_organisationunituid_riWJM on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
at 
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
Caused by: org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
* ERROR 2017-11-16 13:34:00,013 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-9])
at com.sun.proxy.$Proxy76.sendSystemErrorNotification(Unknown Source)
at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
* INFO  2017-11-16 18:04:00,569 [Level: ERROR, category: RESOURCETABLE_UPDATE, 
time: Thu Nov 16 18:04:00 WAT 2017, message: Process failed: StatementCallback; 
SQL [create unique index in_orgunitstructure_organisationunituid_ptMI8 on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
* ERROR 2017-11-16 18:04:01,388 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-6])
org.springframework.dao.DuplicateKeyException: StatementCallback; SQL [create 
unique index in_orgunitstructure_organisationunituid_ptMI8 on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 1 Dec 2017, at 10:43, vunda limbe  wrote:
> 
> Hi Isaiah,
> 
> Thank you for your help, but I'm a newbie in Web API even in Restfull. I need 
> step by step to apply the script you sent me.
> Could you help?
> 
> Thanks.
> 
> On Wed, Nov 22, 2017 at 6:47 PM, Isaiah Nyabuto  > wrote:
> Hi Vunda,
> 
> I hope you were sorted out ?
> 
> You may also want to have look the following script 
>  on web APIs with dhis2 I once did. 
> You only need to construct a URL and change the credentials and you are good 
> to go. 
> 
> Best regards
> 
> 
> 
> 
> 
> 
> 
> On Fri, Nov 17, 2017 at 3:57 PM, vunda limbe  > 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 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> -- 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs 
> 
> Post to : dhis2-devs@lists.launchpad.net 
> 

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

2017-12-01 Thread vunda limbe
Hi Isaiah,

Thank you for your help, but I'm a newbie in Web API even in Restfull. I
need step by step to apply the script you sent me.
Could you help?

Thanks.

On Wed, Nov 22, 2017 at 6:47 PM, Isaiah Nyabuto 
wrote:

> Hi Vunda,
>
> I hope you were sorted out ?
>
> You may also want to have look the following script
>  on web APIs with dhis2 I once
> did. You only need to construct a URL and change the credentials and you
> are good to go.
>
> Best regards
>
>
>
>
>
>
>
> On Fri, Nov 17, 2017 at 3:57 PM, vunda limbe  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
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-21 Thread Dan Cocos
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
dco...@baosystems.com | http://www.baosystems.com |  2900 K Street, Suite 406, 
Washington D.C. 20007


> On Nov 21, 2017, at 9:46 AM, Knut Staring  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  > 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 
> mailto:dh...@pomareta.ch>> 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  >:
> Hi Knut,
> 
> Attached the logs.
> 
> Thanks.
> 
> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  > 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  > 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 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> -- 
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 
> Skype: knutstar
> http://dhis2.org 
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> 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
> Mobile 1: +33 6 4434 2931
> Mobile 2: +47 9188 0522 
> Skype: knutstar
> ___
> Mailing list: https://launchpad.net/~dhis2-devs 
> 
> Post to : dhis2-devs@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-devs 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-21 Thread Knut Staring
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  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 <
> dh...@pomareta.ch> 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 :
>>
>>> Hi Knut,
>>>
>>> Attached the logs.
>>>
>>> Thanks.
>>>
>>> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  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 
 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
> Post to : dhis2-us...@lists.launchpad.net
> 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-us...@lists.launchpad.net
>>> 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
Mobile 1: +33 6 4434 2931
Mobile 2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-21 Thread vunda limbe
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 <
dh...@pomareta.ch> 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 :
>
>> Hi Knut,
>>
>> Attached the logs.
>>
>> Thanks.
>>
>> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  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  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
 Post to : dhis2-us...@lists.launchpad.net
 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-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:48 +0100] "GET /dhis HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:48 +0100] "GET /dhis/ HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:49 +0100] "GET 
/dhis/dhis-web-commons-about/redirect.action HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:52 +0100] "GET 
/dhis/dhis-web-commons/security/login.action HTTP/1.1" 200 4716
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:55 +0100] "GET 
/dhis/api/staticContent/logo_front HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:09 +0100] "POST 
/dhis/dhis-web-commons-security/login.action HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:10 +0100] "GET 
/dhis/dhis-web-commons-about/redirect.action HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:11 +0100] "GET 
/dhis/dhis-web-dashboard-integration/index.action HTTP/1.1" 200 21427
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:14 +0100] "GET 
/dhis/dhis-web-commons/i18nJavaScript.action?_rev=47dcc06 HTTP/1.1" 200 7076
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:24 +0100] "GET 
/dhis/api/staticContent/logo_banner HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "POST /dhis/api/i18n HTTP/1.1" 
200 1803
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/me/authorization HTTP/1.1" 304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET /dhis/api/apps HTTP/1.1" 
304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/me/user-account.json?_=1511266884945 HTTP/1.1" 200 240
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET /dhis/api/userSettings 
HTTP/1.1" 200 321
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET /dhis/api/system/info 
HTTP/1.1" 200 1309
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/system/info.json HTTP/1.1" 200 1309
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,userCredentials%5B:all,!user,userRoles%5Bid%5D
 HTTP/1.1" 200 1202
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/dashboards.json?fields=id,displayName&paging=false&links=false&_=1511266885492
 HTTP/1.1" 200 569
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/dhis-web-commons/oust/clearSelectedOrganisationUnits.action HTTP/1.1" 200 
118
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET 
/dhis/dhis-web-commons/oust/getExpandedTree.action?_=1511266885845 HTTP/1.1" 
200 170
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET 
/dhis/api/systemSettings/helpPageLink HTTP/1.1" 304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET 
/dhis/dhis-web-commons/menu/getModules.action HTTP/1.1" 200 5621
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "POST /dhis/api/i18n HTTP/1.1" 
200 1022
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET /dhis/api/systemSettings 
HTTP/1.1" 200 3523
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:28 +0100] "GET 
/dhis/api/userSettings/keyStyle HTTP/1.1" 304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:28 +0100] "GET 
/dhis/api/dashboards/YQBJ6ZJq5YE?fields=:all,dashboardItems[:all,reports[id,displayName],chart[id,displayName],map[id,dis

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

2017-11-21 Thread Ramón José Jiménez Pomareta
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 :

> Hi Knut,
>
> Attached the logs.
>
> Thanks.
>
> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  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  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
>>> Post to : dhis2-us...@lists.launchpad.net
>>> 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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-21 Thread vunda limbe
Hi Knut,

Attached the logs.

Thanks.

On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  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  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
>> Post to : dhis2-us...@lists.launchpad.net
>> 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
>


catalina.2017-11-17.log
Description: Binary data


localhost.2017-11-17.log
Description: Binary data
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-17 Thread Knut Staring
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  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
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp