In version 2.0.8 we released our integration with RClone and Google Drive. In this guide, we’ll show you how to install it.
You should first set up your Google API Credentials. You can follow our guide here.
QuickBox Pro RClone offers an encrypted and unencrypted setup. For the differences between the two, please check out our documentation here.
MergerFS
MergerFS combines your local folder and Google Drive folder into one seamless directory, thus making it appear that the files are already on GDrive. This makes it possible for plex to index new movies or shows added to your library. Everything you want to appear on GDrive or media you post-process must be saved in[/home/<username>/rclone/gmedia/]
For setting up plex with QB Pro Rclone please read our guide here. Uploading to Google Drive nightly upload at 03:12 AM done by a move script Uploads to Google Drive can also be manually triggered by running qb rclone upload <username>
Upload speed is capped at 8MB/sec to avoid any API bans when exceeding the daily upload limit of 750GB. Moving files to Google Drive will delete the local copy in /gmedia/ and any empty folder, except for the parent i.e /gmedia/Movie/
Installing RClone on QuickBox Pro
As Google has recently removed OOB authentication flows, the process for installing Rclone has changed a bit. We do understand that this is a bit of an extra step, however, both Rclone and QuickBox Pro are at the mercy of Google’s latest decision to remove this type of authentication, so we must adapt to meet their required standards.- Install x2go and access via x2go client (see this Knowledge Base article for x2Go installation)
- Open xfce terminal in x2go
- V3:
- Run
qb install rclone -u USERNAME
for an unencrypted connection. - For an encrypted connection, run:
qb install rclone -u USERNAME -o encrypted
- Run
- V2:
- Enter the client id and secret
- Should you see errors on the mount points such as the below, these are safe to ignore as you will be setting the reconnect to your gdrive in the following steps.
Failed to create file system for “gdrive:Media”: drive: failed when making oauth client: failed to create oauth client: empty token found
- Should you see errors on the mount points such as the below, these are safe to ignore as you will be setting the reconnect to your gdrive in the following steps.
- Once build completes, run
runuser -l USERNAME -c "rclone config reconnect gdrive:"
. - The Firefox browser will now open. Login to your gdrive account and once logged in, select “allow“
- You should now be shown a “Success” message and rclone is now installed.
Deprecated, but still a handy reference until we clean up this article to its fullest.
- SSH into your server
- Then run
sudo su -
to elevate your permissions. - Now run
qb install rclone <username>
for an unencrypted connection. For an encrypted connection, runqb install rclone <username> encrypted
- Replace
<username>
with your username. In our screenshots, we usedbte
as our username.
Y
to continue with the rest of the installation.
8. You will then be prompted to go to a link that is provided. You will need to copy this, and paste it into your browser to generate a code.
9. Copy that code, and paste it back into your SSH session.
Now RClone is installed and ready to use.
You can also view our Animated Gif below. Click on the image to see it in full screen.
Don’t forget to download a copy of the rclone.conf file in case you ever loose access to the server. This is stored in /root/.config/rclone/rclone.conf
As of v2.1.5
the config for RClone can be found at /home/USERNAME/.config/rclone/rclone.conf