Hi,
I'm completely new to rclone, I tried to follow your post but there are some things that I'm not sure to do everything correctly :
On your link https://github.com/BinsonBuzz/unraid_rclone_mount you talk about gdrive_media_vfs but in the scripts it's only gdrive_vfs, should it be named like this (gdrive_vfs)?
I'm trying to use everything as the same paths that you choose so I didn't change anything in the scripts execpt :
in rclone_mount => RcloneCacheShare="/mnt/cache/mount_rclone" to use my SSD (/mnt/cache)
in rclone_upload => RcloneUploadRemoteName="gdrive_vfs"
my rclone config is like that :
[gdrive]
type = drive
client_id = aaa
client_secret = bbb
scope = drive
root_folder_id = ccc
token = {"access_token":"ttt","expiry":"2022-02-24T01:13:06.534714443+01:00"}
team_drive =
[gdrive_vfs]
type = crypt
remote = gdrive:crypt
password = pass1
password2 = pass2
As I understand the behaviour, once rclone_mount script has been launched, if I add anything in /mnt/user/local/gdrive_vfs/movies or tv it's copied into /user/mount_mergerfs/gdrive_vfs/movies or tv. So I tried to add a filed canada.pdf to tv and it successfully has been added from local to mount_mergefs
Then if I launch rclone_upload script it should take the content from movies/tv and move it to /mnt/user/mount_rclone/gdrive_vfs but when I launche the script I have this log :
24.02.2022 00:36:24 INFO: *** Rclone move selected. Files will be moved from /mnt/user/local/gdrive_vfs for gdrive_vfs ***
24.02.2022 00:36:24 INFO: *** Starting rclone_upload script for gdrive_vfs ***
24.02.2022 00:36:24 INFO: Script not running - proceeding.
24.02.2022 00:36:24 INFO: Checking if rclone installed successfully.
24.02.2022 00:36:24 INFO: rclone installed successfully - proceeding with upload.
24.02.2022 00:36:24 INFO: Uploading using upload remote gdrive_vfs
24.02.2022 00:36:24 INFO: *** Using rclone move - will add --delete-empty-src-dirs to upload.
2022/02/24 00:36:24 INFO : Starting bandwidth limiter at 12Mi Byte/s
2022/02/24 00:36:24 INFO : Starting transaction limiter: max 8 transactions/s with burst 1
2022/02/24 00:36:24 DEBUG : --min-age 15m0s to 2022-02-24 00:21:24.183962748 +0100 CET m=-899.965480723
2022/02/24 00:36:24 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "move" "/mnt/user/local/gdrive_vfs" "gdrive_vfs:" "--user-agent=gdrive_vfs" "-vv" "--buffer-size" "512M" "--drive-chunk-size" "512M" "--tpslimit" "8" "--checkers" "8" "--transfers" "4" "--order-by" "modtime,ascending" "--min-age" "15m" "--exclude" "downloads/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" ".Recycle.Bin/**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--drive-stop-on-upload-limit" "--bwlimit" "01:00,off 08:00,15M 16:00,12M" "--bind=" "--delete-empty-src-dirs"]
2022/02/24 00:36:24 DEBUG : Creating backend with remote "/mnt/user/local/gdrive_vfs"
2022/02/24 00:36:24 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2022/02/24 00:36:24 DEBUG : Creating backend with remote "gdrive_vfs:"
2022/02/24 00:36:24 DEBUG : Creating backend with remote "gdrive:crypt"
2022/02/24 00:36:24 DEBUG : gdrive: detected overridden config - adding "{y5r0i}" suffix to name
2022/02/24 00:36:24 DEBUG : fs cache: renaming cache item "gdrive:crypt" to be canonical "gdrive{y5r0i}:crypt"
2022/02/24 00:36:24 DEBUG : downloads: Excluded
2022/02/24 00:36:24 DEBUG : tv/Canada.pdf: Excluded
2022/02/24 00:36:24 DEBUG : Encrypted drive 'gdrive_vfs:': Waiting for checks to finish
2022/02/24 00:36:24 DEBUG : Encrypted drive 'gdrive_vfs:': Waiting for transfers to finish
2022/02/24 00:36:24 INFO : tv: Removing directory
2022/02/24 00:36:24 DEBUG : tv: Failed to Rmdir: remove /mnt/user/local/gdrive_vfs/tv: directory not empty
2022/02/24 00:36:24 INFO : music: Removing directory
2022/02/24 00:36:24 INFO : movies: Removing directory
2022/02/24 00:36:24 INFO : gdrive_vfs: Removing directory
2022/02/24 00:36:24 DEBUG : Local file system at /mnt/user/local/gdrive_vfs: failed to delete 1 directories
2022/02/24 00:36:24 DEBUG : Local file system at /mnt/user/local/gdrive_vfs: deleted 3 directories
2022/02/24 00:36:24 INFO : There was nothing to transfer
2022/02/24 00:36:24 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Deleted: 0 (files), 4 (dirs)
Elapsed time: 0.7s
2022/02/24 00:36:24 DEBUG : 7 go routines active
24.02.2022 00:36:24 INFO: Not utilising service accounts.
24.02.2022 00:36:24 INFO: Script complete
The file I added : tv/Canada.pdf is listed as Excluded and I don't understand why and I only have a mountcheck file in /mnt/user/mount_rclone/gdrive_vfs
One last thing I didn't understand is /mnt/user/mount_unionfs, you talk about it on github but I don't see anything about this in the editable parts of the script, should I create a folder name like this somewhere?
I hope someone can help me to understand what I'm doing wrong.