Hello Devs!! Version:2.24Build revision:57640e2 Build date:2016-11-19 04:24 Quick question, I'm trying to clear the analytics tables from dhis2 and using the command in the manual _works_ but it comes back with an error:
++ [2016-11-21 18:28:08] API URL " http://localhost:8080/api/24/maintenance/analyticsTablesClear" to be requested with "POST" ++ [2016-11-21 18:29:13] API request output: *ERROR: API request returned code 000, exiting...* This happens if I use PUT or POST. I've tried the following command as well: curl -X PUT -H -u "${DHIS_USERNAME:?}:${DHIS_PASSWORD:?}" "${DHIS_BASEURL:?}/api/24/maintenance/analyticsTablesClear" Any ideas? Ideally it would return a 200 whether the tables are there and it cleared them, or if they don't exist yet (first time using that db after a refresh from backup). *Timothy Harding* Sr. Systems Analyst, BAO Systems +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | Skype: hardi...@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
_______________________________________________ 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