What is the problem you are having with rclone?
I've been using rclone with gdrive in a 'typical' sonarr/radarr/plex setup. I've set up a new PC for plex and am setting up the connection to gdrive on this new system. I have created a remote to gdrive, and set up the mount, I can see and access the files on the remote, yet the logs are filled with this error.
Command mount needs 2 arguments minimum: you provided 0 non flag arguments: []
I have also apparently hit my quota as evidenced by this error (and that playback on plex stopped when this error popped up)
022/03/09 09:46:28 ERROR : TV/Adult/BoJack Horseman (2014) [imdb-tt3398228]/Season 01/BoJack Horseman (2014) - S01E05 - Live Fast Diane Nguyen [NF WEBDL-1080p][AC3 5.1][x264]-NTb.mkv: vfs cache: failed to to download: vfs reader: failed to write to cache file: open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded
I don't think the two are related, but I'm noting for completeness. The log below is a snippet that keeps repeating
The goal is to understand and fix the first error.
Run the command 'rclone version' and share the full output of the command.
rclone v1.57.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.13.0-35-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
sudo rclone mount gdrive: /media/gdrive --allow-other --allow-non-empty --dir-cache-time 5000h --cache-dir /media/rclone/cache --log-file /media/rclone/rclone.log --log-level INFO --drive-pacer-min-sleep 10ms --drive-pacer-burst 200 --vfs-cache-mode full --vfs-cache-max-size 100G --vfs-cache-poll-interval 5m --vfs-read-ahead 2G --buffer-size 16M --umask 000 --daemon
The rclone config contents with secrets removed.
[gdrive]
type = drive
client_id = xxx.apps.googleusercontent.com
client_secret = XXX
scope = drive
token = xxx
team_drive =
A log from the command with the -vv
flag
Usage:
rclone mount remote:path /path/to/mountpoint [flags]
Flags:
--allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
--allow-other Allow access to other users (not supported on Windows)
--allow-root Allow access to root user (not supported on Windows)
--async-read Use asynchronous reads (not supported on Windows) (default true)
--attr-timeout duration Time for which file/directory attributes are cached (default 1s)
--daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
--daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
--daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
--debug-fuse Debug the FUSE internals - needs -v
--default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
--dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
--fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
--gid uint32 Override the gid field set by the filesystem (not supported on Windows)
-h, --help help for mount
--max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
--network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
--no-checksum Don't compare checksums on up/download
--no-modtime Don't read/write the modification time (can speed things up)
--no-seek Don't allow seeking in files
--noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
--noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
-o, --option stringArray Option for libfuse/WinFsp (repeat if required)
--poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
--read-only Mount read-only
--uid uint32 Override the uid field set by the filesystem (not supported on Windows)
--umask int Override the permission bits set by the filesystem (not supported on Windows) (default 18)
--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full (default 0)
--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
--vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
--vfs-used-is-size rclone size Use the rclone size algorithm for Used size
--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
--volname string Set the volume name (supported on Windows and OSX only)
--write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command mount needs 2 arguments minimum: you provided 0 non flag arguments: []
2022/03/09 09:46:07 INFO : TV/Adult/BoJack Horseman (2014) [imdb-tt3398228]/Season 01/BoJack Horseman (2014) - S01E02 - BoJack Hates The Troops [NF WEBDL-1080p][AC3 5.1][x264]-NTb.mkv: vfs cache: downloader: error count now 1: vfs reader: failed to write to cache file: open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded