knowledge base
You can find all guides, tips and help with troubleshooting for a lot of apps and our own system here. If you have any issues, even with the help of our awesome guides, you can always submit a ticket and we will see how we can help you best!
If you use the search bar on the right you will also find forum threads and news items related to your query.
Knowledge base Article
Setup Rclone with Google Drive using SSH
2021-03-02 11:15:46
This guide will help you setting up Rclone on your slot. You will need to connect via SSH to your slot, currently the GUI is not supported by our environment. Before you do, be sure to install Rclone via the tile menu.
Preparation
Before you start the basic installation be sure you have the following ready:
- A working, logged in Google Drive account
- A working SSH connection to your slot
- A working installation of Rclone
Basic configuration for Google Drive
Once you have Rclone installed and are connected via SSH follow the steps below, be sure not to include the apostrophes from the examples.
- Start the Rclone config by typing: rclone config
- Type 'n' for a new remote
- Pick a name that will be easy to type and which will help you remember what the connection is for if you are using multiple remotes
- Type '15' for Google Drive
- Leave the client_id option empty and just hit enter
- Leave the client_secret option empty and just hit enter
- Read up on the scopes, you will probably want option '1'
- Leave the root_folder_id option empty and just hit enter
- Leave the service_account_file option empty and just hit enter
- Type 'n' for advanced config
- Type 'n' for auto config
- Follow the steps to get the Google Api verification code and paste it here click Enter and it will give you a local link
- EDIT READ !!!!!! google have removed the choice to verify via http link in the app you now have to install X2GO and then use the local link it gives you ie http://127.0.0.1:53682/auth?state=ZVeEQ77EdCbxIqMfgdfdh
- Once you have pasted the local link in to a web browser on x2go it will ask you to login to your google account and you can verify
- Type 'n' to not make it a team drive Type Yes is you want it as a team drive
- Type 'y' to confirm the remote
- Type 'q' to exit the configuration
Congratulations, you now have a working rclone installation on your slot. You will be able to copy files directly to and from your slot to your Google Drive. Further information on Rclone commands can be found on the Rclone wiki page.