rClone mount not updated if a change occurs in BOX Cloud

Hello guys

What is the problem you are having with rclone?

I have been working on a project to have rClone as a cloud storage solution with BOX.
It successfully worked for all expected results except the last one: I want to simulate a file modification on the server that is actually wrong (and by configuration uploaded to BOX): then I would use versioning in BOX to restore a previous correct version.

While versioning works perfectly from rClone on Server > BOX, it does not work from BOX > rClone mount.

What I tested (waited 10min even though command shall update in 60s)

  1. Waited 10 minutes ==> file in rClone mount NOT updated
  2. Deleted "wrong" file in /TMP_BOX/vfs/... and waited 10 min ==> file in rClone mount NOT updated
  3. Restarted server with rClone command above ==> ==> file in rClone mount WAS updated

What is your rclone version (output from rclone version)

rclone v1.54.1

  • os/arch: linux/amd64
  • go version: go1.15.8

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

CentOS Linux release 7.9.2009 (Core) - 64 bit

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


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

rclone mount BOX:"folder_in_box" /mnt/box
--vfs-cache-mode full 
--vfs-cache-max-size 30G 
--vfs-write-back 10s 
--vfs-cache-max-age 72h 
--vfs-cache-poll-interval 60s 
--poll-interval 60s 
--cache-dir /TMP_BOX 
--vfs-read-chunk-size 64M 

The rclone config contents with secrets removed.

type = box
box_sub_type = user
token = {"access_token":"token_goes_here","token_type":"bearer","refresh_token":"refresh_goes_here","expiry":"2021-08-10T11:53:55.990294975+08:00"}


Checking if someone has a clue about this?

hello and welcome to the forum,

  • please update rclone to latest stable and test again.
  • --network-mode is for windows, not linux
  • the clue would most likely be in the rclone debug log...


I was not able to run latest version 1.56 (rclone stays stuck and does not give me the prompt back)
So I updated to:
rclone v1.55.1

  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.3
  • go/linking: static
  • go/tags: none

Here is what I have in the logs (changed the folder names)
2021/08/11 12:57:45 INFO : box root 'folder/subfolder': poll-interval is not supported by this remote
2021/08/11 12:57:45 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

Is it a known fact that BOX does not support this feature?

Yes, Box isn't a polling remote. You have to wait for changes based on your dir-cache-time.

you can force rclone to update the dir cache on demand.

  • add --rc to the rclone mount command

  • update the dir cache by running
    rclone rc vfs/refresh recursive=true

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