How to mount a remote drive to your seedbox
Based on our most recent seedbucket survey, one of the things you requested was to be able to mount your Google drive to your seedbox so other apps (e.g. sonarr3, radarr etc) can also have access to it.
We heard you!
You are now able to create a remote mount point for your Google drive or Dropbox (crypt storage drive included) and use that mount in other apps too.
NOTE: If you want another drive to be mounted (other that Google drive or Dropbox but it must be officially supported by rclone), just open a ticket from your client area, sending us a working rclone configuration for that drive and we will mount it
IMPORTANT: Have in mind that mounting your remote drive in your seedbox, requires the use of a local file cache (located in your seedbox) to speedup the performance of the mount and minimize the API calls to the Google drive API (to reduce the chance for you to hit limits that could result in a ban of your Google drive account).
This cache can grow up to 200GB in storage in your account (depending on the frequency of reading/writing on the mount), so please bear in mind to have this space available in your seedbox before activating your mount
ALSO IMPORTANT: AVOID setting your download clients (torrent client, sabnzbd / nzbget) to download DIRECTLY to your mount, as this will cause very slow network speeds, your apps/clients becoming unresponsive and most probably hitting an API limit / ban. The correct procedure is to download locally to your seedbox and set your paths at sonarr/radarr apps towards your mount, so only finalised content is uploaded. You can check for further details here
The installation process is done via our Seedbucket app and it is based on rclone functionality.
Note: You need to have already added a Google drive or Dropbox to your seedbucket. If you also have a crypt drive (for that Google or Dropbox drive) with existing encrypted content or if you want to create a new crypt drive from scratch so that the mount point contains encrypted content from that moment and on, you need to do so before creating the rclone mount point.
You can find more information regarding the encryption section in our seedbucket guide here .
Just head to your Settings -> Apps section. To do so, click at the top right corner your email address and at the dropdown menu, click the "Settings" link.
At the settings page, click the 3rd tab labelled "Apps" .
If you have more than one seedbox, you need to select the seedbox from the dropdown menu, in order for the remote point to be mounted at that selected seedbox.
Once the seedbox is selected, click the "+ Install" button so you can begin the process of creating the mount point
NOTE: Bat Box and Gremlin Box can mount a SINGLE remote point. Vampire Box and better tier seedboxes get an additional remote point available to be installed and mounted, as shown at the screenshot below.
Select a Google drive storage from the dropdown menu. If you have many drives, just scroll down until you find the one you want and click the Next button
Note: If you want to perform the mount at a specific folder instead of your whole drive, just navigate to that folder and click the Next button
You need to log into Google API Console with the Google account you previously selected and either select an existing project or create a new one and select that afterwards.
Note: If this is your first time in the API Console, you need to accept the Terms of service, agree and continue
Select a project in the dropdown menu on the top left Select a project or create a new one via the Create button on the top right corner
Note: If you have already created projects in the past and you create a new project for the Google drive integration, don't forget to select the project after it is created, as it doesn't get automatically selected!
Click the link + ENABLE APIS AND SERVICES as shown in the screenshot, which you find at the Dashboard left menu
Type the word Drive at the input field, choose Google Drive API and click ENABLE
You need to configure the "OAuth Consent Screen". If you have already configured it in the past (make sure that you have set User type to "External" and have Published the app), you can skip this step. Else:
Click OAuth consent screen at the left side panel. There might be an extra option whether you want internal (restricted) or external (public) type of access. Choose External user and click the create button
Type an application name of your choice, choose your email from the User support email dropdown menu, type your email address at the Developer contact information (can be the same user email) at the bottom of the page and click the SAVE AND CONTINUE button
At the next screens (Scopes and Test users ), leave everything default and click the SAVE AND CONTINUE button
At the final screen you should see the Summary
Now click again the OAuth Content Screen at the left panel
Click the PUBLISH APP button and at the new modal, click the Confirm button
NOTE: MAKE SURE YOU CLICK AT THE "PUBLISH APP" LINK. IF YOU DON'T, IT WILL REMAIN AT TESTING STATUS WHICH WILL BE VALID FOR A WEEK. AFTER THAT, THE TOKEN WILL AUTOMATICALLY EXPIRE
Click the copy icon so that the URI that is needed afterwards is copied to clipboard.
Back at your Google drive console, click Credentials at the left side panel and then the + CREATE CREDENTIALS. At the dropdown menu, choose the OAuth client ID
For the Application type, choose Web application. Give it a name and paste the link you previously copied under the "Authorized redirect URIs" section and press the CREATE button.
IMPORTANT: If you have created a project in the past with application type "Other" or "TV's and limited input devices", you need to create new credentials with the correct type -Web application- and paste the URI at the "Authorized redirect URIs"
Once the OAuth client is created , the Client ID and Client secret will be created
Just copy and paste them from your Google console back to your seedbucket app and click the Authorize and Install button.
NOTE: Make sure that both fields are copied and pasted correctly!
IMPORTANT: Since the app you just created is not verified (and this is totally normal), you need to click the "Advanced" button at the new screen in order to reveal the link to "Go to seedboxes.cc (unsafe)", so you can finish the mount installation.
NOTE: Dropbox team/business folders reside at the root level of dropbox, so if you want to have access to your team folders, you need to perform the mount at the root level
Select a Dropbox drive storage from the dropdown menu. If you have many drives, just scroll down until you find the one you want and click the Next button.
If you want to mount your dropbox at a specific folder, just navigate to that folder and click the Next button
You need to log into Dropbox App console with the Dropbox account you previously selected. That link automatically redirects you to the create app process. Choose the Scoped access (which currently is the only option)
By selecting the Scoped access, the type of access will be revealed. Choose either Full Dropbox or App Folder. If you choose the former, you will gain access to all of your files, so it is generally recommended. Name your application to something unique as this is a gobal name and click the "Create app"
You will be redirected to the app's settings page. Click the "Permissions" tab
You need to enable at least the following permissions: account_info.read, files.metadata.write, files.content.write, files.content.read, sharing.write. The files.metadata.read and sharing.read checkboxes will be marked too.
Click the Submit button at the bottom page once ready.
NOTE: YOU NEED TO ACCEPT DROPBOX COOKIES IN ORDER FOR THE Submit BUTTON TO BE REVEALED
At your seedbucket, click the copy icon so you copy to clipboard the URL that is going to be needed aftewards.
Switch back to the "Settings" tab. At the "OAuth2 - Redirect URIs" paste the link that was previously copied to clipboard and click the Add button
You should see something like this:
Finally, copy the App key and App secret (just click the "Show" link so it can be revealed) back to your seedbucket app and click the "Authorize and Install" button.
NOTE: Copying the App secret might not work properly. You need to hold the mouse button while selecting the text, copying it with ctrl-c then releasing the mouse button.
Crypt drive mount
Select a crypt drive storage from the dropdown menu. If you have many drives, just scroll down until you find the one you want and click the Next button
If you want to mount your crypt drive at a specific folder, just navigate to that folder and click the Next button
Please check either the Google or Dropbox mount instructions above. Based on the storage drive that the crypt drive was associated to, the guidelines are exactly the same.
After installation is finished, navigate to your apps (e.g. sonarr3, radarr etc). You can find the mount at /home/user/mounts/rclone/ and /home/user/mounts/rclone2/ (for seedboxes that support two mount points).
That was it! Apps can now access the mount point(s) !
No Comments yet