Hey,
Our ODK upgrade on our production machine failed to upgrade the data and looks like we have lost all our data. Just like what is stated in this issue.
After much experiment and deliberation, we attempted to upgrade our ODK from 1.5 to the latest:
https://odk.staging.eastafricacoffee.org/version.txt
versions:
63cfab894cd619a703a1a38a00756f864e58b42b (v1.5.2-3-g63cfab8)
3078965dc8ad86b34944476d0dd84475487d44ab client (v1.5.2)
12568c504151c919b11c9962dd3ef866cebbd0e7 server (v1.5.1)
We ran the upgrade following the steps and looks like we have the same problem. The upgrade was successful, but the data was not migrated.
We made changes in configuration files:
modified: docker-compose.yml
modified: enketo.dockerfile
modified: files/service/config.json.template
The postgres version migration was successful, but it said 'no old data found' And we lost all our data.
We have a full-backup via /v1/backup end point as a zip file.
We also have the cache files enketo-cache.rdb and enketo-main.rdb
Before we did the migration, we also downloaded all the forms and submissions through the odk UI.
we may have missed out on some configuration stuff or may have added some extra configurations.
Is there any way in which we can run the migration ensuring that the postgres data is migrated.
Any help will be appreciated. Our ODK in production is down.
Thanks
Prabhakar