You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Copying/moving files to ownCloud through document provider does not work if app folders are not created #2662
Remove all the folders related to ownCloud from your internal storage.
Install ownCloud app.
Open Files/Downloads app.
Select a bunch of files from internal storage or Images section.
Tap three dots button and select copy or move to an ownCloud account.
Environment data
Android version: 8.1.0
Device model: Nexus 5X
Stock or customized system: Stock
ownCloud app version: 2.12
Android logs
2019-09-18 13:40:01.584 24792-24855/com.owncloud.android.debug E/DatabaseUtils: Writing exception to parcel
android.os.ParcelableException: java.io.FileNotFoundException: File -1 not found
at android.provider.DocumentsProvider.call(DocumentsProvider.java:951)
at android.content.ContentProvider$Transport.call(ContentProvider.java:401)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:272)
at android.os.Binder.execTransact(Binder.java:697)
Caused by: java.io.FileNotFoundException: File -1 not found
at com.owncloud.android.providers.DocumentsStorageProvider.getFileByIdOrException(DocumentsStorageProvider.kt:516)
at com.owncloud.android.providers.DocumentsStorageProvider.deleteDocument(DocumentsStorageProvider.kt:332)
at android.provider.DocumentsProvider.callUnchecked(DocumentsProvider.java:1046)
at android.provider.DocumentsProvider.call(DocumentsProvider.java:949)
at android.content.ContentProvider$Transport.call(ContentProvider.java:401)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:272)
at android.os.Binder.execTransact(Binder.java:697)
The cause of this problem is that the document providers needs to have a temporal folder in external storage to copy/move files and that folder is not currently created till we download something from the ownCloud app.
changed the title [-][BUG] Copying/Moving files to ownCloud through document provider does not work if app folders are not created[/-][+][BUG] Copying/moving files to ownCloud through document provider does not work if app folders are not created[/+]on Sep 18, 2019
🤖 Automated issue triage by Claude Code review agent.
This issue was opened before 2020 and has had no activity since then, so we are
closing it as outdated. If this is still relevant on a current ownCloud release,
please reopen (or open a fresh issue) with up-to-date details — thank you!
Activity
[-][BUG] Copying/Moving files to ownCloud through document provider does not work if app folders are not created[/-][+][BUG] Copying/moving files to ownCloud through document provider does not work if app folders are not created[/+]DeepDiver1975 commentedon Jun 26, 2026
🤖 Automated issue triage by Claude Code review agent.
This issue was opened before 2020 and has had no activity since then, so we are
closing it as outdated. If this is still relevant on a current ownCloud release,
please reopen (or open a fresh issue) with up-to-date details — thank you!
jesmrec commentedon Jul 1, 2026
Still reproducible