rclone: Cannot copy OneDrive shared directory

What is your rclone version (eg output from rclone -V)

Tried with v1.35 and v1.35-151-g1d42a34β

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 14.04 64 bit

Which cloud storage system are you using? (eg Google Drive)

OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

There is only one directory on my remote drive, TheirSharedDir, which I added to my drive after it was shared with me. Attempting to list the directories gives an empty result:

$ rclone lsd MyOneDrive:

However, the directory does appear as a file:

$ rclone ls MyOneDrive:
        0 TheirSharedDir

Attempting to copy from remote to my local machine throws the following error:

% rclone copy -vv MyOneDrive: /home/jacob/backup
2017/03/02 14:44:37 DEBUG : rclone: Version "v1.35-151-g1d42a34β" starting with parameters ["rclone" "copy" "-vv" "MyOneDrive:" "/home/jacob/backup"]
2017/03/02 14:44:37 INFO  : Local file system at /home/jacob/backup: Modify window is 1s
2017/03/02 14:44:37 DEBUG : One drive root '': Reading ""
2017/03/02 14:44:37 DEBUG : One drive root '': Finished reading ""
2017/03/02 14:44:37 INFO  : Local file system at /home/jacob/backup: Waiting for checks to finish
2017/03/02 14:44:37 INFO  : Local file system at /home/jacob/backup: Waiting for transfers to finish
2017/03/02 14:44:38 ERROR : TheirSharedDir: Failed to copy: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.
2017/03/02 14:44:38 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.
2017/03/02 14:44:38 DEBUG : One drive root '': Reading ""
2017/03/02 14:44:38 DEBUG : One drive root '': Finished reading ""
2017/03/02 14:44:38 INFO  : Local file system at /home/jacob/backup: Waiting for checks to finish
2017/03/02 14:44:38 INFO  : Local file system at /home/jacob/backup: Waiting for transfers to finish
2017/03/02 14:44:38 ERROR : TheirSharedDir: Failed to copy: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.
2017/03/02 14:44:38 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.
2017/03/02 14:44:38 DEBUG : One drive root '': Reading ""
2017/03/02 14:44:38 DEBUG : One drive root '': Finished reading ""
2017/03/02 14:44:38 INFO  : Local file system at /home/jacob/backup: Waiting for checks to finish
2017/03/02 14:44:38 INFO  : Local file system at /home/jacob/backup: Waiting for transfers to finish
2017/03/02 14:44:38 ERROR : TheirSharedDir: Failed to copy: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.
2017/03/02 14:44:38 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.
2017/03/02 14:44:38 Failed to copy: failed to open source object: itemNotFound: The specified item does not exist, or does not have content.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 19 (9 by maintainers)

Most upvoted comments

This is now done thanks to @yonjah 😃

https://beta.rclone.org/v1.42-031-gb1bd17a2/ (uploaded in 15-30 mins)

This will be in the latest beta from now on and 1.43.

Would anyone like to help with this?

@saisimha I just ran sync on the remote folders and missing local files were deleted with no issues. If you still have this issue a log would be useful

I think I found a bug. While using sync files are not being deleted on the shared folders

@ncw @yonjah

@ncw any update on this this is really a big limiting factor to rclone usage 😦

😟😭😭😭

On Mon, Apr 30, 2018 at 1:51 PM Nick Craig-Wood notifications@github.com wrote:

@saisimha https://github.com/saisimha no, not yet - sorry!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ncw/rclone/issues/1200#issuecomment-385337208, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGWErmerLSg4lB-DUVaAjKFOWF6UMm_ks5ttslzgaJpZM4MRowZ .

– Thanks & Regards Simha

@saisimha no, not yet - sorry!

@olihey do you fancy taking this one? The way we did this with drive was to add another flag

  --drive-shared-with-me                Only show files that are shared with me

But that might not be the best approach here.