Recommendations with mount command for use with Dropbox and Plex?

What is the problem you are having with rclone?

Since moving to Dropbox, and the latest rclone version I've been hit with tons of buffering in Plex when streaming. I previously had zero issues with my Google Drive mount.
I'm wondering if my mount command just isn't optimized for use with Dropbox, vs Google Drive, or if there's generally any improvements I could make with additional flags, etc.

Possibly unrelated but when I start a stream in Plex rclone begins to download the file from Dropbox (can see the bandwidth spike with bmon as well as the transfer listed with rclone rc core/stats), even if the file is in the vfs cache. Which seems a bit weird.

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

rclone v1.62.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-71-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none

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

Dropbox

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

/usr/bin/rclone mount \
        --allow-other \
        --vfs-cache-mode full\
        --poll-interval 15s \
        --dir-cache-time 720h \
        --cache-tmp-upload-path /home/rclone_cache \
        --cache-dir /home/rclone_cache \
        --cache-tmp-wait-time 60m \
        --vfs-cache-max-size 800G \
        --vfs-read-ahead 1G \
        --vfs-read-chunk-size 32M \
        --vfs-read-chunk-size-limit 256M \
        --buffer-size 1024M \
        --bwlimit 10M:off \
        --log-file /var/log/rclone/rclone.log \
        --log-level DEBUG \
        dropbox-crypt: /mnt/media \
        --user-agent="[REDACTED]" \
        --rc

The rclone config contents with secrets removed.

[dropbox]
type = dropbox
token = {"access_token":"REDACTED","expiry":"2023-06-09T19:59:12.733910207Z"}
client_id = REDACTED
client_secret = REDACTED

[dropbox-crypt]
type = crypt
remote = dropbox:crypt
filename_encryption = standard
directory_name_encryption = true
password = REDACTED
password2 =

Unfortunately I have only just added log-file and log-level to my mount command and I wasn't historically logging any data, so I can't give any log files as yet. Will upload once I've collected some data.

Have a look at this beautiful example which works perfectly:

The key with dropbox is to limit API calls to avoid them throttling very aggressively. All is included in this example.

And to have client_id/client_secret for every rclone instance you run. On this my advice is to create client_id/client_secret and then make dropbox remote config from scratch. I think a lot of people make mistake by connecting to dropbox and adding these parameters later. Then I do not think they work. Indicator that all is as it should be is not see rclone logo and name on dropbox authentication page but name of you application.

1 Like

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