Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AtomicRobotMan0101 opened this issue May 13, 2024 · 4 comments
Closed

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

AtomicRobotMan0101 opened this issue May 13, 2024 · 4 comments
Labels

Comments

@AtomicRobotMan0101
Copy link
Contributor

AtomicRobotMan0101 commented May 13, 2024

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 #2067

What is your rclone version (output from rclone version)

rclone v1.66.0

  • os/version: linuxmint 21.3 (64 bit)
  • os/kernel: 6.5.0-28-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.1
  • go/linking: static
  • go/tags: none

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
Copy link
Contributor

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
Copy link
Collaborator

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

https://forum.rclone.org

@AtomicRobotMan0101
Copy link
Contributor Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants