ibrigadir / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Attempting to upgrade from Aggregate 1.4.2 to 1.4.4 and I am getting errors "Form definition incomplete or missing" #1093

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1.Using tomcat/mysql setup with 1.4.2
2.Swap out the old 1.4.2 war file with new generated 1.4.4 war file

What is the expected output? What do you see instead?
No old data is viewable and the main submission page is not viewable for old 
surveys. New ones subsequent to the upgrade appear fine. I keep getting the 
error  "Form definition incomplete or missing". From the mysql query log it 
appears aggregate is trying to recreate the core data tables that already exist 
and this causes an error. Why is it trying to recreate the data tables?

I noted in the upgrade instructions that you should "delete all ODK Tables data 
tables". If this means I need to clear out all the old data -- that is not a 
tenable solution because the data is used. I looked through the schemas for the 
core tables and did not see any differences out side some new tables which get 
created. How can I maintain my old data after updating to 1.4.4? If need be I 
can write transformation scripts for the old data so that it can be transferred 
-- bu I am hoping I do not need to do that.

Thank you,
Daniel

Original issue reported on code.google.com by dalasag...@gmail.com on 2 Dec 2014 at 12:23