
Rclone
Cloud storage sync and mount utility for Google Drive or Dropbox remotes
Overview
Rclone is a command-line program for syncing files and directories between local storage and cloud providers. QuickBox installs it per user and builds a working directory that includes cache, mount points, and upload scripts.
Rclone is not a media server or download client; it focuses on syncing, mounting, and optional encryption of storage paths.
Key features
QuickBox provisions Rclone with standard mounts, a mergerfs overlay, and scheduled uploads.
🌐 Provider presets
Install with --gdrive or --dropbox; QuickBox creates a remote named gdrive or dropbox and builds the Media tree.
🔐 Optional crypt remote
Use --encrypted to create a crypt remote; encrypted installs mount crypt: to the same path.
🗂️ Managed mounts
Systemd unit rclone@username mounts to /home/username/rclone/gdrive or /home/username/rclone/dropbox with mergerfs overlays at /home/username/rclone/gmedia or /home/username/rclone/dmedia.
⏰ Scheduled uploads
A nightly cron entry runs /home/username/rclone/move.sh at 03:12 server time and writes to /home/username/rclone/move.log.
When to use it
Use Rclone when you want QuickBox to manage cloud mounts, overlays, and scheduled uploads.
Prerequisites
- You need a per-user Google Drive or Dropbox mount managed by QuickBox.
- You have provider client ID and client secret ready for setup prompts.
- You want optional encryption with rclone crypt using two different passwords.
- You prefer uploads handled by
systemdandcroninstead of custom scripts.
What you get
- Install with
qb install rclone -u username --gdriveor--dropboxto create remotes and mount targets. - Mount points are created under
/home/username/rclonewith cache, remote, and mergerfs overlay paths. - Uploads run through
/home/username/rclone/move.shon a nightly schedule. - Services include
rclone@usernameandhome-username-rclone-gmedia.mountorhome-username-rclone-dmedia.mount.
Installation
Install from the QuickBox CLI
Rclone installs are managed with qb and require a username plus one provider flag. The beta branch is available with —beta.
CLI options
-u, --usernameRequiredTarget QuickBox username (required).
--gdriveConfigure a Google Drive remote and mount to /home/username/rclone/gdrive with a gmedia mergerfs overlay.
--dropboxConfigure a Dropbox remote and mount to /home/username/rclone/dropbox with a dmedia mergerfs overlay.
--encryptedCreate a crypt remote using passwords provided during setup.
--betaInstall the beta branch from https://beta.rclone.org.
Once installed, Rclone appears in the Service Control panel as RClone with Upload and View Logs actions.
Access and authentication
Rclone provides local mount paths rather than a web UI, and QuickBox stores its configuration under each user’s home directory.
URL / route
There is no web route for Rclone. Access the mounted paths directly at /home/username/rclone/gdrive or /home/username/rclone/dropbox, and use the mergerfs overlay at /home/username/rclone/gmedia or /home/username/rclone/dmedia.
Login / credentials / tokens
During install, QuickBox prompts for the provider client ID and client secret. If —encrypted is selected, it also prompts for encryption and salt passwords that must differ.
Security notes
- QuickBox enables
user_allow_otherin/etc/fuse.confso mounts can use—allow-other. - Upload jobs use
/home/username/rclone/rclone.lockto prevent concurrent runs.
Configuration and files
QuickBox creates a per-user config directory and an Rclone working folder with cache, mounts, and logs.
Common tasks
Use the commands below to manage services, uploads, and logs.
Typical workflows:
- Install with one provider flag and confirm mounts at
/home/username/rclone. - Trigger
qb user rclone -u username -o uploadafter a large cache sync. - Use the RClone card in Service Control to upload or view logs.
FAQ
12 3 * * * /home/username/rclone/move.sh). Each run writes to /home/username/rclone/move.log and uses /home/username/rclone/rclone.lock.rclone@username. Google Drive installs create /home/username/rclone/gdrive plus a mergerfs mount at /home/username/rclone/gmedia (unit: home-username-rclone-gmedia.mount). Dropbox installs mirror this with /home/username/rclone/dropbox and /home/username/rclone/dmedia.crypt: to the same gdrive or dropbox path and the upload script uses the encrypted remote./home/username/rclone/move.log, which is also used by qb user rclone -o logs.Best practices
Do
- Use only one provider flag per install:
--gdriveor--dropbox. - Keep
/home/username/rclone/move.logandrclone.lockowned by the user account. - Reinstall with qb if service or mount files need regeneration.
Don't
- Do not edit systemd unit files under
/etc/systemd/systemby hand. - Do not remove
rclone.lockwhile an upload is active.
Troubleshooting
Mount path not available
Symptom: mount path under /home/username/rclone/ is empty or missing. Checks: confirm rclone@username is active and the correct mount unit is enabled (home-username-rclone-gmedia.mount or home-username-rclone-dmedia.mount).
Uploads not running
Symptom: cache files are not moving to the remote. Checks: confirm the cron entry 12 3 * * * /home/username/rclone/move.sh exists for the user, ensure rclone.lock is not lingering, and run qb user rclone -u username -o upload.
Resources
Resources
Join the Community
Media server operators sharing configs, getting support, and shaping the future of QuickBox Pro.