corrupted data elements

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone

Hi

Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that…

···


Morten

On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thanks Morten, But we are planning to migrate to version 2.15 next month

for now in version 2.13 what would be the way to solve my problem?

Salimone

···

2014-10-03 11:57 GMT+02:00 Morten Olav Hansen mortenoh@gmail.com:

Hi

Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that…


Morten

On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

You say you can’t list the data elements… is there any errors in the log? it should show something.

···


Morten

On Fri, Oct 3, 2014 at 5:13 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Thanks Morten, But we are planning to migrate to version 2.15 next month

for now in version 2.13 what would be the way to solve my problem?

Salimone

2014-10-03 11:57 GMT+02:00 Morten Olav Hansen mortenoh@gmail.com:

Hi

Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that…


Morten

On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

If you know the UID of the data element (which seems to be the case here) , can’t you just delete it directly from the database? Be sure to refresh your cache afterwards.

DELETE FROM dataelement where uid = ‘yAuhfSERVSA’;

You might have some other constraints which you may need to get rid of one by one.

Not pretty, but might be the only way if you cannot simply delete it through the user interface.

Regards,

Jason

···

On Fri, Oct 3, 2014 at 12:17 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

You say you can’t list the data elements… is there any errors in the log? it should show something.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049


Morten

On Fri, Oct 3, 2014 at 5:13 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Thanks Morten, But we are planning to migrate to version 2.15 next month

for now in version 2.13 what would be the way to solve my problem?

Salimone

2014-10-03 11:57 GMT+02:00 Morten Olav Hansen mortenoh@gmail.com:

Hi

Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that…


Morten

On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thanks Jason, it solved my problem

Regard
Salimone

···

2014-10-03 12:53 GMT+02:00 Jason Pickering jason.p.pickering@gmail.com:

If you know the UID of the data element (which seems to be the case here) , can’t you just delete it directly from the database? Be sure to refresh your cache afterwards.

DELETE FROM dataelement where uid = ‘yAuhfSERVSA’;

You might have some other constraints which you may need to get rid of one by one.

Not pretty, but might be the only way if you cannot simply delete it through the user interface.

Regards,

Jason

On Fri, Oct 3, 2014 at 12:17 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

You say you can’t list the data elements… is there any errors in the log? it should show something.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049


Morten

On Fri, Oct 3, 2014 at 5:13 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Thanks Morten, But we are planning to migrate to version 2.15 next month

for now in version 2.13 what would be the way to solve my problem?

Salimone

2014-10-03 11:57 GMT+02:00 Morten Olav Hansen mortenoh@gmail.com:

Hi

Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that…


Morten

On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Good that you resolved it. Was there anything in the log? maybe something we can fix, so it doesn’t happen again.

···


Morten

On Fri, Oct 3, 2014 at 7:10 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Thanks Jason, it solved my problem

Regard
Salimone

2014-10-03 12:53 GMT+02:00 Jason Pickering jason.p.pickering@gmail.com:

If you know the UID of the data element (which seems to be the case here) , can’t you just delete it directly from the database? Be sure to refresh your cache afterwards.

DELETE FROM dataelement where uid = ‘yAuhfSERVSA’;

You might have some other constraints which you may need to get rid of one by one.

Not pretty, but might be the only way if you cannot simply delete it through the user interface.

Regards,

Jason

On Fri, Oct 3, 2014 at 12:17 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

You say you can’t list the data elements… is there any errors in the log? it should show something.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049


Morten

On Fri, Oct 3, 2014 at 5:13 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Thanks Morten, But we are planning to migrate to version 2.15 next month

for now in version 2.13 what would be the way to solve my problem?

Salimone

2014-10-03 11:57 GMT+02:00 Morten Olav Hansen mortenoh@gmail.com:

Hi

Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that…


Morten

On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume snhancume@gmail.com wrote:

Hi team;

My DHIS2 does not load the list of Available data elements when i what to Edit any DataSet. i think that i have some corrupted data elements.

I tried to delete this data elements from DHIS but it does not accept

I tried also from Ubuntu terminal using this code: curl -X DELETE -u xxxxx:yyyyy “http://54.83.47.166/api/dataElements/yAuhfSERVSA but i have the following error:

**Apache Tomcat/7.0.26 - Error report

HTTP Status 405 - Request method ‘DELETE’ not supported


type Status report

message Request method ‘DELETE’ not supported

description The specified HTTP method is not allowed for the requested resource (Request method ‘DELETE’ not supported).


Apache Tomcat/7.0.26

user@ICAP-3GVB05J-SN:~$**I

I’m using DHIS version 2.13

can anyone help me to solve this problem?

Salimone


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp