What is the problem you are having with rclone?
I can successfully mount Google Drive locally and open some files, for example .pdf. But all .docx and .xlsx have size 0 bytes and type text document and cannot be opened from local mount.
What is your rclone version (output from rclone version
)
1.55.1
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Raspberry Pi OS 32 bit
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 remotePP: $HOME/mnt/GDrivePP --vfs-cache-mode >= minimal
The rclone config contents with secrets removed.
[remotePP]
type = drive
client_id = -redacted-
client_secret = -redacted-
scope = drive
token = {"access_token":"-redacted-","token_type":"Bearer","refresh_token":"-redacted-","expiry":"2021-05-17T12:28:49.584042066+01:00"}
A log from the command with the -vv
flag
2021/05/17 12:02:41 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2021/05/17 12:02:41 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "mount" "remotePP:" "/home/pi/mnt/GDrivePP" "--vfs-cache-mode" "minimal" "-vv"]
2021/05/17 12:02:41 DEBUG : Creating backend with remote "remotePP:"
2021/05/17 12:02:41 DEBUG : Google drive root '': root_folder_id = "0AHflgNV8qsz7Uk9PVA" - save this in the config to speed up startup
2021/05/17 12:02:41 DEBUG : vfs cache: root is "/home/pi/.cache/rclone/vfs/remotePP"
2021/05/17 12:02:41 DEBUG : vfs cache: metadata root is "/home/pi/.cache/rclone/vfs/remotePP"
2021/05/17 12:02:41 DEBUG : Creating backend with remote "/home/pi/.cache/rclone/vfs/remotePP"
2021/05/17 12:02:41 DEBUG : Google drive root '': Mounting on "/home/pi/mnt/GDrivePP"
2021/05/17 12:02:41 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/05/17 12:02:41 DEBUG : : Root:
2021/05/17 12:02:41 DEBUG : : >Root: node=/, err=<nil>
2021/05/17 12:02:41 DEBUG : /: Lookup: name="BDMV"
2021/05/17 12:02:42 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Lookup: name=".xdg-volume-info"
2021/05/17 12:02:42 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/05/17 12:02:42 DEBUG : /: Lookup: name="autorun.inf"
2021/05/17 12:02:42 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/05/17 12:02:42 DEBUG : /: Lookup: name=".Trash"
2021/05/17 12:02:42 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Lookup: name=".Trash-1000"
2021/05/17 12:02:42 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Attr:
2021/05/17 12:02:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/05/17 12:02:42 DEBUG : /: ReadDirAll:
2021/05/17 12:02:42 DEBUG : /: >ReadDirAll: item=32, err=<nil>
2021/05/17 12:02:42 DEBUG : /: Lookup: name="autorun.inf"
2021/05/17 12:02:42 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/05/17 12:03:41 DEBUG : Google drive root '': Checking for changes on remote
2021/05/17 12:03:41 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/05/17 12:04:41 DEBUG : Google drive root '': Checking for changes on remote
2021/05/17 12:04:41 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/05/17 12:05:41 DEBUG : Google drive root '': Checking for changes on remote
2021/05/17 12:05:41 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/05/17 12:06:41 DEBUG : Google drive root '': Checking for changes on remote
2021/05/17 12:06:41 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)