owntracks / OwnTracksCTRL

OwnTracks Controller
Eclipse Public License 1.0
6 stars 2 forks source link

Clear internal DB? #14

Closed jpmens closed 9 years ago

jpmens commented 9 years ago

When a user first launches CTRL and gets data, and that data is incorrect b/c, say, incorrect publish topics configured on Greenwich, etc. the only way to currently "clear" the internal database is to switch user.

What do we do with people who don't have another username? I can swipe individual entries to delete them, but they return magically even though they've been cleared broker-side by publishing null payloads.

ckrey commented 9 years ago

Change user name: E.g. if user name is 'myuser' change it to 'myuse' and back to 'myuser'.

ckrey commented 9 years ago

Deleting entries in CTRL does not clear entries broker-side.

jpmens commented 9 years ago

Of course not; I had cleared broker-side before doing so in CTRL.

ckrey commented 9 years ago

So, to clear internal database: a) delete and reinstall or b) Change user name: E.g. if user name is 'myuser' change it to 'myuse' and back to 'myuser'.