-
Notifications
You must be signed in to change notification settings - Fork 496
Ursache 9002 "file ist not a database, sqlite" #579
Comments
Issue was also mentioned for beta 11, but closed. |
Contact details are not lost, they're stored by Google's API. |
Thanks for your issue! Could you give us a detailed explanation of what you did in the App and when you installed the App. Also it would be interesting to know if you have any security software running on your device that could potentially trigger a reinstatiation of the Android Master Key. Did you maybe do a device reset or anything in that direction that could trigger that? |
Installed official version yesterday afternoon (16.06.), checked a few times to see how it behaves after cleaning cache. Next morning the issue, |
Okay, thanks for the explanation. From our side, we cannot reproduce, unfortunately. We would kindly ask you to reinstall the application and see if the issue persists the day after installation (so that you can show that the issue persists). |
@Ritzelprimpf can you give context information regarding device, root (if applicable), installation context, installation duration and process of installation? |
Also, could both of you try the following:
|
Device: Honor 10 Reinstalling the App does seem to fix the problem. It it fails again I will let you know. |
Just reporting that I've been having the exact same problem (Huawei P8, Android 6.0). What I did was install the app, open it, and activate exposure logging - worked fine on the first run, when I opened it again a couple of hours later it started back at the welcome screen and eventually ran into the error. Reopening the app did not fix it, but it looks like reinstalling did. |
Maybe for some Context: The only way this error occurs and that we have seen it occur, is if the read of the encrypted database failed. I am concerned that your devices alter the database file or had problems initializing the password during the first installation. If this is the case, we will have to gather more information about the context of installation as we cannot reproduce otherwise. |
So far so good. After reinstallaton yesterday, today first status. |
Hi again, After investigating more deeply into the issue, we cannot deduce a reliable error source and thus cannot reproduce. Unless we have more information regarding resolution of this issue, I will have to close this with the remark that a reinstall will fix the issue as a workaround. I am sorry for the inconvenience, but since we have no dedicated crash reporting and can only rely on user feedback and device setups, this will have to be stalled until we have more information. Edit: As a matter of fact, reinstalling will NOT definitively solve the problem. I incentivise to look into #642 for further updates on the issue. We are still investigating on this topic. |
@jakobmoellersap Maybe you should not close this as won't fix and just wait whether people can reproduce it with more information. If you say you cannot reproduce, this may be because you're not using the same phone with the same OS version? Also, the problems seem to have appeared only after some time - did you also wait for that long? Closing issues and adding "wontfix" discourages the community from trying to reproduce the problem and provide better information as evidenced in this comment #642 (comment) Dear maintainers, this may be another example of non-helpful premature closure of issues. Maybe it's time for an issue-closure-policy. I will add the hashtag #IssueClosurePolicy for now so that I can find these issues again later in case I file an issue where they could serve as examples. |
Isn't it pointless that this issue gets closed just to be reopened somewhere else because someone else encounters the same error? |
Yes, it needs a few more days without error, before one can say that a new installaton is a satisfying solution. At least it seems to happen many times. |
You are correct. Please refer to my edited comment above. |
This android-database-sqlcipher is crap, I observed it one year ago |
Hi @helmutweick , @Ritzelprimpf , @vvye , it's quite a while since you reported this bug: As far as I know, the root source for this exception is not known yet. Did you ever use or ever enable PrivateSpace for your phone, or might it have been preconfigured to be active when you bought it? Are you still using CWA, with the newest version 1.2.0? If yes, is the error still persisting for you? Or is it gone? A reply to these questions may help to get an idea, if PrivateSpace might be related to the issue you experienced. Thanks very much in advance, kind regards, |
I hadn't heard of it before, and I can't find any mention of it on my device. If it's active by default, I don't know how to tell.
My current experience is this:
Because I had to reinstall it just now (see above), I do have version 1.2.0. By "the app is working", I mean it displays my protection status and tells me how long it has been active. I haven't gotten any warnings or any indication that things were being logged yet. Thanks for investigating this! |
Hi @vvye , thanks for replying! Thanks to your feedback and of others, initial hints actually don't point to the feature PrivateSpace. If the problems are solved with Android 9.1 or 10, my guess is, that upto Android 8 there was a special Java-implementation of security/OpenSSL from Huawei / Honor related Android, that was not complient to the standards. But let's wait some time for more feedback. Kind regards, V. |
Hi @vvye , can you check if CWA is a 'geschützte App' for your device, like described here: #642 (comment) |
Hi @jakobmoellersap , Edit: that would also explain why the error is popping up intermittently |
Just checked, and yes, it already is. I have a tendency of completely closing apps by swiping them away on the list of open apps (if that makes sense), so maybe that's the problem? It doesn't seem likely since it wouldn't explain why the error comes up only every few days, but just to be sure I'll be keeping the app fully open now. Thanks for being on it! |
Hi @vvye , I think it's definitively worth a try to leave it open and not swipe it away. |
I have the same issue on a Sony Xperia XZ2 I switched to airplane mode several times, don't know if this is relevant. |
Hi @jnhmn
if your phone follows a restrictive energy saving policy when switching to airplane mode, then I'd say, yes, there may be a chance that it caused it. But just a guess, though. I'd recommend to delete CWA's data and cache. If you don't have a pending COVID-test, you'd should not loose anything important by deleting these, just time of exposure logging being active is not accurate anymore. App should open properly after deleting cache and data. |
Hi @jnhmn , one additional question: have you also been affected by issue #597 more or less shortly before error '9002: file is not a database' appeared on your device? Your response may help to locate the source of the problem '9002: file is not... ' more precisely. Thanks in advance for your reply. Kind regards! |
https://github.com/commonsguy/cwac-saferoom uses the same https://github.com/sqlcipher/android-database-sqlcipher like you do |
@vaubaehn No, I wasn't affected by the bug mentioned in issue 597 Reinstalling the app solved my problem and since then it didn't occur a second time |
Next day after installation, data base seems corupted, over night without
direct user inteference.
App started new with setting activation and permissions. Then error message:
"Ursache 9002
file ist not a database", while compiling select count(*) from sqlite_master"
Sorry, no detailed error due to lack of screenshot.
Result: cannot run app, crashes.
Can reinstall and run app but then contact data are also lost.
Huawei H60 with Android 6.0, Google Play Services 6.04, not rooted
Never had problems with file corruption.
The text was updated successfully, but these errors were encountered: