Rclone copyto OneDrive - ressource not found

Hello everyone

I encountered an issue while using the copyto command. I'm currently running a machine with Ubuntu 18.04.2 LTS with rclone 1.47. The problem is the files from Microsoft Office, which i edited. I can create and upload these files without a problem. The problem occurs when i want to upload the changed files to the SharePoint library with the following command.

rclone copyto -vv ~/SharePointGruppen/Test2/ test:

The upload doesn't work anymore, the log of the run:

2019/05/21 13:02:40 DEBUG : rclone: Version "v1.47.0" starting with parameters ["rclone" "copyto" "-vv" "/home/timm/SharePointGruppen/Test2/" "test:"]
2019/05/21 13:02:40 DEBUG : Using config file from "/home/timm/.config/rclone/rclone.conf"
2019/05/21 13:02:41 INFO : One drive root '': Waiting for checks to finish
2019/05/21 13:02:41 DEBUG : Dokument.docx: Sizes differ (src 13644 vs dst 16851)
2019/05/21 13:02:41 DEBUG : Bildschirmfoto von 2019-05-14 13-27-54.png: Size and modification time the same (differ by -481.563ms, within tolerance 1s)
2019/05/21 13:02:41 DEBUG : Bildschirmfoto von 2019-05-14 13-27-54.png: Unchanged skipping
2019/05/21 13:02:41 INFO : One drive root '': Waiting for transfers to finish
2019/05/21 13:02:41 DEBUG : Dokument.docx: Starting multipart upload
2019/05/21 13:02:43 DEBUG : Dokument.docx: Uploading segment 0/13644 size 13644
2019/05/21 13:02:44 DEBUG : Dokument.docx: Error encountered during upload: itemNotFound: The resource could not be found.
2019/05/21 13:02:44 DEBUG : Dokument.docx: Cancelling multipart upload
2019/05/21 13:02:45 NOTICE: Dokument.docx: Failed to cancel multipart upload: itemNotFound: The resource could not be found.
2019/05/21 13:02:45 ERROR : Dokument.docx: Failed to copy: itemNotFound: The resource could not be found.
2019/05/21 13:02:45 ERROR : Attempt 1/3 failed with 2 errors and: itemNotFound: The resource could not be found.
2019/05/21 13:02:45 DEBUG : Bildschirmfoto von 2019-05-14 13-27-54.png: Size and modification time the same (differ by -481.563ms, within tolerance 1s)
2019/05/21 13:02:45 DEBUG : Bildschirmfoto von 2019-05-14 13-27-54.png: Unchanged skipping
2019/05/21 13:02:45 DEBUG : Dokument.docx: Sizes differ (src 13644 vs dst 16851)
2019/05/21 13:02:45 INFO : One drive root '': Waiting for checks to finish
2019/05/21 13:02:45 INFO : One drive root '': Waiting for transfers to finish
2019/05/21 13:02:45 DEBUG : Dokument.docx: Starting multipart upload
2019/05/21 13:02:46 DEBUG : Dokument.docx: Uploading segment 0/13644 size 13644
2019/05/21 13:02:47 DEBUG : Dokument.docx: Error encountered during upload: itemNotFound: The resource could not be found.
2019/05/21 13:02:47 DEBUG : Dokument.docx: Cancelling multipart upload
2019/05/21 13:02:48 NOTICE: Dokument.docx: Failed to cancel multipart upload: itemNotFound: The resource could not be found.
2019/05/21 13:02:48 ERROR : Dokument.docx: Failed to copy: itemNotFound: The resource could not be found.
2019/05/21 13:02:48 ERROR : Attempt 2/3 failed with 2 errors and: itemNotFound: The resource could not be found.
2019/05/21 13:02:48 DEBUG : Bildschirmfoto von 2019-05-14 13-27-54.png: Size and modification time the same (differ by -481.563ms, within tolerance 1s)
2019/05/21 13:02:48 DEBUG : Dokument.docx: Sizes differ (src 13644 vs dst 16851)
2019/05/21 13:02:48 DEBUG : Bildschirmfoto von 2019-05-14 13-27-54.png: Unchanged skipping
2019/05/21 13:02:48 INFO : One drive root '': Waiting for checks to finish
2019/05/21 13:02:48 INFO : One drive root '': Waiting for transfers to finish
2019/05/21 13:02:48 DEBUG : Dokument.docx: Starting multipart upload
2019/05/21 13:02:51 DEBUG : Dokument.docx: Uploading segment 0/13644 size 13644
2019/05/21 13:02:52 DEBUG : Dokument.docx: Error encountered during upload: itemNotFound: The resource could not be found.
2019/05/21 13:02:52 DEBUG : Dokument.docx: Cancelling multipart upload
2019/05/21 13:02:52 NOTICE: Dokument.docx: Failed to cancel multipart upload: itemNotFound: The resource could not be found.
2019/05/21 13:02:52 ERROR : Dokument.docx: Failed to copy: itemNotFound: The resource could not be found.
2019/05/21 13:02:52 ERROR : Attempt 3/3 failed with 2 errors and: itemNotFound: The resource could not be found.
2019/05/21 13:02:52 Failed to copyto: itemNotFound: The resource could not be found.

I tried --ignore-size, but to no avail, the error persists. Does anyone of you have an idea, what the problem may be and how i can fix it? Thanks in advance.

That is a strange error! Can you try again with the latest beta and if it still doesn't work then please make a new issue on github - thanks!

Thanks for the answer, just tried the beta but the bug still persists. I will open up a new issue on github.

1 Like