Endless mount folder MacOS Catalina

Hi all,

I'm new to rclone and I want to mount my Shared Google Drive to my local system. So, I'm trying to execute this command rclone mount myDrive:/ ~/myFolder/ but nothing happens!
sun9-45_userapi.com/c854524/v854524009/2310e2/H-KmWnL5V60.jpg (replace _ with dot)
Here you can see that execution lasts for 36 minutes and doesn't stop!
Here is my config:

    No remotes found - make a new one
    n) New remote
    s) Set configuration password
    q) Quit config
    n/s/q> n
    name> DerekDrive
    Type of storage to configure.
    Enter a string value. Press Enter for the default ("").
    Choose a number from below, or type in your own value
     1 / 1Fichier
       \ "fichier"
     2 / Alias for an existing remote
       \ "alias"
     3 / Amazon Drive
       \ "amazon cloud drive"
     4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc)
       \ "s3"
     5 / Backblaze B2
       \ "b2"
     6 / Box
       \ "box"
     7 / Cache a remote
       \ "cache"
     8 / Citrix Sharefile
       \ "sharefile"
     9 / Dropbox
       \ "dropbox"
    10 / Encrypt/Decrypt a remote
       \ "crypt"
    11 / FTP Connection
       \ "ftp"
    12 / Google Cloud Storage (this is not Google Drive)
       \ "google cloud storage"
    13 / Google Drive
       \ "drive"
    14 / Google Photos
       \ "google photos"
    15 / Hubic
       \ "hubic"
    16 / In memory object storage system.
       \ "memory"
    17 / JottaCloud
       \ "jottacloud"
    18 / Koofr
       \ "koofr"
    19 / Local Disk
       \ "local"
    20 / Mail.ru Cloud
       \ "mailru"
    21 / Mega
       \ "mega"
    22 / Microsoft Azure Blob Storage
       \ "azureblob"
    23 / Microsoft OneDrive
       \ "onedrive"
    24 / OpenDrive
       \ "opendrive"
    25 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
       \ "swift"
    26 / Pcloud
       \ "pcloud"
    27 / Put.io
       \ "putio"
    28 / QingCloud Object Storage
       \ "qingstor"
    29 / SSH/SFTP Connection
       \ "sftp"
    30 / Sugarsync
       \ "sugarsync"
    31 / Transparently chunk/split large files
       \ "chunker"
    32 / Union merges the contents of several remotes
       \ "union"
    33 / Webdav
       \ "webdav"
    34 / Yandex Disk
       \ "yandex"
    35 / http Connection
       \ "http"
    36 / premiumize.me
       \ "premiumizeme"
    Storage> 13

    Google Application Client Id
    Setting your own is recommended.
    If you leave this blank, it will use an internal key which is low performance.
    Enter a string value. Press Enter for the default ("").
    client_id> XXX
    Google Application Client Secret
    Setting your own is recommended.
    Enter a string value. Press Enter for the default ("").
    client_secret> XXX
    Scope that rclone should use when requesting access from drive.
    Enter a string value. Press Enter for the default ("").
    Choose a number from below, or type in your own value
     1 / Full access all files, excluding Application Data Folder.
       \ "drive"
     2 / Read-only access to file metadata and file contents.
       \ "drive.readonly"
       / Access to files created by rclone only.
     3 | These are visible in the drive website.
       | File authorization is revoked when the user deauthorizes the app.
       \ "drive.file"
       / Allows read and write access to the Application Data folder.
     4 | This is not visible in the drive website.
       \ "drive.appfolder"
       / Allows read-only access to file metadata but
     5 | does not allow any access to read or download file content.
       \ "drive.metadata.readonly"
    scope> 1
    ID of the root folder
    Leave blank normally.

    Fill in to access "Computers" folders (see docs), or for rclone to use
    a non root folder as its starting point.

    Note that if this is blank, the first time rclone runs it will fill it
    in with the ID of the root folder.

    Enter a string value. Press Enter for the default ("").
    root_folder_id>
    Service Account Credentials JSON file path
    Leave blank normally.
    Needed only if you want use SA instead of interactive login.
    Enter a string value. Press Enter for the default ("").
    service_account_file>
    Edit advanced config? (y/n)
    y) Yes
    n) No (default)
    y/n>
    Remote config
    Use auto config?
     * Say Y if not sure
     * Say N if you are working on a remote or headless machine
    y) Yes (default)
    n) No
    y/n>
    If your browser doesnt open automatically go to the following link: localhostXXX
    Log in and authorize rclone for access
    Waiting for code...
    Got code
    Configure this as a team drive?
    y) Yes
    n) No (default)
    y/n> y
    Fetching team drive list...
    Choose a number from below, or type in your own value
     1 / DerekDrive
       \ "XXX"
    Enter a Team Drive ID> 1
    --------------------
    [DerekDrive]
    type = drive
    client_id = XXX
    client_secret = XXX
    scope = drive
    token = {"access_token":"XXX","token_type":"Bearer","expiry":"XXX"}
    team_drive = XXX
    --------------------
    y) Yes this is OK (default)
    e) Edit this remote
    d) Delete this remote
    y/e/d> y
    Current remotes:

    Name                 Type
    ====                 ====
    DerekDrive           drive

    e) Edit existing remote
    n) New remote
    d) Delete remote
    r) Rename remote
    c) Copy remote
    s) Set configuration password
    q) Quit config
    e/n/d/r/c/s/q> q

