Skip to content
desimaniac edited this page Jun 18, 2018 · 30 revisions

Editing Settings

  1. Go to the Cloudbox folder:

    cd ~/cloudbox/
  2. Create a settings from from the default one:

    cp settings.yml.default settings.yml

    Note: Only do this if a settings.yml doesn't exist.

  3. Open the file in nano:

    nano settings.yml
  4. When done editing, save the file: Ctrl+X Y Enter.

Overview of Settings

---
user: seed
passwd: password123
domain: testcloudbox.ml
email: your@email.com
cloudflare_api_token:
nzbget:
  downloads: /mnt/local/downloads/nzbget
rutorrent:
  downloads: /mnt/local/downloads/rutorrent
plex:
  tag: public
  transcodes: /home/{{user}}/transcodes
rclone:
  version: latest
backup:
  tar_dest: /home/{{user}}/Backups
  rsync_dest: rsync://somehost.com/Backups
  rclone_dest: google:/Backups
  keep_local_copy: true
  use_rsync: false
  use_rclone: false
  cron_time: weekly
  cron_state: absent
  pushover_app_token:
  pushover_user_key:

Options in Settings

To see the information below in a nice-looking table, click here. (not working right now)


Note: {{user}} tells Ansible to fill in the username automatically.

  • user: User account for the server. If user account with this name does not already exist, it will be created for you. Default is seed. This parameter is required.

  • passwd: Password for the user account. This parameter is required.

    • Note 1: Password must be in alphanumeric characters. No special characters.
  • domain: Domain name for the Cloudbox server. If you don't have one, see Prerequisites.

  • email: E-mail address.

    • This email will be used to register the Let's Encrypt SSL certificates and where you will receive certificate expiration notices.

    • This email must also be the same one used for your Cloudflare account (i.e. used for Cloudflare authentication along with the API token).

  • cloudflare_api_token: By filling this out, you will allow Cloudbox to register the subdomains to Cloudflare DNS on your behalf, automatically. By leaving it blank, all Cloudflare related functions will be ignored.

    • Note: CDN/Proxy will not be turned on by default. However, you may turn them on later.
  • nzbget

    • downloads: Path for NZBGet downloads. Default is /mnt/local/downloads/nzbget.
  • rutorrent:

    • downloads: Path for ruTorrent downloads. Default is /mnt/local/downloads/rutorrent.
  • plex:

    • tag: Options are public, beta, or version tag. Default is public.

      • Note 1: For list of version tags, visit https://hub.docker.com/r/plexinc/pms-docker/tags/.

      • Note 2: Use beta only if you have an active Plex Pass.

      • Note 3: If you decide to change the tags later, you will need to update Plex by running the Cloudbox install command with the "plex" tag (i.e. sudo ansible-playbook cloudbox.yml --tags plex).

    • transcodes: Path of temporary transcoding files. Default is "/home/{{user}}/transcodes".

  • rclone:

    • version: Rclone version. Default listed version is the most currently, stable version. Default is 1.38.
  • backup:

    • tar_dest: Path for local backups (.tar). Only the two of the most recent copies are kept. Default is "/home/{{user}}/Backups".

      • Note: Ensure the path does NOT have a trailing slash ( / ) or else backup will fail (i.e. /sample/path, not /sample/path/).
    • rsync_dest: Path for rsync backups (.tar). Only the two of the most recent copies are kept.

      • Note: Ensure the path does NOT have a trailing slash ( / ) or else backup will fail (i.e. /sample/path, not /sample/path/).
    • rclone_dest: Path for cloud (i.e Google Drive) backups. Only the two most recent copies are kept. Default is google:/Backups.

      • Note: Ensure the path does NOT have a trailing slash ( / ) or else backup "could" fail (i.e. /sample/path, not /sample/path/).
    • keep_local_copy: Option to save local copies of the backup file in tar_dest after backup is complete. Default is true.

    • use_rsync: Option to enable/disable rsync backups. Options are true or false. Default is false.

    • use_rclone: Option to enable/disable cloud (i.e Google Drive) backups. Options are true or false. Default is false.

    • cron_time: How often to backup should run (only when cron_state is set to present). Options are reboot, yearly, annually, weekly, daily, or hourly. Default is weekly.

      • Note: It is not recommended to schedule backups hourly as backing up may take a long time and cause future backup attempts to fail (the backup will not occur while another one is in progress, thanks to backup.lock file being created/removed during this process).
    • cron_state: Option to enable/disable automatic backups. Options are absent or present. Default is absent.

      • absent will remove any existing backup schedule.

      • present will ensure it is always scheduled.

      • Note 1: Whenever this option is changed (i.e. "absent -> present" or "present -> absent"), a manual backup (sudo ansible-playbook cloudbox.yml --tags backup) must be run once in order to enable or disable the backup schedule.

      • Note 2: This option just allows Cloudbox to schedule the backup for you. You can manually schedule cron (e.g. sudo crontab -e) to run backups with /usr/local/bin/ansible-playbook /home/seed/cloudbox/cloudbox.yml --tags backup called as root.

    • pushover_app_token: Pushover App Token. Enables notifications to be sent when a backup task starts and finishes (requires both the Pushover App Token and the Pushover User Key). Default is blank.

    • pushover_user_key: Pushover User Key. Enables notifications to be sent when a backup task starts and finishes (requires both the Pushover App Token and the Pushover User Key). Default is blank.

Basics

  1. Introduction
  2. Cloudbox Install Types
  3. Cloudbox Paths
  4. Accessing Cloudbox Apps

Prerequisites

  1. Overview
  2. Presumptions
  3. Server
  4. Domain Name
  5. Cloudflare
  6. Cloud Storage
  7. Plex / Emby - Account
  8. Usenet vs. BitTorrent

Install Cloudbox

Cloudbox
  1. Overview
  2. Dependencies (Choose only one of these)
  3. Settings
  4. Preinstall (Choose only one of these)
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Cloudbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Plex Media Server
    6. Plex Autoscan
    7. Sonarr
    8. Radarr
    9. Lidarr
    10. PlexPy (Tautulli)
    11. Ombi
    12. Portainer
    13. Organizr
  10. Next Steps

Install Feederbox / Mediabox

Feederbox (do this first)
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Feederbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Sonarr
    6. Radarr
    7. Lidarr
    8. Portainer
    9. Organizr
  10. Next Steps

Mediabox
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Mediabox (Choose only one of these)
  9. Application Setup
    1. Feeder Mount
    2. Plex Media Server
    3. Plex Autoscan
    4. PlexPy (Tautulli)
    5. Ombi
  10. Next Steps

Recommended Reading

Backup and Restore

More Information

Advanced Configuration

Experimental

Extras

Misc

Community-Submitted

See Community Wiki.

Reference

Troubleshooting

Links

Clone this wiki locally