Skip to content
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

Cannot use SD card #5667

Closed
stroudmw opened this issue Mar 16, 2020 · 5 comments
Closed

Cannot use SD card #5667

stroudmw opened this issue Mar 16, 2020 · 5 comments
Labels
bug needs info Waiting for info from user(s). Issues with this label will auto-stale. stale

Comments

@stroudmw
Copy link

I have a Samsung Galaxy S4, and am running Nextcloud Android app version 3.10.1 and Android 5.0.1. My Nextcloud server is on a Debian 10 linux platform and I installed Nextcloud using snap. I have also tried this using a manual installation using both Nginx and Apache2, as well as Mariadb and Psotgresql (Ubuntu, Debian, Centos 7/8, and FreeBSD servers) so I don't think the issue is with my server.

When I go into the Android App, select Settings -> Storage Path. I select the option "/storage/extSdCard/Android/media/com.nextcloud.client" it comes up with" "Updating Storage Path" and "Failed during migration".

I have reinstalled the android app, and that hasn't helped. I deleted and recreated my account (so that there wouldn't be any data to migrate) and that didn't help either.

The Nextcloud Android app is not much use to me if I can't access my 32GiB external SD card.

Thank you.

@stroudmw
Copy link
Author

************ CAUSE OF ERROR ************

android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032)
at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:904)
at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
at android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1700)
at android.database.sqlite.SQLiteDatabase.update(SQLiteDatabase.java:1646)
at com.owncloud.android.providers.FileContentProvider.update(FileContentProvider.java:642)
at com.owncloud.android.providers.FileContentProvider.update(FileContentProvider.java:626)
at android.content.ContentProvider$Transport.update(ContentProvider.java:330)
at android.content.ContentResolver.update(ContentResolver.java:1343)
at com.owncloud.android.datamodel.FileDataStorageManager.saveCapabilities(FileDataStorageManager.java:1941)
at com.owncloud.android.operations.GetCapabilitiesOperation.run(GetCapabilitiesOperation.java:44)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:66)
at com.owncloud.android.operations.RefreshFolderOperation.updateCapabilities(RefreshFolderOperation.java:287)
at com.owncloud.android.operations.RefreshFolderOperation.updateOCVersion(RefreshFolderOperation.java:267)
at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:220)
at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:357)
at java.lang.Thread.run(Thread.java:818)

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100190
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: samsung
Device: ja3g
Model: GT-I9500
Id: LRX22C
Product: ja3gxx

************ FIRMWARE ************
SDK: 21
Release: 5.0.1
Incremental: I9500XXUHOH6

@j-ed
Copy link

j-ed commented Mar 16, 2020

As already written in the help forum, this problem can most likely not been solved by the App, because the underlying Android version denies direct access to the files and additionally EOS for Android 5 has been declared in November 2015.

@tobiasKaminsky tobiasKaminsky added bug needs info Waiting for info from user(s). Issues with this label will auto-stale. labels Mar 18, 2020
@tobiasKaminsky
Copy link
Member

Yeah, for some reason the app is not allowed to write onto external sd card.
I fear that we cannot do much here… :-(

@stale
Copy link

stale bot commented Apr 15, 2020

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!

@stale stale bot added the stale label Apr 15, 2020
@stale stale bot closed this as completed Apr 29, 2020
@Keilaron
Copy link

This relates to #5610 and #5946 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs info Waiting for info from user(s). Issues with this label will auto-stale. stale
Projects
None yet
Development

No branches or pull requests

4 participants