Closed Discostu36 closed 3 years ago
This seems to be an Android internal problem as the database could not be read. I tried to reproduce it on different phones and there were no problems :/
Can you retry it?
I can reproduce on my phone. This time nothing seemed to happen when I clicked on Delete Data and the error occurred when opening the app the next time.
Is that not working as designed? On my Samsung it explicitly states that deleting data does exactly that: it deletes all of the apps settings and files. The error message given above states that the SQLite database has vanished (no such file or directory), which it will do if you delete it.
There is also the option of deleting cache but the OP explicitly states using the "delete data" function.
Maybe in the backend of the app everything is working as designed, but the end user should not be confronted with a SQL error
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
Steps to reproduce
Log
**** CAUSE OF ERROR ****
android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database - SQLITE_READONLY_DBMOVED (Sqlite code 1032 SQLITE_READONLY_DBMOVED), (OS error - 2:No such file or directory) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:875) at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:776) at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:66) at android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1785) at android.database.sqlite.SQLiteDatabase.update(SQLiteDatabase.java:1726) at com.owncloud.android.providers.FileContentProvider.update(FileContentProvider.java:647) at com.owncloud.android.providers.FileContentProvider.update(FileContentProvider.java:629) at android.content.ContentProvider$Transport.update(ContentProvider.java:448) at android.content.ContentResolver.update(ContentResolver.java:2031) at com.owncloud.android.datamodel.UploadsStorageManager.updateUpload(UploadsStorageManager.java:131) at com.owncloud.android.datamodel.UploadsStorageManager.updateUploadInternal(UploadsStorageManager.java:173) at com.owncloud.android.datamodel.UploadsStorageManager.updateUploadStatus(UploadsStorageManager.java:208) at com.owncloud.android.datamodel.UploadsStorageManager.updateDatabaseUploadResult(UploadsStorageManager.java:579) at com.owncloud.android.files.services.FileUploader.uploadFile(FileUploader.java:661) at com.owncloud.android.files.services.FileUploader$ServiceHandler.handleMessage(FileUploader.java:1421) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:219) at android.os.HandlerThread.run(HandlerThread.java:67)
**** APP INFORMATION **** ID: com.nextcloud.client Version: 30160190 Build flavor: gplay
**** DEVICE INFORMATION **** Brand: HUAWEI Device: HWELE Model: ELE-L09 Id: HUAWEIELE-L09 Product: ELE-L09EEA
**** FIRMWARE **** SDK: 29 Release: 10 Incremental: 10.1.0.150C431