OneDrive Sync speed - Windows to Raspberry Pi

What is the problem you are having with rclone?

I have recently install rclone on my raspberry pi mounted to onedrive which is working well. My question is hopefully straighforward.
When I add a file to rclone on my Pi - the sync is instaneous appearing in the web client/onedrives windows application.

If I drop a file in the windows application. It takes up to 5 minutes for it to appear within rclone on the pi. Is there a way to get this to update more quickly?

What is your rclone version (output from rclone version)

rclone v1.57.0

  • os/version: raspbian 11.1
  • os/kernel: 5.10.63-v7+ (armv7l)
  • os/type: linux
  • os/arch: arm
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

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


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

rclone --vfs-cache-mode writes mount onedrive: ~/onedrive

The rclone config contents with secrets removed.

Let me know if this required. (Trying to determing if a 5 minute wait is normal and expected)

A log from the command with the -vv flag

Let me know if this required. (Trying to determing if a 5 minute wait is normal and expected)

hello and welcome to the forum,

by default, there is a five minute delay, as documented at
"changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes"

--dir-cache-time duration Time to cache directory entries for (default 5m0s)
so you can change the time duration

and there is a way force an update on demand.

perfect - many thanks! Changing this value to 1m has resolved the issue.
Thanks for the assistance.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.