dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #47614
Re: DHIS2 Metadata Sync error
Hi,
As per the logs, metadata sync is failing in the importer phase when trying
to import metadata.
----------
* ERROR 2016-10-24 11:44:03,758 Exception occurred while trying to import
the metadata. object references an unsaved transient instance - save the
transient instance before flushing: org.hisp.dhis.dataelement.DataElement
----------
Morten, any suggestions regarding this.
Thanks
Aamer.
On Fri, Nov 4, 2016 at 8:22 PM, Francesco Palazzini <
francesco.palazzini@xxxxxxxxxxxxxxxxxx> wrote:
> Hello DHIS team,
> we are trying the metadata sync feature but unfortunately it does not seem
> to work.
>
> Note: on our setup instance2 is going to sync from instance1
>
> What we tried so far:
> Case 1:
> - manually import metdata from a json file to instance1
> - upgrade instance1 running v2.22 to v2.24, everything went fine
> - create a 'metadata version' on instance1
> - configure instance2 to sync from instance1
> - trigger the sync with the 'sync now' button
>
> Case 2:
> - manually import metdata from a json file to instance1
> - upgrade instance1 running v2.22 to v2.24, everything went fine
> - save the dump of instance1's database
> - restore the dump of instance1's to instance2's database
> - create a 'metadata version' on instance1
> - configure instance2 to sync from instance1
> - trigger the sync with the 'sync now' button
>
> We were following this guide:
> https://dhis2.github.io/dhis2-docs/master/en/user/html/dataA
> dmin_metaDataSync.html
>
> On both cases the sync fails, error logs from instance2 attached.
>
> Any hint on how to get the metadata sync working?
>
> Thanks
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References