Rclone do not refresh folder after upload content in website

What is the problem you are having with rclone?

I use 2 remote mounts.
In one I can mount and upload files in the web browser and I will see that in the mounted folder
In another, I can't see the files on the mounted remote if I make changes in the web browser.

I'm refreshing via --rc vfs/refresh, it works fine, but it's manual.

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.1-DEV

  • os/version: gentoo 2.13 (64 bit)
  • os/kernel: 5.15.112-gentoo (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.5
  • go/linking: dynamic
  • 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 mount remote: /folder/ --dir-cache-time 500h --vfs-cache-max-size 600G --vfs-cache-mode full --vfs-fast-fingerprint --vfs-cache-max-age 500h --default-time 2023-01-01 --tpslimit 12 --tpslimit-burst 0 --include-from include.txt --log-file log.txt --log-level DEBUG --rc

The rclone config contents with secrets removed.

type = dropbox
client_id = 
client_secret = 
token = {"access_token":""}

A log from the command with the -vv flag

2023/08/13 23:09:30 DEBUG : : changeNotify: relativePath="Folder1/File1.mkv", type=1
2023/08/13 23:09:30 DEBUG : : >changeNotify: 
2023/08/13 23:09:30 DEBUG : : changeNotify: relativePath="Folder1", type=1
2023/08/13 23:09:30 DEBUG : : invalidating directory cache
2023/08/13 23:09:30 DEBUG : : >changeNotify: 
2023/08/13 23:09:30 DEBUG : Dropbox root 'Container': Checking for changes on remote
2023/08/13 23:09:32 DEBUG : : changeNotify: relativePath="Movies/Folder1", type=0
2023/08/13 23:09:32 DEBUG : : >changeNotify: 
2023/08/13 23:09:32 DEBUG : : changeNotify: relativePath="Movies/Folder1/File1.mkv", type=1
2023/08/13 23:09:32 DEBUG : : >changeNotify: 

2023/08/13 23:09:34 DEBUG : rc: "vfs/refresh": with parameters map[dir:Movies recursive:true]
2023/08/13 23:09:45 DEBUG : Movies: Reading directory tree done in 10.55772468s
2023/08/13 23:09:45 DEBUG : rc: "vfs/refresh": reply map[result:map[Movies:OK]]: <nil>

As you use the same drpbox remote IMO polling changes are only picked up by one mount.

I think there are two options here:

--dir-cache-time 500h

decrease this time to default 5 min or less

create two different remotes in your rclone.config file using different client_id/client_secret and use them for your mounts.

I am using two different remotes with differents client IDs and secret keys (two apps).

I will try reduce dir cache

Removed --dir-cache-time 500h and it worked.

1 Like

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