Hi Bob,

Can you update the dataelement table on postgres by running an update query
and setting the  aggregationtype to 'SUM' where it is 'sum'?

UPDATE dataelement set aggregationtype = 'SUM' where aggregationtype =
'sum';

Regards,

Michael


On 22 July 2016 at 09:09, Bob Jolliffe <bobjolli...@gmail.com> wrote:

> Hi
>
> After upgrading from 2.20 to 2.21 system is failing to start with:
>
> ERROR 2016-07-22 09:01:36,593 java.lang.IllegalArgumentException:
> Unknown name value [avg_sum_org_unit] for enum class
> [org.hisp.dhis.analytics.AggregationType]
>
> This looks like one of those new enum upper case restrictions.  Does
> anyone have a quick recipe to solve?
>
> Bob
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to