← Back to team overview

dhis2-devs team mailing list archive

Analytics crashed in DHIS2 Live - how do I drop H2 tables?

 

Hi all,

I’m trying to whip up a quick 2.24 prototype using (first time for me) DHIS2 Live.  However, after setting up all program metadata and entering 2 events, the second time I ran the analytics, it crashed, with an error message that includes “Table _ORGUNITSTRUCTURE_TEMP already exists”.  (Presumably the analytics didn’t tidy up after itself properly the first time it ran.)  All further attempts to run the analytics have generated the same error message.

How can I reset/clear the analytics tables?  I’ve never worked with embedded H2 databases before – is it possible to get a SQL console, so I can list and drop the offending temp tables?  (I’m using the vanilla DHIS2 Live download in an Ubuntu 14.04 VM.)

Cheers, Sam.


Follow ups