How to connect GDrive

What is the problem you are having with rclone?

Problem when setting up a GDrive connection (GSuite) to server.

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.0

Which cloud storage system are you using? (eg Google Drive)

Google Drive

When I reach it before entering the token, it is written in the console that you need to go to the address
But I can't do it in the console.How to get a token?

Check out:

Remote Setup (

I chose the item "Do not use the auto config", in response, received the team


I entered this command on another server with the same version of Rclone, but in the end the same, you need to go to the address

PS. Desktop version of Linux I do not have.

You run rclone authorize a machine that has a web browser as you need that to do the oAuth required by Google.

Use the computer you are typing this message on.

This part of the docs are key:

That is, if I understand correctly, if I do not have a DESTOP version of the operating system with the RClone installed, then I can not connect GDRIVE. Right?

You can use any machine that the rclone runs on that has a web browser.

It can be Windows, Mac, Linux, etc.

I'm not sure I'm following here as you have no machine that has a web browser?

If you have no machine that has a Web browser, you can use a service account for Google Drive:

Google drive (

Can you show an example json file?
I do not quite understand what to write there.

You have to run through the steps and download it.

It'll look something like:

felix@gemini:/opt/rclone$ cat gd.json
  "type": "service_account",
  "project_id": "home-2146",
  "private_key_id": "bunchofnumbersfortheid",
  "private_key": "-----BEGIN PRIVATE KEY-----\verylongprivatekeyxo=\n-----END PRIVATE KEY-----\n",
  "client_email": "",
  "client_id": "numbers",
  "auth_uri": "",
  "token_uri": "",
  "auth_provider_x509_cert_url": "",
  "client_x509_cert_url": ""

I apologize, and where to get these data?

In the post I shared the detail, I shared this link:

You have to click that link, read it and follow the steps.

Ok, the result of my actions - I enter into the console of my server
rclone -v --drive-impersonate lsf test_gdrive_srv:

I get a successful execution, since there were no messages. But when trying to mount
rclone mount test_gdrive_srv: /root/backup_srv/mount/test_gdrive_srv
When entering the catalog /root/backup_srv/mount/test_gdrive_srv
I see emptiness

I can't tell what you did from those two commands.

You did all 4 of these steps?

From the link?

What's your rclone.conf look like?

Yes, I performed four items and how I said the check team is performed without mistakes, plus even the metric began to show graphs

And you did:


maybe need to add --allow-other and debug output with -vv

rclone mount test_gdrive_srv: /root/backup_srv/mount/test_gdrive_srv --allow-other -vv


that debug log looks ok, based on ReadDirAll: item=2

what do you need help with?

When I go to the mount folder, then there is empty.

before trying rclone mount,
make sure rclone ls test: outputs what you want.