[Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Rishi
Hi Alex, I did export a couple of weeks ago the metadata from the Sierra Leone demo Server (which at that time was 2.19) and imported it into 2.18 on my machine (which worked) and tried it also with 2.19 which failed. I tried today again to export metadata from the Sierra Leone demo server now

Re: [Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Alex Tumwesigye
Rishi, Is data coming from a 2.19 instance or lower instance? Why don't try this: Import metadata into 2.18 (which you said it works), then upgrade to 2.19 (make sure you run the script provided for upgrade), then export metadata. Use the metadata exported from 2.19 and import it into a new 2.19

[Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Rishi
HI Alex, It Is a unique constraint violation, I assume on inserting data from the metadata import, which is strange cause the database is empty. See below the translation error 2015... .Duplicate key violation of the unique constraint«uk_pbj3u1nk9vnuof8f47utvowmv» Detail: The key alrea

Re: [Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Alex Tumwesigye
Dear Rishi, This is the error: * ERROR 2015-07-24 11:14:49,033 ERROR: llave duplicada viola restricción de unicidad «uk_pbj3u1nk9vnuof8f47utvowmv» Detail: Ya existe la llave (name)=(default). (SqlExceptionHelper.java [taskScheduler-1]) Translate to English for me. Alex On Fri, Jul 24, 201

[Dhis2-devs] [Bug 1477565] Re: Meta data Import fails with "Validation Violations: [ValidationViolation{property='version', message='Invalid range for value [0, 255], value is 422', value=422}]"

2015-07-24 Thread Alex Tumwesigye
The version field in the dataset table allows range between 0 - 255. Yet the version can be more than 255. #section from dataset hbm.xml file Length is default to 255 for integer Quick fix: Open the Exported file and change the version to an integer less than 255 , sav

[Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Rishi
Hereby the dhis.log Alex ** Attachment added: "dhis.log" https://bugs.launchpad.net/dhis2/+bug/1474419/+attachment/4433530/+files/dhis.log -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1474419

[Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Rishi
And the Catalina.log ** Attachment added: "Catalina log (from the tomcat log folder)" https://bugs.launchpad.net/dhis2/+bug/1474419/+attachment/4433533/+files/catalina.2015-07-24.log -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to D

Re: [Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Alex Tumwesigye
Dear Rishi, Please send the catalina.out or the dhis.log locates in the DHIS2_HOME which you configured for versions 2.19 and above. Alex On Fri, Jul 24, 2015 at 12:43 PM, Rishi wrote: > And stderror log , this one doesn't contain the errors (stdout contains > them see previous message) > > **

[Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Rishi
And stderror log , this one doesn't contain the errors (stdout contains them see previous message) ** Attachment added: "stderror - seems not useful to me" https://bugs.launchpad.net/dhis2/+bug/1474419/+attachment/4433491/+files/tomcat7-stderr.2015-07-24.log -- You received this bug notific

[Dhis2-devs] [Bug 1474419] Re: metadata import into empty db in 2.19 dhis2 fails

2015-07-24 Thread Rishi
Hi Morton, Hereby the error log. I did it this time with versión 2.20, problem seems to manifest itself the same in the User Interface. I include the stdout log file this contains in the end some ERRORS and Warnings related to the import. Some background (ignore when short of time) "Why import i