-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
DefaultFolderProvider crash #5434
Comments
No. Every account has its own Outbox. If you're getting this exception it means there's also no Inbox folder. So I'm guessing something went wrong during the upgrade process. |
@rancidfrog: Do you run a debug build or have a rooted device? Then you could grab the database files and provide more insights into what has happened. |
Thanks. If something goes wrong during the migration we recreate the database. In that case no Outbox folder is created. That explains the crash. I'm not yet sure what's the best way to fix this. It's great that you have a backup of the old database files. If you have some free time on your hands I could send you a debug version of K-9 Mail that crashes when upgrading the database fails. That way we could find out what caused the migration to fail (although it might be too late for most affected users because their database has already been reset). |
@cketti |
The debug build is using a different application ID. So it can be installed parallel to the release version. |
@cketti But, then how does it check migration issues? What I thought the process would be,
|
Right, sorry. I was thinking:
|
@cketti |
The files from the backup that originally existed under |
The migration to the new version also failed for me.
|
So, Let me know if it logged what you need. |
@rancidfrog: Did you copy the database files from your 5.600 backup? It doesn't look like the app is running the database migrations. |
@cketti Do I need to update to a specific version and try again? |
That explains it. K-9 Mail now only supports upgrades from 5.301 and newer. When upgrading from earlier versions it will recreate the message database. |
We haven't seen this issue in our logs for quite a while. Closing for now. |
From the Google Play developer console
App version: 5.800
It shouldn't be possible to create an account without an Outbox folder, but apparently it is 😢
The text was updated successfully, but these errors were encountered: