Repository navigation
Open
Description
Updated: 2020-08-10
Steps to reproduce
- Login with two different accounts in the ownCloud app.
- Open Files app or other app supporting the document provider.
- Select an ownCloud account from the side menu.
- Long press a folder with subfolders and files inside and press copy/move to in the three-dots menu.
- Select a different ownCloud account as destination to copy/move the files.
Actual behaviour
- Folder, subfolders and containing files are not totally copied. Sometimes some items are missing, other times the operation is not performed. Behaviour is not stable
Expected behaviour
- Folder, subfolders and containing files are properly copied.
Environment data
Android version: 11
Device model: Pixel2 Android11, Nexus6P Android 7
ownCloud app version: f911f01
ownCloud Android app log
2021-08-10 16:56:12.162 29439-30091/com.owncloud.android.debug E/DatabaseUtils: Writing exception to parcel
android.os.ParcelableException: java.io.FileNotFoundException: Remote Operation failed
at android.provider.DocumentsProvider.call(DocumentsProvider.java:1069)
at android.content.ContentProvider.call(ContentProvider.java:2448)
at android.content.ContentProvider$Transport.call(ContentProvider.java:517)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:295)
at android.os.Binder.execTransactInternal(Binder.java:1154)
at android.os.Binder.execTransact(Binder.java:1123)
Caused by: java.io.FileNotFoundException: Remote Operation failed
at com.owncloud.android.providers.DocumentsStorageProvider.checkOperationResult(DocumentsStorageProvider.kt:404)
at com.owncloud.android.providers.DocumentsStorageProvider.deleteDocument(DocumentsStorageProvider.kt:333)
at android.provider.DocumentsProvider.callUnchecked(DocumentsProvider.java:1170)
at android.provider.DocumentsProvider.call(DocumentsProvider.java:1067)
at android.content.ContentProvider.call(ContentProvider.java:2448)
at android.content.ContentProvider$Transport.call(ContentProvider.java:517)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:295)
at android.os.Binder.execTransactInternal(Binder.java:1154)
at android.os.Binder.execTransact(Binder.java:1123)
2021-08-10 16:56:12.163 29404-30083/? E/CopyJob: Failed to copy content://org.owncloud.documents/document/6
com.android.documentsui.services.ResourceException: Failed to delete file content://org.owncloud.documents/document/6 due to an exception.
at com.android.documentsui.services.Job.deleteDocument(Job.java:290)
at com.android.documentsui.services.MoveJob.processDocument(MoveJob.java:186)
at com.android.documentsui.services.CopyJob.processDocumentThenUpdateProgress(CopyJob.java:386)
at com.android.documentsui.services.CopyJob.start(CopyJob.java:243)
at com.android.documentsui.services.Job.run(Job.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.io.FileNotFoundException: Remote Operation failed
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.os.ParcelableException.readFromParcel(ParcelableException.java:56)
at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:82)
at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:79)
at android.os.Parcel.readParcelable(Parcel.java:3281)
at android.os.Parcel.createExceptionOrNull(Parcel.java:2368)
at android.os.Parcel.createException(Parcel.java:2357)
at android.os.Parcel.readException(Parcel.java:2340)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.call(ContentProviderNative.java:732)
at android.content.ContentProviderClient.call(ContentProviderClient.java:603)
at android.content.ContentResolver.call(ContentResolver.java:2395)
at android.provider.DocumentsContract.deleteDocument(DocumentsContract.java:1460)
at com.android.documentsui.services.Job.deleteDocument(Job.java:281)
at com.android.documentsui.services.MoveJob.processDocument(MoveJob.java:186)
at com.android.documentsui.services.CopyJob.processDocumentThenUpdateProgress(CopyJob.java:386)
at com.android.documentsui.services.CopyJob.start(CopyJob.java:243)
at com.android.documentsui.services.Job.run(Job.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
2021-08-10 16:56:12.172 29404-29404/? E/FileOperationService: Job failed to process docs: [DocumentInfo{docId=6, userId=0, name=Images, mimeType=vnd.android.document/directory, isContainer=true, isDirectory=true, isArchive=false, isInArchive=false, isPartial=false, isVirtual=false, isDeleteSupported=true, isCreateSupported=true, isMoveSupported=true, isRenameSupported=true, isMetadataSupported=false, isBlockedFromTree=false} @ content://org.owncloud.documents/document/6].
Activity
[-][BUG] Copy a folder with subfolders to different accounts doesn't work as expected[/-][+][BUG] Copy a folder with subfolders to a different oC account using the document provider doesn't work as expected[/+][-][BUG] Copy a folder with subfolders to a different oC account using the document provider doesn't work as expected[/-][+][BUG] Copy/Move a folder with subfolders to a different oC account using the document provider doesn't work as expected[/+][-][BUG] Copy/Move a folder with subfolders to a different oC account using the document provider doesn't work as expected[/-][+][BUG] Copy/Move a folder with content to a different oC account using the document provider doesn't work as expected[/+]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. Reopening.