What is the problem you are having with rclone?
I have an issue where a server side move on my mounted Gdrive is not being fully picked up by polling on other systems where I have GDrive mounted.
Scenario: I have an unlimited Gdrive which I access from three different boxes. The first is a mount on a shared seedbox, running things like Sonarr, Radarr etc, and this is where the majority of updates are done to the mount. The second is an Ubuntu VPS where I run Plex so access is largely read only (although the mount is read/write, same as the seedbox). Thirdly, I have a mount on my Windows 10 PC for ad-hoc access.
On the seedbox mount, if I do a server side move of a file (normally using Thunar file manager on an xfce desktop), all works as it should - the file appears in the destination folder and disappears from the original folder. However, on the Ubuntu VPS and the Windows client, and after the polling interval passes, the file correctly appears in the destination folder, but does NOT disappear from the orginal folder, and so seems to exist in both. This seems to continue until --dir-cache-time expires, which in my case is 24hrs. Oddly, the entry in the original folder continues to be accessable.
I have produced a debug log on the seedbox and on Windows showing the issue. On the seedbox you can see the file being moved from sub1/subsub1 to sub1/subsub2 successfully. On the Windows client you can see the change being picked up by polling, and it invalidating the cache for the local sub1\subsub2 (ie the destination folder):
2020/07/28 11:27:02 DEBUG : Google drive root 'Encrypted': Checking for changes on remote
2020/07/28 11:27:02 DEBUG : : changeNotify: relativePath="sub1/subsub2/Newfile1.txt", type=3
2020/07/28 11:27:02 DEBUG : sub1/subsub2: invalidating directory cache
2020/07/28 11:27:02 DEBUG : : >changeNotify:
However, it does not seem to invalidate the cache for the original folder, sub1/subsub1, and I'm guessing this is the problem.
I should say this is only an issue with the mount - if I do "rclone ls" on the windows sub1/subsub1 it does NOT show the file is still there, so it's obviously a problem with the mount cache not refreshing.
I should also say I also see the issue on the Ubuntu VPS server, so it's not just a Windows problem.
Hope this can be fixed
What is your rclone version (output from rclone version
)
Seedbox: 1.52.0
Windows: 1.52.2
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Seedbox: Debian 9 64bit
Windows 10 64bit
Which cloud storage system are you using? (eg Google Drive)
GDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Windows: c:\video\rclone\rclone.exe mount Gsuite-Crypt: x: --dir-cache-time 24h --drive-chunk-size 512M --vfs-cache-mode writes --log-file c:\video\rclone\rclone-test-mount.log --user-agent Laurie --buffer-size 256M --config C:\Users\renzz\.config\rclone\rclone-test.conf -vv --poll-interval 15s
Seedbox:
```/home18/renzz27/rclonenew/rclone mount Gsuite-Crypt: /home18/renzz27/files/Test-mount/ --dir-cache-time 24h --allow-other --drive-chunk-size 512M --vfs-cache-mode writes --log-file /home18/renzz27/files/rclone-test-mount.log --user-agent Laurie --buffer-size 256M --config /home18/renzz27/files/rclone-test.conf -vv --poll-interval 15s
The rclone config contents with secrets removed.
[Gsuite]
type = drive
client_id = xxxx
client_secret = xxxx
scope = drive
root_folder_id = xxxx
service_account_file =
token = {"access_token":"xxxx
[Gsuite-Crypt]
type = crypt
remote = Gsuite:Encrypted
filename_encryption = standard
password = xxxx
password2 = xxxx
A log from the command with the -vv
flag
https://we.tl/t-WoMjdPeBMr