Rclone - Win 10

What is the problem you are having with rclone?

I am mounting the same gdrive config I use on a remote ubuntu server on my windows machine, once mounted I am only seeing 1 of the 7 folders available and only one very recent file inside it and nothing else. It appears to be working as it is mounting and accessible, but unusual that i'm not seeing all the files. I'm wandering if it's a permissions thing?

What is your rclone version (output from rclone version)

v1.51.0
go 1.13.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64bit

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 crypt: Q: --allow-other --allow-non-empty --dir-cache-time=48h -v -v

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2020/05/01 16:28:06 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "mount" "crypt:" "Q:" "] 2020/05/01 16:28:06 DEBUG : Using config file from "C*******\.config\rclone\rclone.conf"
2020/05/01 16:28:08 DEBUG : Encrypted drive 'crypt:': Mounting on "Q:"
2020/05/01 16:28:08 DEBUG : Adding path "vfs/forget" to remote control registry
2020/05/01 16:28:08 DEBUG : Adding path "vfs/refresh" to remote control registry
2020/05/01 16:28:08 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2020/05/01 16:51:30 DEBUG : Encrypted drive 'crypt:': Mounting with options: ["-o" "fsname=crypt:" "-o" "subtype=rclone" "-o" "max_readahead=131072" "-o" "attr_timeout=1" "-o" "atomic_o_trunc" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=crypt" "-o" "nonempty" "-o" "allow_other"]
2020/05/01 16:28:08 DEBUG : Encrypted drive 'crypt:': Init:
2020/05/01 16:28:08 DEBUG : Encrypted drive 'crypt:': >Init:
2020/05/01 16:28:08 DEBUG : /: Statfs:
2020/05/01 16:28:08 DEBUG : Google drive root 'encrypted': read info from team drive "********"
2020/05/01 16:28:08 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2020/05/01 16:28:08 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/05/01 16:28:08 DEBUG : /: >Getattr: errc=0
2020/05/01 16:28:08 DEBUG : /: Readlink:
2020/05/01 16:28:08 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2020/05/01 16:28:08 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/05/01 16:28:08 DEBUG : /: >Getattr: errc=0
2020/05/01 16:28:08 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/05/01 16:28:08 DEBUG : /: >Getattr: errc=0
2020/05/01 16:28:08 DEBUG : /: Opendir:
2020/05/01 16:28:08 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/05/01 16:28:08 DEBUG : /: >OpenFile: fd=/ (r), err=
2020/05/01 16:28:08 DEBUG : /: >Opendir: errc=0, fh=0x0

Remotes

[gdrive]
type = drive
client_id = #######
client_secret = ######
scope = drive
token = {"access_token":"#####"}
team_drive = ######

Edit remote
** See help for drive backend at: https://rclone.org/drive/ **

Value "client_id" = "#####"

[crypt]
type = crypt
remote = gdrive:encrypted
filename_encryption = standard
directory_name_encryption = true
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***

Edit remote
** See help for crypt backend at: https://rclone.org/crypt/ **

Value "remote" = "gdrive:encrypted"

Did you copy the config? Or rebuild it?

It would be worth doing rclone lsf crypt: and see whether you see the expected directories or not so we can work out if this is a mount problem or an rclone config problem.

Hi Nick,
I rebuilt it on my Windows machine setting a new client and password on google drive.

rclone lsf crypt: lists the one directory I can see in the mount on windows.

(Just to add rclone & go are the same release on the ubuntu machine)

hello,
--allow-other does nothing on windows, you can remove that.

what version of winfsp are you using?

i would copy the rclone.conf from the ubuntu to windows and do that lsf

winfsp 1.6.20027

i would copy the rclone.conf from the ubuntu to windows and do that lsf on windows

copied the rclone config across from ubuntu, removed allow other, but same result. I can confirm the Ubuntu rclone mount shows everything. I'm assuming this maybe something to do with winfsp

is that still true?
if so, let's forget about the mount, as that is just another layer of confusion

yes, that's still true.

very strange,

try
rclone lsd gdrive:encrypted
and
rclone lsd crypt:

rclone lsd gdrive:encrypted
-1 2020-05-01 02:12:05 -1 shsudeuddiekd (changed random numbers)
λ rclone lsd crypt:
-1 2020-05-01 02:12:05 -1 tv

lets say you have a folder crypt:folder
can you do a rclone lsf crypt:folder
replace folder with one of the six other folder names

@chrishall, I just did the same thing last weekend on my Windows 10 with Rclone running on Ubuntu. I first created my rclone config but that didn't work. Then follow recommendation to copy the config file from Ubuntu and use it in Windows. Closed out the WinFsp window. Copied the Rclone config file to the Rclone directory and ran the command below. I was then abel to read/write to the same locations as on the Ubuntu box.

rclone mount --allow-other --allow-non-empty gcrypt: X:

i suggest to forget about the mount until rclone lsf is working.

are you 100% sure you are using the rclone.conf from ubuntu?
how do you know that?

does nothing on windows

@asdffdsa 2020/05/01 19:11:26 ERROR : : error listing: directory not found
2020/05/01 19:11:26 Failed to lsd with 2 errors: last error was: directory not found

I'll try rebooting an re-running winfsp with the new copied config. as @mahjohn mentioned see if that helps.

you did not answer that important question?

rclone itself is not able to list the folders.
i would be sure to not have the mount active when testing this rclone problem.

Sorry yes, I renamed the old one to .bak and SCP'd the one from ubuntu over,

ok, good.

so ignoring the mount and winfsp, here is what we have.

  1. same version of rclone on both win and linux
  2. same conf file on both win and linux
  3. different output on win and linux.

when you listed rclone version of v1.51.0 you did not list which device.
win or linux?
lets be sure the version is the same.

Yep, the same:-

rclone v1.51.0

  • os/arch: linux/amd64
  • go version: go1.13.7

Windows
λ rclone --version
rclone v1.51.0

  • os/arch: windows/amd64
  • go version: go1.13.7