Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Corrupted database?

The other day, all of my .json-driven apps stopped working. My device (Versa 2) and app stopped syncing, and when I got it to finally sync, all of my file space was empty. Not only that, but if I try to delete the app I created and reload it, I either get an error that I cannot load data or my settings app will not load at all wothout throwing an error. 

 

Has anyone seen this behavior or have Amy idea where to begin solving it? I lost months of migraine tracking data I'm this hiccup. So, I guess it is time to go ally buold a path to export the database going forward.

Best Answer
0 Votes
4 REPLIES 4

Hi @LekoFraggle - if an App is deleted and reinstalled it will lose all its related watch storage.

 

There are other instances where this can happen, a firmware update or factory reset may do this, or a de-synchronization between what the Fitbit App thinks is installed and what's actually installed.

 

For example, if a watch is presetup with clocks and apps and installed on a new account, the account may delete what it finds on the watch and replace it with whats defined in the account.

 

There are multiple variations of this depending on firmware level and Fitbit App level combinations. Quite hard to track down on a moving target..

Author | ch, passion for improvement.

Best Answer
0 Votes

Thank you for the info. I had assumed most of that. However, in my case the issue that required a wipe was that the device was only  partially syncing (it would sync steps but no activity, and data was not working either).

 

The more important issue is that none of the databases will build now. I think I will just uninstall amd reinstall amd make sure that I allow the apps to install a new database if one is not already present.

 

Moving forward, I think I am going to move the data online. I think this is a perfect reason to learn the webauth(). I did just begin learning Angular, so that has the potential to make for an easy back end online.

Best Answer

@LekoFraggle  - interesting, If one of your databases is corrupted you might also get a JSON parse error, or if one is missing it might cause problems

 

It would be nice if there was a backup facility of watch storage.

 

Also look at group storage or a campanion to copy data to phone or even user settings for storage. Not tried those yet.

 

Please post back if you find a good solution.

Author | ch, passion for improvement.

Best Answer
0 Votes

Thanks. I was using a settings app on the device. That is where the databases were erased. I am actually fascinated by how flexible javascript is. I cannot make a seperate app because I am thinking of releasing them and do not code for apple products.

Best Answer