Dropbox polling interval stuck to 5mins

What is the problem you are having with rclone?

The dropbox mount will only check for changes every 5 mins, no matter how small the poll-interval flag is set. I've tried with Latest Beta as well as the official release version and both are getting same result. Tried on Debian and Windows, and both are behaving same. It was working fine 2-3 days ago.

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

rclone v1.60.1

  • os/version: debian 10.13 (64 bit)
  • os/kernel: 4.19.0-22-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.3
  • go/linking: static
  • go/tags: none

Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
-->

Yes

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

Dropbox Business

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

rclone mount dropboxfull8: /home/rikuddo/Stuff/MountTest3 -vvv --poll-interval=35s

The rclone config contents with secrets removed.

[dropboxfull8]
type = dropbox
token = {"access_token":"REMOVED","token_type":"bearer","refresh_token":"REMOVED","expiry":"2022-11-19T23:33:13.566828394+01:00"}

A log from the command with the -vv flag

rikuddo@theia:~$ rclone mount dropboxfull8: /home/rikuddo/Stuff/MountTest3 -vvv --poll-interval=35s
2022/11/19 19:19:25 DEBUG : rclone: Version "v1.60.1" starting with parameters ["rclone" "mount" "dropboxfull8:" "/home/rikuddo/Stuff/MountTest3" "-vvv" "--poll-interval=35s"]
2022/11/19 19:19:25 DEBUG : Creating backend with remote "dropboxfull8:"
2022/11/19 19:19:25 DEBUG : Using config file from "/home/rikuddo/.config/rclone/rclone.conf"
2022/11/19 19:19:25 DEBUG : Dropbox root '': Mounting on "/home/rikuddo/Stuff/MountTest3"
2022/11/19 19:19:25 DEBUG : : Root:
2022/11/19 19:19:25 DEBUG : : >Root: node=/, err=<nil>
2022/11/19 19:19:42 DEBUG : /: Attr:
2022/11/19 19:19:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2022/11/19 19:20:00 DEBUG : Dropbox root '': Checking for changes on remote
2022/11/19 19:25:01 DEBUG : Dropbox root '': Checking for changes on remote
2022/11/19 19:30:21 DEBUG : Dropbox root '': Checking for changes on remote

Known issue:

Sorry, is there any way to manually trigger it after a set interval?

I have mounted my dropbox with MergerFS, and point my Plex to MergerFS for scanning. If that helps in any way.

I've also noticed another issue. I was using these flags for streaming,

rclone mount dropboxfull8: %h/Stuff/Mount \
  --config %h/.config/rclone/rclone.conf \
  --use-mmap \
  --poll-interval=40s \
  --dir-cache-time 1000h \
  --vfs-cache-mode full \
  --vfs-read-chunk-size=64M \
  --vfs-read-chunk-size-limit=256M \
  --vfs-cache-max-age=1h \
  --vfs-cache-max-size=15G \
  --buffer-size=256M \
  --fast-list \
  --tpslimit 10 

They were working fine, but now even though the -vvv says that 'Checking for changes on remote' it doesn't update anything on the mount. Even if I manually upload the files to the dropbox.

But if I just use,

rclone mount dropboxfull8: /home/rikuddo/Stuff/MountTest3 -vvv --poll-interval=35s

It updates the mount after 5 mins.

Nope as it's a bug as noted by the issue.

You'd have to wait for it to get fixed.

Thank you, I'll wait. Just one last question, do you have any idea what's stopping rclone from updating cache when I run this one

rclone mount dropboxfull8: %h/Stuff/Mount \
  --config %h/.config/rclone/rclone.conf \
  --use-mmap \
  --poll-interval=40s \
  --dir-cache-time 1000h \
  --vfs-cache-mode full \
  --vfs-read-chunk-size=64M \
  --vfs-read-chunk-size-limit=256M \
  --vfs-cache-max-age=1h \
  --vfs-cache-max-size=15G \
  --buffer-size=256M \
  --fast-list \
  --tpslimit 10 

But when I just use this, it updates the cache after 5 mins without any issue.

rclone mount dropboxfull8: /home/rikuddo/Stuff/MountTest3 -vvv --poll-interval=35s

Regardless of what you set, it will poll for updates every 5 minutes.

Does nothing on a mount so you can remove it.

I'm saying it is polling, but the mount isn't being updated with changes when I use the first mount commands.

The second (more simpler one) seems to work fine and the changes are updated accordingly.

Sorry, have no idea what you are asking at this point then.

If you can share a log, that might explain something.

Sorry, I'll try to be more elaborate.

  1. I mount dropbox with,
    rclone mount dropbox14: J: -vvv --poll-interval=1m
    Then I go to dropbox and upload a file (via browser) '314191131_421634036804319_3412788638428369420_n.mp4'.
    After 5 mins, it checks for changes on remote. And then the file appear in the mount.
    Here's the log of that, Rclone_Mount- WORKING

  2. I mount the same dropbox, but this time with additional args (which I use for plex streaming),

rclone mount dropbox14: J: -vvv --poll-interval=1mt \
  --config %h/.config/rclone/rclone.conf \
  --use-mmap \
  --poll-interval=40s \
  --dir-cache-time 1000h \
  --vfs-cache-mode full \
  --vfs-read-chunk-size=64M \
  --vfs-read-chunk-size-limit=256M \
  --vfs-cache-max-age=1h \
  --vfs-cache-max-size=15G \
  --buffer-size=256M \
  --tpslimit 10 

Again same scenario, upload the same file and wait for 5 mins. The message appear about 'checking for changes'. But even after 2-3 mins, the video doesn't appear in the mounted drive.
Here's the log of that, Rclone_Mount- NOT WORKING

I hope that explain my issue.

So that’s back to the open issue I linked.

I think it is working properly.

From the issue

However I think the dropbox poller works a little differently to the drive poller and will only return when there are changes, or at the time limit. So you should find that when files are changing on the dropbox remote you get more frequent updates.

That is what I see anyway, about 2 seconds after I change a file on dropbox, I see:

2022/05/31 12:02:19 DEBUG : Dropbox root '': Checking for changes on remote

Alright, here's a weird thing that's actually working.

When I had my folders in structure ---> videos(18)/Movies/.... it wasn't reading the changes.
But as soon as I added a folder and put the 'Movies' folder inside that one, i-e videos(18)/Multimedia/Movies/

it (the polling) started to work perfectly fine again. I don't why or how, but that seems to work for me now. So I'm sticking to this solution.

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