Onedrive for business re-copying files


#1

Since a few days I have noticed that Rclone does not work properly with O4B.
Using Rclone 1.38 (linux) and 1.40 (windows) to move some files from local disk to OneDrive for business account.
The source file is 1byte in size. Name “a7”.

rclone move /media/usb/test/ one:/video/test/ -vv --stats=5s --checksum

Transferred: 1 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 10.7s
Transferring:

  • a7

2018/04/15 15:08:45 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2018/04/15 15:08:45 DEBUG : pacer: low level retry 1/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:46 DEBUG : pacer: Rate limited, increasing sleep to 40ms
2018/04/15 15:08:46 DEBUG : pacer: low level retry 2/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:47 DEBUG : pacer: Rate limited, increasing sleep to 80ms
2018/04/15 15:08:47 DEBUG : pacer: low level retry 3/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:48 DEBUG : pacer: Rate limited, increasing sleep to 160ms
2018/04/15 15:08:48 DEBUG : pacer: low level retry 4/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:49 INFO :
Transferred: 1 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 15.7s
Transferring:

  • a7

2018/04/15 15:08:50 DEBUG : pacer: Rate limited, increasing sleep to 320ms
2018/04/15 15:08:50 DEBUG : pacer: low level retry 5/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:51 DEBUG : pacer: Rate limited, increasing sleep to 640ms
2018/04/15 15:08:51 DEBUG : pacer: low level retry 6/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:53 DEBUG : pacer: Rate limited, increasing sleep to 1.28s
2018/04/15 15:08:53 DEBUG : pacer: low level retry 7/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:08:54 INFO :
Transferred: 1 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 20.7s
Transferring:

  • a7

2018/04/15 15:10:29 DEBUG : pacer: low level retry 2/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:10:31 DEBUG : pacer: low level retry 3/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:10:33 DEBUG : pacer: low level retry 4/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:10:34 INFO :
Transferred: 6 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 2m0.7s
Transferring:

  • a7

2018/04/15 15:10:35 DEBUG : pacer: low level retry 5/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:10:37 DEBUG : pacer: low level retry 6/10 (error generalException: An unspecified error has occurred.)
2018/04/15 15:10:39 INFO :
Transferred: 6 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 2m5.7s
Transferring:

  • a7

Generally the file was copied so I interrupt the action Rclone (Ctrl-C). Then I reiterate the original command. Rclone successfully completes the task by removing the file "a7 " from the local disk.

2018/04/15 15:19:42 DEBUG : a7: Size of src and dst objects identical
2018/04/15 15:19:42 DEBUG : a7: Unchanged skipping
2018/04/15 15:19:42 INFO : a7: Deleted
2018/04/15 15:19:42 INFO : One drive root ‘video/niemagister’: Waiting for checks to finish
2018/04/15 15:19:42 INFO : One drive root ‘video/niemagister’: Waiting for transfers to finish
2018/04/15 15:19:42 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 2
Transferred: 0
Elapsed time: 9.3s

2018/04/15 15:19:42 DEBUG : Go routines at exit 6


#2

I think this is https://github.com/ncw/rclone/issues/2248 which is under active investigation at the moment.

Microsoft appear to have changed something!


#3

You were right. It was related to Microsoft. Fortunately, they fixed it quickly and everything works fine.