on a standalone KoBo we are facing the following issue: The project has X submissions (As shown in Total: X on Summary page), but the Data tab says “you have no data”.
Investigating, when one enters a new submission, that new submission will be shown on Data tab, - only that one which can then be viewed in charts, downloaded etc. All the data from previous period (seems like from longer ago than 30 days) are unaccessible, albeit the indication in Summary page that they are really there.
Maybe MongoDB is out-of-sync with PostgreSQL.
Can you try to run this command within kobocat container: ./manage.py sync_mongo --all . It can be long if you have lots of submissions in your DB.
BTW, Your versions do not seem to be up-to-date. You may want to update to latest versions of master branch.
thanks for the suggestion. It actually runs quite quickly, listing surveys and “Instance count” of each is some number, while “Mongo count” seems to be 0 for all.
Summary at the end: Total # of forms out of sync: 284
Total # of records to remongo: 33048
It does not seem to rectify the situation, though. What else can we try?
Do you think doing an upgrade will help solve this problem? Should we do it by kobo-install $ run.py -u
Nope, it’s not the big one.
Exact. python run.py --upgrade is the correct way. Don’t forget to stop the containers first and start them after the upgrade.