Skip to content
Silent-Remux.mkv edited this page Oct 29, 2018 · 22 revisions

Note from author: I accept zero responsibility for if this breaks your setup. Works fine for me. Results may vary.


Before you start, clear all folders & files from /mnt/local/downloads/ and make sure NZBGet / rutorrent have no queued files in them.

  1. cd ~/cloudbox
  2. Set the following... nano settings.yml
downloads:
  nzbs: /mnt/local/downloads/nzbs
  torrents: /mnt/local/downloads/torrents

Important note: if you are not already using the following paths above, change them in settings.yml and reinstall Cloudbox now.

sudo ansible-playbook cloudbox.yml --tags cloudbox

Wait for the install to finish then sudo reboot and wait for box to come back online.


  1. docker stop sonarr,sonarr4k,radarr,radarr4k,nzbget,rutorrent
  2. Set the following... nano /opt/rutorrent/rtorrent/rtorrent.rc
# Default directory
directory.default.set = /downloads/torrents/rutorrent/completed

############################################################################
SCROLL DOWN A BIT & COMMENT OUT THE SECTION AS SEEN BELOW
############################################################################

# move completed downloads from incoming/ to completed/
# method.insert = d.get_finished_dir, simple, "cat=/downloads/torrents/rutorrent/completed/,$d.custom1="
# method.insert = d.data_path, simple, "if=(d.is_multi_file), (cat,(d.directory),/), (cat,(d.directory),/,(d.name))"
# method.insert = d.move_to_complete, simple, "d.directory.set=$argument.1=; execute=mkdir,-p,$argument.1=; execute=mv,-u,$argument.0=,$argument.1=; d.save_full_session="
# method.set_key = event.download.finished,move_complete,"d.move_to_complete=$d.data_path=,$d.get_finished_dir="
  1. docker start nzbget
  2. If anything starts to download, stop it and delete it.
  3. In NZBGet, go to SETTINGS then PATHS.
  4. Set MainDir to /downloads/nzbs/nzbget, leave the rest as default i.e. DestDir = ${MainDir}/completed etc
  5. docker restart nzbget
  6. In NZBGet, click the Pause for 3hrs option to stop anything downloading for a bit.
  7. cd ~/cloudbox
  8. sudo ansible-playbook cloudbox.yml --tags sonarr,sonarr4k,radarr,radarr4k,rutorrent
  9. Open Sonarr, go to Settings, Download Client and set the following Remote Path Mappings.
  10. Repeat the Remote Path Mappings for sonarr4k | radarr | radarr4k. Side note: any extra containers you may have made will need these mappings as well.
  11. Open all your Sonarr / Radarr instances, go to Media Management and set Use Hardlinks instead of Copy to ON.
  12. Change all your root paths in Sonarr / Radarr to /mnt/unionfs/Media/etc...
  13. Set "exclude_open_files" to false with nano /opt/cloudplow/config.json
        "google": {
            "check_interval": 1,
            "exclude_open_files": false,
            "max_size_gb": 2,
            "opened_excludes": [
                "/downloads/**"
  1. sudo systemctl restart cloudplow
  2. Enjoy hardlinking.

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally