-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file is not a database: , while compiling: select count(*) from sqlite_master; #906
Comments
Same issue here |
@Layth17 thank you for commenting can you share more steps to reproduce maybe.
Any other information that might be helpful to debug or reproduce this issue. |
Hello @yogeshpaliyal , sorry for the delay.
When I first updated the app, it was strange because it prompted me to enter a new password and confirm (as if it is creating a new account). I went along with it though I was hoping it would read the local database of passwords that I have at some point. But afterwards, it prompted me to sign in, and it kept crashing whenever I would attempt to do so. The error log is identical to the above, but I can try to reproduce it in a moment and attach. Do you happen to know where I could find the db of passwords locally on my phone? I have searched for it for quite some time but could not find anything. |
What phone are you using? Is this slow, mid range or high end device? |
Also approx how many passwords you were having on your device? |
it is a google pixel 9. hmm, it is hard to recall, but approx a little short of 20 |
|
Finally able to repro the crash, would fix this and would rollout a new version as soon as possible. This happens if you have changed the password length from settings in older apps. Trying to figure out the exact cause yet. @Layth17 thanks a lot for the help 🙏🏼🙏🏼🙏🏼 |
I am not sure what this statement "This happens if you have changed the password length from settings in older apps." means. Did I change my password length without realizing? Also, appreciate your support and time on this issue! Do ping me when the new version is out and I will be sure to test it! Thanks |
Sure, Here is how you can replicate it
|
Fixed in |
I don't want to change the way I am managing the app since it could cause data loss. So, it seems that I would have to wait until F-droid makes the new version available. |
Sorry, but you have to reinstall the app to work properly from new version onwards, because there is no way to fix the the crash, because when we updating from 1.4.30 to 1.4.34 the local storage password resets, so we are not able to open the database, even after 1.4.35 we will bot be able to recover the old password, i will think today if somehow we can retrieve the old password. |
Forgive me if the question is silly, but I want to clarify: Are you saying that: upon the update from 1.4.30 to 1.4.34, the local storage db of passwords has been reset to empty? (i.e. basically wiping the db of passwords clean?) OR, are you saying that the very action of resetting the password has wiped the db clean? OR, something else? For the record, I do know the old password and I know my current password. As far as I understand, If I am able to locate the db locally on my phone, then I should be at least capable of backing it up and performing further investigations from there. But, I don't know how to find the db locally. Would you know where to find it? Uninstalling the app (and installing the new version) sounds like the easiest way to get any shred of data that has remained locally gone forever :) |
The problem is that the db password is random string generated if there is no db password. Why db password and app password? |
Describe the bug
Error Stack
We were not seeing this issue in v1.4.28 but getting in v1.4.29 and there is no changes releated to DB, sqlcipher, room, etc.
Here is the change logs from v1.4.28 → v1.4.29 1
Here is my SqlCipher file where I am initiating the DB. AppModule.kt
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: