rclone / rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
https://rclone.org
MIT License
46.22k stars 4.14k forks source link

Fatal error: unknown flag: --vfs-cache-mode #7839

Closed AtomicRobotMan0101 closed 4 months ago

AtomicRobotMan0101 commented 4 months ago

What is the problem you are having with rclone?

With a Google Photos config and running rclone rcd --rc-web-gui

produces:

NOTICE: Google Photos path "": --vfs-cache-mode writes or full is recommended for this remote as it can't stream

Using the suggested --vfs-cache-mode produces Fatal error: unknown flag: --vfs-cache-mode

Continuation(?) of issue https://github.com/rclone/rclone/issues/2067

What is your rclone version (output from rclone version)

rclone v1.66.0

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

Linux Mint Cinnamon 21.3

Which cloud storage system are you using? (e.g. Google Drive)

Google Photos

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone rcd --rc-web-gui

Screenshot from 2024-05-13 18-24-09

......

2

SNIP!

3

albertony commented 4 months ago

What you tried is not valid according to documented basic syntax, as it does not specify a subcommand:

rclone --vfs-cache-mode=full

I haven't used rcd much myself, but I'm guessing the following is what you need to do, try it out:

rclone rcd --rc-web-gui --vfs-cache-mode=full
Animosity022 commented 4 months ago

For general use questions, please use the forums as well:

https://forum.rclone.org

AtomicRobotMan0101 commented 4 months ago

The erroneous suggestion is produced by the binary.

As the user, I was simply following the directive.

I shall fork and push an update when fixed.

albertony commented 4 months ago

I do not see what you mean.

When you run:

rclone rcd --rc-web-gui

It recommends:

--vfs-cache-mode writes or full is recommended for this remote as it can't stream

And blindly following that would give you correct result:

rclone rcd --rc-web-gui --vfs-cache-mode full

But maybe I missed your point. And you are, of course, free to submit a pull request if you think something can be improved.