Skip to content

Reference: Cloudbox Tools

desimaniac edited this page Jun 18, 2018 · 2 revisions


Cloudox comes with some useful command line tools and scripts. Some are meant to be utilized by Cloudbox, automatically (e.g. fail2ban,, etc), and some are for your usage.

Invoked by
htop application Interactive process viewer for Unix. htop
ctop application Top-like interface for container metrics. ctop
iotop application Top like utility for disk I/O. iotop
nload application Monitor network traffic and bandwidth usage in real time. nload
vnstate application Network traffic monitor for that keeps a log of network traffic for the selected interface(s). vnstat
nethogs application Small 'net top' tool that groups bandwidth by process. nethogs
ngrok application Secure tunnels to localhost. ngrok
ufw application UFW, or Uncomplicated Firewall, is a front-end to iptables. ufw
fail2ban application Ban hosts that cause multiple authentication errors. fail2ban
speedtest-cli application Command line interface for testing internet bandwidth using speedtest
Rclone application "rsync for cloud storage". rclone
tree application Displays an indented directory tree, in color. tree
ncdu application Disk usage analyzer with an ncurses interface. ncdu
GNU Midnight Commander application A visual file manager. mc
hostess application Tool for tweaking local DNS by managing your /etc/hosts file. hostess
logrotate application Utility is designed to simplify the administration of log files. logrotate
npm application Package manager for Node.js modules. npm
frontail application Node.js application for streaming logs to the browser, like a tail -F with a UI. frontail script Revoke all of the SSL certifications for your domain /opt/scripts/nginx/ ; Credit:
certbot application Fetches and revokes certificates from Let’s Encrypt. Used by certbot script Cleans up extracted media files in Rutorrent's downloads folder. Sonarr / Radarr Credit:


-Work in progress-

Torrent Cleanup Script has been explained in the Sonarr section, but in a nutshell, sonarr/radarr launches this script if you set it up, and it will scan the folder of the file that was imported, if rars exist, delete the file that was imported. this is useful for torrent sites that allow rars, as it will only leave you with the imported file (before its uploaded to google) and just the rars for seeding, instead of also leaving the extracted file.


( cd / && sudo ncdu -x)

Frontail - view logs over http

frontail is a Node.js application for streaming logs to the browser (basically a tail -F with an UI).

This is useful in cases you need help and need to show someone from slack support channels your logs. You can mask your IP using ngrok (more on that later).

Steps to do so are as follows:

Base command

frontail --ui-highlight --ui-highlight-preset /opt/scripts/frontail/frontail_custom_preset.json --theme dark --user seed --password seed <path of log file> &
  • You may change the user and password.

  • The & at the end sends it to the background.

  • You can now see this log at http://serveripaddress:9001.

  • To specify another port, just add: --port <port>

To create an alias for this:

Edit ~/.bashrc file and add the following (you may change the user and password):

## custom aliases
alias ftail='frontail --ui-highlight --ui-highlight-preset /opt/scripts/frontail/frontail_custom_preset.json --theme dark --user seed --password seed '

You can now use:

ftail --port <port number> <log path> &

To quit the frontail

pkill -f frontail


Plex Autoscan

frontail --port 9001 --ui-highlight --ui-highlight-preset /opt/scripts/frontail/frontail_custom_preset.json --theme dark --user seed --password seed /opt/plex_autoscan/plex_autoscan.log &

or via alias...

ftail --port 9001 /opt/plex_autoscan/plex_autoscan.log &

or via docker...

docker run --restart=always --name "frontail_plex_autoscan" -d -p 9001:9001 -v /opt/plex_autoscan:/logs -v /opt/scripts/frontail/frontail_custom_preset.json:/preset/custom.json mthenw/frontail --ui-highlight  --ui-highlight-preset /preset/custom.json --theme dark --user <user> --password <pass> /logs/plex_autoscan.log

Log: http://serveripaddress:9001

Cloudplow log

frontail --ui-highlight --port 9002 --ui-highlight-preset /opt/scripts/frontail/frontail_custom_preset.json --theme dark --user seed --password seed /opt/cloudplow/cloudplow.log &

Log: http://serveripaddress:9002

or via alias...

ftail --port 9002  /opt/cloudplow/cloudplow.log &

or via docker...

docker run --restart=always --name "frontail_cloudplow" -d -p 9002:9001 -v /opt/cloudplow:/logs -v /opt/scripts/frontail/frontail_custom_preset.json:/preset/custom.json mthenw/frontail --ui-highlight  --ui-highlight-preset /preset/custom.json --theme dark --user <user> --password <pass> /logs/cloudplow.log

Log: http://serveripaddress:9002

Use ngrok to hide your IP

If you want to share your log with someone (forums, slack, etc), but don't want to reveal your IP address, you can use ngrok to hide your IP address.

ngrok http <port>

It will show you something like this...

You can now use the address to share your log. This will be active as long as ngrok is running. To cancel, ctrl-c.



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


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

Install Cloudbox

  1. Overview
  2. Dependencies
  3. Ansible Vault
  4. Settings
  5. Preinstall
  6. SSH
  7. Rclone
  8. Cloudbox
  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

Install Mediabox / Feederbox

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

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

Recommended Reading

Backup and Restore

More Information

Advanced Configuration



Docs coming soon for ...

  • Radarr4K
  • Sonarr4K

Misc Guides




Community Project

Clone this wiki locally
You can’t perform that action at this time.