What is the problem you are having with rclone?
I am trying to mount google drive. The mounting works fine with the 'rclone-browser', but fails via command line with the error:
Failed to create file system for "remote:DriveRemote": didn't find section in config file
I even tried to list the files using ls
or lsd
, both terminate with the same error.
What is your rclone version (output from rclone version
)
rclone v1.56.2
- os/version: arch 21.1.6 (64 bit)
- os/kernel: 5.14.10-1-MANJARO (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.1
- go/linking: dynamic
- 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
)
rclone mount remote:DriveRemote /home/Documents/drivemount
or
rclone ls remote:DriveRemote
The rclone config contents with secrets removed.
[DriveRemote]
type = drive
client_id = Redacted
client_secret = Redacted
scope = drive
token = {Redacted}
A log from the command with the -vv
flag
rclone lsd remote:DriveRemote -vv
2021/11/11 15:30:40 DEBUG : rclone: Version "v1.56.2" starting with parameters ["rclone" "lsd" "remote:DriveRemote" "-vv"]
2021/11/11 15:30:40 DEBUG : Creating backend with remote "remote:DriveRemote"
2021/11/11 15:30:40 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2021/11/11 15:30:40 Failed to create file system for "remote:DriveRemote": didn't find section in config file
PLEASE NOTE: The mount works fine with the rclone-browser!
And it with -vv
flag, it does show the correct location of the config file!
I just don't seem to understand what is wrong.