I recently switched to mounts of team drives mounted with service accounts and now my mounts are no longer automatically detecting changes. if I use rc to refresh them then the new files will show up
I can see from the log:
Google drive root '': Checking for changes on remote
that rclone is checking for changes, but should the Google drive root
be empty?
(I am not using vfs-cache-mode full)
Is there something obvious I am missing or need to remove?
Using rclone v1.53.1
running on ubuntu 18.04
Storage system: Google Drive
rclone mount teamDrive: /home/mounts/teamDrive \
--allow-other \
--drive-server-side-across-configs \
--dir-cache-time 1000h \
--log-level DEBUG \
--log-file /home/logs/teamDrive \
--poll-interval 15s \
--umask 002 \
--user-agent fubar \
--vfs-cache-mode writes \
--cache-dir=/home/_rcloneData/_cache \
--vfs-cache-max-size 75G \
--vfs-cache-max-age 336h \
--rc \
--rc-addr=localhost:5304 \
--use-mmap &
The rclone config contents with secrets removed.
[teamDrive]
type = drive
scope = drive
server_side_across_configs = true
service_account_file = /home/service/teamDrive.json
root_folder_id = 0AFXG4t3LJJmkFEfrR
(I just added team_drive = 0AFXG4t3LJJmkFEfrR
to my config, but as I had to remount it will have found any new files now so will need to wait until I add more to see if it made any difference, the log still shows Google drive root
as empty)
Snippet of log files
2020/10/12 15:31:19 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:19 DEBUG : Google drive root '': Checking for changes on remote
2020/10/12 15:31:20 DEBUG : : Statfs:
2020/10/12 15:31:20 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:21 DEBUG : : Statfs:
2020/10/12 15:31:21 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:22 DEBUG : : Statfs:
2020/10/12 15:31:22 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:23 DEBUG : : Statfs:
2020/10/12 15:31:23 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:24 DEBUG : : Statfs:
2020/10/12 15:31:24 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:25 DEBUG : : Statfs:
2020/10/12 15:31:25 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:26 DEBUG : : Statfs:
2020/10/12 15:31:26 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:27 DEBUG : : Statfs:
2020/10/12 15:31:27 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3932160 Bavail:3932160 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2020/10/12 15:31:28 DEBUG : : Statfs:
Thanks