I forgot to add that rclone could see my folders and files inside my Shared Drive

    rclone tree DerekDrive:/
    Enter configuration password:
    password:
    /
    ├── drive
    └── test

    0 directories, 0 files

Any idea?
I'm using MacOS Catalina with latest version of osxFUSE driver. I installed rclone via homebrew

What do you mean nothing happens?

What does rclone version show?

If you type that in a terminal, it would just run. You'd want to use --daemon or something to run it in the background. It's also better to use a full path rather than ~.

1 Like

I have to attach the photo where you can see that mounting is endless. I can't send links due to the fact that I'm new here
sun9-45_userapi.com/c854524/v854524009/2310e2/H-KmWnL5V60.jpg replace _ with a dot to see the screenshot

You asked about the version, so

$rclone --version                      
rclone v1.51.0
- os/arch: darwin/amd64
- go version: go1.13.7

That's what it is supposed to do. A mount is a process that runs and if you don't put it into the background with something like --daemon, that's expected behavior.

I don't know what actually happened but now I have solved my problem with endless execution and now rclone raise me some errors:
XXXXX is my Shared Drive Id

rclone mount DerekDrive:/ ~/drive
2020/05/26 17:36:39 ERROR : Google drive root '': Statfs failed: failed to get Team/Shared Drive info: Get https://www.googleapis.com/drive/v3/drives/XXXXXXXXX?alt=json&fields=name%2Cid%2Ccapabilities%2CcreatedTime%2Crestrictions&prettyPrint=false: oauth2: token expired and refresh token is not set
2020/05/26 17:36:44 ERROR : /: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&corpora=drive&driveId=XXXXXXXXX&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27XXXXXXX%27+in+parents%29&supportsAllDrives=true: oauth2: token expired and refresh token is not set

Doesn't seem like the drive is authorized. You need to run through the config and grab a token or run rclone authorize drive

I refreshed the token but the endless execution returned :confused:

Oh yes, can a long disk mount be associated with a large Shared Google Drive volume? About 20TB. I received this GDrive only yesterday and did not fill it with anything yet

The size of the drive really doesn't matter.

Again, for the 'endless execution' the command runs and will not return a prompt unless you use --daemon as that runs it in the background.

I see, but it isn't normal to mount empty folder for 40+ minutes (imho)
My acquaintances mounts it for several seconds or about 2+/- minutes :confused:

I'm unfortunately not following as if you mount a driver, you can access it immediately.

There isn't a wait to access it.

Before you mount it, you may want and see if there are files there or is it something else.

You can run;

rclone ls nameofremote:

and see the contents of the remote.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.