← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Meta Data Import Problem When upgrading from Version 2.13 to 2.20

 

Hi Mihayo
A copy of the log would be useful to help you but based on the list of conflicts shown in the image you included, the ignored org units are missing the opening date, check your XML and add a valid date where it's missing, here's an example:

<organisationUnit xmlns="http://dhis2.org/schema/dxf/2.0"; code="OU_222702" uuid="b1c9eff6-92e0-465b-8e33-71012171eeb2" lastUpdated="2014-11-25T08:37:53.469+0000"href="https://apps.dhis2.org/dev/api/organisationUnits/ueuQlqb8ccl"; id="ueuQlqb8ccl" level="4" created="2012-02-17T14:54:39.987+0000" name=" Panderu MCHP" shortName=" Panderu MCHP">
<displayName>Panderu MCHP</displayName>
<displayShortName>Panderu MCHP</displayShortName>
<externalAccess>false</externalAccess>
<path>/ImspTQPwCqd/kJq2mPyFEHo/KIUCimTXf8Q/ueuQlqb8ccl</path>
<openingDate>1993-12-31T23:00:00.000+0000</openingDate>
<parent id="KIUCimTXf8Q" name="Nongowa" code="OU_222690" created="2012-02-17T14:54:39.987+0000" lastUpdated="2014-11-25T08:37:53.296+0000"href="https://apps.dhis2.org/dev/api/organisationUnits/KIUCimTXf8Q"/>
</organisationUnit>



JM

El 20/08/2015, a las 16:23, Mihayo Mathayo <princehayo@xxxxxxxxx> escribió:

> Hello Team,
>  Am having a problem with upgrade of dhis2 instance from version 2.13 to 2.20.The issue am facing is on importing meta data where top level,level two and level three  OrganizationUnits are ignored but the lowest level organizations units are imported into version 2.20.
> 
> Attached screenshots gives a summary of the problem.
> 
> Any help will be highly appreciated.
> 
> Best Regards. 
> <DHIS_import.PNG><DHIS2_Conflict.PNG>_______________________________________________
> 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


References