What is the problem you are having with rclone?
Been using the same command for years, upgraded to 1.54 and am unable to create new files in the mount getting the error Dir.Mkdir failed to create directory: object not found When I downgrade back to 1.45, I do not receive the same issue, and I can both read and write new directories. Not sure why this is happening, "Encrypted 2" is in the root of gdrive.
What is your rclone version?
rclone v1.54.0
- os/arch: windows/amd64
- go version: go1.15.7
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 Pro 64 bit 20H2
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 union:/ N: --vfs-read-chunk-size 8M --vfs-read-chunk-size-limit 128M --dir-cache-time 8760h --buffer-size 0M --volname "Media Drive" --tpslimit 10 --poll-interval 15s
I use this command to upload using Task Scheduler:
rclone move "E:\PendingDriveUploads" PlexCrypt:/ --tpslimit 10 --delete-empty-src-dirs --min-age 5m --transfers 8 --checkers 10 --buffer-size 0M
The rclone config contents with secrets removed.
[gdrive]
type = drive
client_id = .apps.googleusercontent.com
client_secret = SECRET
scope = drive
token = TOKEN
root_folder_id = ROOT
[PlexCrypt]
type = crypt
remote = gdrive:/Encrypted 2/
filename_encryption = standard
directory_name_encryption = true
[union]
type = union
remotes = PlexCrypt:/ E:\PendingDriveUploads\
A log from the command with the -vv
flag
2021/02/12 20:11:49 DEBUG : Creating backend with remote "union:/"
2021/02/12 20:11:49 DEBUG : Using config file from "C:\\Users\\Plex\\.config\\rclone\\rclone.conf"
2021/02/12 20:11:49 INFO : Starting transaction limiter: max 10 transactions/s with burst 1
2021/02/12 20:11:49 DEBUG : Creating backend with remote "E:/PendingDriveUploads/"
2021/02/12 20:11:49 DEBUG : Creating backend with remote "PlexCrypt:/"
2021/02/12 20:11:49 DEBUG : fs cache: renaming cache item "E:/PendingDriveUploads/" to be canonical "//?/E:/PendingDriveUploads/"
2021/02/12 20:11:49 DEBUG : Creating backend with remote "E:/PendingDriveUploads"
2021/02/12 20:11:49 DEBUG : fs cache: renaming cache item "E:/PendingDriveUploads" to be canonical "//?/E:/PendingDriveUploads"
2021/02/12 20:11:49 DEBUG : Creating backend with remote "gdrive:/Encrypted 2"
2021/02/12 20:11:49 DEBUG : fs cache: renaming cache item "gdrive:/Encrypted 2" to be canonical "gdrive:Encrypted 2"
2021/02/12 20:11:49 DEBUG : fs cache: switching user supplied name "gdrive:/Encrypted 2" for canonical name "gdrive:Encrypted 2"
2021/02/12 20:11:49 DEBUG : Creating backend with remote "PlexCrypt:"
2021/02/12 20:11:50 DEBUG : Creating backend with remote "gdrive:/Encrypted 2/"
2021/02/12 20:11:50 DEBUG : fs cache: renaming cache item "gdrive:/Encrypted 2/" to be canonical "gdrive:Encrypted 2"
2021/02/12 20:11:50 DEBUG : union root '/': actionPolicy = *policy.EpAll, createPolicy = *policy.EpMfs, searchPolicy = *policy.FF
2021/02/12 20:11:50 INFO : union root '/': poll-interval is not supported by this remote
2021/02/12 20:11:50 DEBUG : Network mode mounting is disabled
2021/02/12 20:11:50 DEBUG : Mounting on "N:" ("Media Drive")
2021/02/12 20:11:50 DEBUG : union root '/': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=Media Drive"]
2021/02/12 20:11:50 DEBUG : union root '/': Init:
2021/02/12 20:11:50 DEBUG : union root '/': >Init:
2021/02/12 20:11:50 DEBUG : /: Statfs:
2021/02/12 20:11:50 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:278456629688 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Readlink:
2021/02/12 20:11:50 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2021/02/12 20:11:50 DEBUG : /: Statfs:
2021/02/12 20:11:50 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:278456629688 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Opendir:
2021/02/12 20:11:50 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:11:50 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:11:50 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:11:50 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:11:50 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Opendir:
2021/02/12 20:11:50 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:11:50 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:11:50 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:11:50 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:11:50 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:50 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:50 DEBUG : /: Opendir:
2021/02/12 20:11:50 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:11:50 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:11:50 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:11:50 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:11:50 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:11:53 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:53 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/02/12 20:11:53 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:53 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/02/12 20:11:53 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:53 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/02/12 20:11:53 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:53 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:53 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:53 DEBUG : /: >Getattr: errc=0
2021/02/12 20:11:53 DEBUG : /: Opendir:
2021/02/12 20:11:53 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:11:53 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:11:53 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:11:53 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:11:53 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:11:53 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:11:53 DEBUG : /AutoRun.inf: >Getattr: errc=-2
2021/02/12 20:12:03 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:03 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:03 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:03 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:03 DEBUG : /: Opendir:
2021/02/12 20:12:03 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:03 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:03 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:03 DEBUG : /: Statfs:
2021/02/12 20:12:03 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:278456629688 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/02/12 20:12:03 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:12:03 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:12:03 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:03 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:03 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:03 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:03 DEBUG : /: Opendir:
2021/02/12 20:12:03 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:03 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:03 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:04 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:12:04 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:12:04 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:04 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:04 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:04 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:04 DEBUG : /: Opendir:
2021/02/12 20:12:04 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:04 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:04 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:04 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:12:04 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:04 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:04 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:12:04 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:04 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:04 DEBUG : /: Opendir:
2021/02/12 20:12:04 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:04 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:04 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:04 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:12:04 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /desktop.ini: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /desktop.ini: >Getattr: errc=-2
2021/02/12 20:12:06 DEBUG : /: Opendir:
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:06 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:12:06 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: Opendir:
2021/02/12 20:12:06 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:06 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:06 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Readdir: ofst=0, fh=0x0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Opendir:
2021/02/12 20:12:06 DEBUG : /: >Readdir: items=9, errc=0
2021/02/12 20:12:06 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:06 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:06 DEBUG : /: Releasedir: fh=0x0
2021/02/12 20:12:06 DEBUG : /: >Opendir: errc=0, fh=0x1
2021/02/12 20:12:06 DEBUG : /: >Releasedir: errc=0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Opendir:
2021/02/12 20:12:06 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:06 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:06 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/12 20:12:06 DEBUG : /: >Getattr: errc=0
2021/02/12 20:12:06 DEBUG : /: Opendir:
2021/02/12 20:12:06 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/12 20:12:06 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/12 20:12:06 DEBUG : /: >Opendir: errc=0, fh=0x2
2021/02/12 20:12:06 DEBUG : /: Statfs:
2021/02/12 20:12:06 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:278456629688 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0