Yep, that is correct. Using my compiled version it works fine
Hi,
I appear to be getting the same issue when trying to mount gdrive. I have tried both the latest stable build for MacOS and beta build.
xbmcs-Mac-mini:media xbmc$ sudo rclone mount gdrive: /Users/xbmc/media/gdrive --config /Users/xbmc/.config/rclone/rclone.conf -vv
2018/06/04 12:25:59 DEBUG : rclone: Version âv1.41-081-g4009fb67Ăâ starting with parameters [ârcloneâ âmountâ âgdrive:â â/Users/xbmc/media/gdriveâ ââconfigâ â/Users/xbmc/.config/rclone/rclone.confâ â-vvâ]
2018/06/04 12:25:59 DEBUG : Using config file from â/Users/xbmc/.config/rclone/rclone.confâ
2018/06/04 12:25:59 DEBUG : Google drive root ââ: Mounting on â/Users/xbmc/media/gdriveâ
2018/06/04 12:25:59 DEBUG : Adding path âvfs/forgetâ to remote control registry
2018/06/04 12:25:59 DEBUG : : Root:
2018/06/04 12:25:59 DEBUG : : >Root: node=/, err=
2018/06/04 12:25:59 DEBUG : /: Attr:
2018/06/04 12:25:59 DEBUG : : Statfs:
2018/06/04 12:25:59 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/06/04 12:25:59 DEBUG : : Statfs:
2018/06/04 12:25:59 DEBUG : : Statfs:
2018/06/04 12:27:00 DEBUG : pacer: Rate limited, sleeping for 1.511339783s (1 consecutive low level retries)
2018/06/04 12:27:00 DEBUG : pacer: low level retry 1/10 (error Get https://www.googleapis.com/drive/v3/changes/startPageToken?alt=json&supportsTeamDrives=false: net/http: TLS handshake timeout)
2018/06/04 12:27:00 DEBUG : pacer: Rate limited, sleeping for 2.57606887s (2 consecutive low level retries)
2018/06/04 12:27:00 DEBUG : pacer: low level retry 1/10 (error Get https://www.googleapis.com/drive/v3/about?alt=json&fields=storageQuota: net/http: TLS handshake timeout)
I remove h.t.t.p.s as could not upload
Thanks in advance
Phil
Can you try building rclone from source on macOS?
(Note that you donât need to set GOPATH any more - it wil default to ~/go)
I have an issue to maybe always supply a native compiled rclone: https://github.com/ncw/rclone/issues/2309
Perhaps I should up the priority of that?
Hi,
I downloaded go and compiled rclone on mac. I still cannot mount the gdrive though I can lsd the drive. Rclone keeps trying to reconnect once failed. Snippet of log below.
xbmcs-Mac-mini:media xbmc$ sudo rclone lsd gdrive:
-1 2018-06-02 15:09:27 -1 media
xbmcs-Mac-mini:media xbmc$
xbmcs-Mac-mini:media xbmc$ sudo rclone mount gdrive: /Users/xbmc/media/gdrive --allow-non-empty -vv
2018/06/06 19:38:02 DEBUG : rclone: Version âv1.41-DEVâ starting with parameters [ârcloneâ âmountâ âgdrive:â â/Users/xbmc/media/gdriveâ ââallow-non-emptyâ â-vvâ]
2018/06/06 19:38:02 DEBUG : Using config file from â/var/root/.config/rclone/rclone.confâ
2018/06/06 19:38:02 DEBUG : Google drive root ââ: Mounting on â/Users/xbmc/media/gdriveâ
2018/06/06 19:38:02 DEBUG : Adding path âvfs/forgetâ to remote control registry
2018/06/06 19:38:02 DEBUG : : Root:
2018/06/06 19:38:02 DEBUG : : >Root: node=/, err=
2018/06/06 19:38:02 DEBUG : : Statfs:
2018/06/06 19:38:02 DEBUG : /: Attr:
2018/06/06 19:38:02 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/06/06 19:38:02 DEBUG : : Statfs:
2018/06/06 19:38:02 DEBUG : : Statfs:
2018/06/06 19:38:03 DEBUG : Google drive root ââ: Checking for changes on remote
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : /: Attr:
2018/06/06 19:38:04 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/06/06 19:38:04 DEBUG : : Statfs:
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : : Statfs:
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : : Statfs:
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : /: Attr:
2018/06/06 19:38:04 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/06/06 19:38:04 DEBUG : : Statfs:
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : : Statfs:
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : : Statfs:
2018/06/06 19:38:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 19:38:04 DEBUG : /: Lookup: name=âDCIMâ
2018/06/06 19:38:04 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/06/06 19:38:04 DEBUG : /: Lookup: name=".Spotlight-V100"
2018/06/06 19:38:04 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/06/06 19:38:04 DEBUG : : Statfs:
What is the ouput from the osx mount command?
xbmcs-Mac-mini:media xbmc$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s2 on /Volumes/XBMC2TB2 (hfs, local, nodev, nosuid, journaled, noowners)
/dev/disk1s1 on /Volumes/XBMC2TB1 (hfs, local, nodev, nosuid, read-only, noowners)
gdrive: on /Users/xbmc/media/gdrive (osxfuse, synchronous)
xbmcs-Mac-mini:media xbmc$
That seems to show it as mounted here: /Users/xbmc/media/gdrive
what happens if you cd to that dir in the teminal and ls?
problem is the rclone mount command never completes just keeps retrying to mount.
xbmcs-Mac-mini:media xbmc$ ls gdrive
ls: gdrive: No such file or directory
xbmcs-Mac-mini:media xbmc$
xbmcs-Mac-mini:media xbmc$ cd gdrive
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
xbmcs-Mac-mini:gdrive xbmc$
You could try adding --allow-other to your mount command
(and do you need to use sudo to run rclone? I just run it as my regular user, and my config file is in my users home directory.)
Hi,
Added --allow-other same result rclone doesnât complete and osx mount report drive is mounted
xbmcs-Mac-mini:~ xbmc$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk1s2 on /Volumes/XBMC2TB2 (hfs, local, nodev, nosuid, journaled, noowners)
/dev/disk2s1 on /Volumes/XBMC2TB1 (hfs, local, nodev, nosuid, read-only, noowners)
gdrive: on /Users/xbmc/media/gdrive (osxfuse, synchronous)
xbmcs-Mac-mini:~ xbmc$
xbmcs-Mac-mini:~ xbmc$ sudo rclone mount gdrive: /Users/xbmc/media/gdrive --allow-non-empty -vv --allow-other
Password:
2018/06/06 20:29:53 DEBUG : rclone: Version âv1.41-DEVâ starting with parameters [ârcloneâ âmountâ âgdrive:â â/Users/xbmc/media/gdriveâ ââallow-non-emptyâ â-vvâ ââallow-otherâ]
2018/06/06 20:29:53 DEBUG : Using config file from â/var/root/.config/rclone/rclone.confâ
2018/06/06 20:29:53 DEBUG : Google drive root ââ: Mounting on â/Users/xbmc/media/gdriveâ
2018/06/06 20:30:01 DEBUG : Adding path âvfs/forgetâ to remote control registry
2018/06/06 20:30:01 DEBUG : : Root:
2018/06/06 20:30:01 DEBUG : : >Root: node=/, err=
2018/06/06 20:30:01 DEBUG : : Statfs:
2018/06/06 20:30:01 DEBUG : /: Attr:
2018/06/06 20:30:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/06/06 20:30:01 DEBUG : : Statfs:
2018/06/06 20:30:01 DEBUG : : Statfs:
2018/06/06 20:30:02 DEBUG : Google drive root ââ: Checking for changes on remote
2018/06/06 20:30:02 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 20:30:02 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/06/06 20:30:02 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877900398 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
ok, this time rclone has connect to gdrive as I can cd to drive and ls contents. But rclone doesnât complete. I will try without debug
wondering if there is a reason for using the --allow-non-empty flag?
if not, maybe get rid of that as well.
If you run rclone from the command line like this it will always stay open, unless you put into the background:
sudo rclone mount gdrive: /Users/xbmc/media/gdrive --allow-non-empty -vv --allow-other &
(or run it as a daemon, but i have not tried that)
sudo rclone mount gdrive: /Users/xbmc/media/gdrive --allow-other
above command mounts drive but command never completes. Does rclone mount need to be a background task?
it is its normal behaviour you can run --daemon to detach
ok, sorry didnât fully read your reply. I will run it as a daemon or background task. Thanks for your help.
No worries, my 2nd reply was at the same time as your question 