Mount doesn't upload any files from Google Drive

What is the problem you are having with rclone?

When trying to mount files from the Google Drive (the folder contains a lot of data for reference), none of the files get uploaded ,and the terminal freezes. The Google Drive folder that I'm trying to upload is also a root.

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.2

  • os/version: darwin 13.3.1 (64 bit)
  • os/kernel: 22.4.0 (x86_64)
  • os/type: darwin
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: dynamic
  • go/tags: cmount

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:DIMENOVELS-2PART/Batch-7 /Users/techassistant/Documents/GoogleDrive/Batch7 --vfs-cache-mode=writes -vv --allow-other 

The rclone config contents with secrets removed.

type = drive
scope = drive
token = {"access_token":"[REMOVED]"}
team_drive = 
root_folder_id = [REMOVED]
shared_with_me = true
client_id = [REMOVED]
client_secret = [REMOVED]

A log from the command with the -vv flag

2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=04
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=01
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Getxattr: name="com.apple.FinderInfo"
2023/05/26 09:53:33 DEBUG : /: >Getxattr: errc=-78, value=""
2023/05/26 09:53:33 DEBUG : /: Access: mask=00
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=00
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Statfs: 
2023/05/26 09:53:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 09:53:33 DEBUG : /: Statfs: 
2023/05/26 09:53:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 09:53:33 DEBUG : /: Statfs: 
2023/05/26 09:53:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 09:53:33 DEBUG : /: Statfs: 
2023/05/26 09:53:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 09:53:33 DEBUG : /: Statfs: 
2023/05/26 09:53:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=00
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=00
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Statfs: 
2023/05/26 09:53:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=01
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:53:33 DEBUG : /: Access: mask=00
2023/05/26 09:53:33 DEBUG : /: >Access: errc=0
2023/05/26 09:54:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 09:54:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 09:55:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 09:55:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 09:56:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 09:56:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 09:57:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 09:57:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 09:58:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 09:58:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 09:59:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 09:59:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:00:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:00:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:01:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:01:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:02:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:02:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:03:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:03:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:04:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:04:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:05:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:05:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:06:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:06:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:07:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:07:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:07:52 DEBUG : /: Statfs: 
2023/05/26 10:07:52 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/26 10:08:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote
2023/05/26 10:08:33 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/05/26 10:09:33 DEBUG : Google drive root 'DIMENOVELS-2PART/Batch-7': Checking for changes on remote

Look at similar topics:

For the start based on the above start with:

  1. as per rclone docs, you need to create your own client id.
    It is strongly recommended to use your own client ID as the default rclone ID is heavily used

  2. add --fast-list to your mount command

  3. add --daemon-timeout 15min parameter to your mount command - you can increase it or even try to turn off --daemon-timeout 0

Fast list does nothing on a mount.

Thx for calirification. Have been using it for ages.

well. rclone became quite capable but also complex thing. Not always easy to stay on top of all commands and switches.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.