dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #04284
Re: A series of (Hibernate-related?) errors when attempting to create new data elements
Hi,
Are you using postgres or mysql ?
* ERROR 2014-04-08 18:40:57,093 ERROR: duplicate key value violates unique
constraint "dataelement_pkey"
Detail: Key (dataelementid)=(2045) already exists.
(SqlExceptionHelper.java [http-bio-80-exec-1])
--
Morten
On Wed, Apr 9, 2014 at 2:09 AM, D. Cenk Erdil <dcerdil@xxxxxxxxx> wrote:
> Hello,
>
> We have upgraded several DHIS instances from earlier versions (2.0.X 2.4,
> and 2.7) to 2.13/2.14 recently.
>
> Some of the new instances are not letting our users create new data
> elements with "an error occurred" message on the front-end.
>
> Catalina output is attached from one instance.
>
> Basically, when you click on "Data Elements" and then "Add New" to enter a
> name and click on create button, you get a series of errors triggered on
> the backend.
>
> Each DHIS restart increases the ID that's causing the error (i.e., 2045 to
> 2046 to 2047)
>
> Based on my understanding, it seems to be a hibernate-related caching
> issue, but I could not manage to get it to resolve.
>
> Any help is appreciated.
>
> --
> -Cenk.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References