1.1.3 - 2018-05-21
This version requires Ansible 2.5.1 (2.3.1.0 will give syntax errors; 2.5.0 has a bug with a certain math function that backup uses; 2.5.2-2.5.3 will complain when both docker-py and docker are installed).
To install Ansible 2.5.1:
curl -s https://cloudbox.rocks/install_dependencies.sh | sudo -H sh -s 2.5.1
or
wget -qO- https://cloudbox.rocks/install_dependencies.sh | sudo -H sh -s 2.5.1
To checkout this version of Cloudbox:
cd ~/cloudbox
git reset --hard COMMITID
You can also download the source zip file and extract it into the cloudbox folder.
- AppVeyor: Will now install the default Ansible version in the Dependencies Installer Script.
- Common: Install/Update to latest ctop version.
- Common: Install/Update to latest hostess version.
- Plex: Will auto-update to the latest WebTools version.
- Webtools: Moved into a separate role.
- Cloudflare: Task name shows correct IP address, now.
- Docker: Added docker-py back; set installed Ansible ver to 2.5.2 until issues with 2.5.3 are fixed.
1.1.2 - 2018-05-19
Use v1.1.3 or v1.1.1, instead.
- AppVeyor: Set build to Ansible version 2.5.3.
- Cloudbox: Added headers to all roles and scripts.
- Docker: Removed docker-py. Ansible finds a conflict with both docker-py and docker installed.
- Ansible: Fixed misc warning messages.
1.1.1 - 2018-05-19
This version, and the versions below, are compatible with Ansible 2.3.1.0, and possibly up to 2.4.0.
To install Ansible 2.3.1.0:
curl -s https://cloudbox.rocks/install_dependencies.sh | sudo -H sh -s 2.3.1
or
wget -qO- https://cloudbox.rocks/install_dependencies.sh | sudo -H sh -s 2.3.1
To checkout this version of Cloudbox:
cd ~/cloudbox
git reset --hard 58964a8
- Plex Patrol.
- Cloudbox MOTD: Cloudbox-enhanced MOTD.
- AppVeyor CI
- Backup: Exclude Plex cache folder in backup.
- Backup: Logs are created in ~/logs/ path.
- Backup: Misc edits for cron task.
- Common: Installs unrar-free if unrar could not be installed.
- Common: Netaddr is now installed via the Dependency Installer script.
- Common: Set /opt to ugo+X instead of 775.
- Docker: Better log size management.
- Docker: Updated to 18.03.1.
- Kernel: Now runs without settings-updater checks.
- Nginx-Proxy: Renamed update tag to update-nginx-proxy vs update-nginx.
- Node.js: Updated to v10.X.
- Plex Autoscan: Fixed up Plex Autoscan URL Script.
- Plex Dupefinder: misc changes to default config.
- PlexPy (Tautulli): Now downloads nightly version.
- Readme: Added feathub link.
- Rutorrent: Added stop_timeout to Docker container.
- Traktarr: misc changes to default config.
- Watchower: now an optional module.
- MOTD: previous version.
- Backup: systemd-backup now uses synchronize, should avoid issues with copy module failing on 0 byte files.
- Cloudflare: Now only creates a single subdomain entry.
- Cloudflare: Public IP Address will now be used.
- Preinstall: No longer changes the user's shell on Cloudbox run (eg full).
- ZSH: Existing .zshrc file will no longer be replaced with default one.
- ZSH: Will now link to /bin/zsh if it doesn't already do so.
1.1.0 - 2018-04-18
.gitignore
git pull
will no longer have conflicts with logs, retry files, etc.
CREDITS.md
CONTRIBUTING.md
- guide on how to submit Pull Requests (to develop branch).
Zsh
role- Will install Zsh & Oh My Zsh, and set Zsh as the default shell (this role does not run by default).
- install:
--tags install-zsh
- config:
~/.zshrc
- Python modules
- netaddr - for Ansible's
ipv4
filter. - dnspython - for Ansible's
dig
lookup.
- netaddr - for Ansible's
- Heimdall (submitted by Captain-NaCl)
- subdomain:
heimdall
- install:
--tags install-heimdall
- folder:
/opt/heimdall
- subdomain:
- Traktarr
- install:
--tags install-traktarr
- folder:
/opt/traktarr
- install:
- Settings Updater
- GitHub repo will now only contain a
settings.yml.default
file. - Doing a git pull/hard reset will no longer wipe out one's
settings.yml
file. - Any new additions to
settings.yml.default
will be added into thesettings.yml
automatically, with the following message:fatal: [localhost]: FAILED! => {"changed": false, "msg": "The script 'settings_updater.py' added new settings. Check 'settings-updater.log' for details of new setting names added."}
- User can then take a look at
settings-updater.log
file to see what was added. - This allows new features to be added without breaking compatibility with older versions of Cloudbox.
- GitHub repo will now only contain a
- screen
- tmux
- Plex Dupefinder
- install:
--tags install-plex_dupefinder
- folder:
/opt/plex_dupefinder
- install:
- Dependency Installer Script
- Simple, clean install script.
- Fixes potential pip issues.
- Radarr4K
- Basically, just an extra copy of Radarr (to be used for any purpose, including the building of a 4K only library).
- subdomain:
radarr4k
- install:
--tags install-radarr4k
- folder:
/opt/radarr4k/
- Uses port
7879
. - Only mounts
/mnt/
- User's choice on where to keep 4K movies...
- Examples:
/mnt/unionfs/Media/Movies/Movies4K/
/mnt/unionfs/Media/Movies4K/
- Plex Autoscan will also require tweaking. See "Configuring Plex Libraries" wiki page for more info.
- HTTP Authentication support
- Uses folder path `/opt/nginx-proxy/htpasswd/.
- Allows setting up of basic HTTP authentication for any subdomain - use this to secure Docker web apps that don't have native login support.
- Command:
htpasswd -c /opt/nginx-proxy/htpasswd/SUBDOMAIN.DOMAIN.COM USERNAME
(replaceSUBDOMAIN
/DOMAIN
with user's info; replaceUSERNAME
with desired HTTP auth username).- User will be prompted for a password.
- Restart the relevant Docker container for it to take effect (
docker restart appname
). - To remove the HTTP authentication, simply remove the file from
/opt/nginx-proxy/htpasswd/
and restart the relevant Docker container.
- Cloudflare DNS support
- Added
cloudflare_api_token
tosettings.yml
. - When API token is filled in, Cloudbox will automatically create DNS entries (non proxied/CDN), and/or update them with the host's IP address, when relevant tasks are run.
- Will also add one of 3 relevant subdomains:
plexbox
,feederbox
, orcloudbox
.- This is useful for ssh, ftp, etc, especially with a Feederbox/Plexbox setup.
- This requires the email address in
settings.yml
to match the one used for the Cloudflare account.
- Added
- The Lounge
- subdomain:
thelounge
- install:
--tags install-thelounge
- folder:
/opt/thelounge
- subdomain:
- ZNC
- Uses ZNC Docker image by Horjulf.
- subdomain:
znc
- install:
--tags install-znc
- folder:
/opt/znc
- Quassel IRC core
- subdomain:
quassel
- install:
--tags install-quassel
- folder:
/opt/quassel
- subdomain:
README.md
- Cleaned up a bit.
- Moved chart of installed items to the Wiki (i.e. Cloudbox Install Types).
- Rclone
- In
settings.yml
, uselatest
for rclone version to always install the latest version.- Version numbers can still be used (i.e
1.40
).
- Version numbers can still be used (i.e
rclone
binary location:/usr/bin/rclone
(as https://rclone.org/install/ prefers).rclone.conf
location:~/.config/rclone/rclone.conf
.- Removed the use of
/opt/rclone/
folder (and the symlinks within it).
- In
- Backup
- Rclone uses less bandwidth, due to server-side move commands (initially submitted by RXWatcher1).
- Will archive older versions of
cloudbox.tar
on Rclone remotes (initially submitted by RXWatcher1). - Systemd files will be saved to
/opt/systemd-backup
(vs/opt/systemd
). The name makes the purpose of the folder clearer. - Local
cloudbox.tar.backup
file is now deleted after a successful tar archiving task. - Will now
rclone.conf
andsettings.yml
files separate fromcloudbox.tar
. Older versions of these files will also be archived on rclone remotes.
- Restore
- Restore looks for
rclone.conf
in~/cloudbox/
first, and then~/.config/rclone/
. - If
rclone.conf
exists in both locations,~/cloudbox/rclone.conf
will take precedence for restore task and be be copied over~/.config/rclone/rclone.conf
(overwriting the previous one).
- Restore looks for
- Backup/Restore: Added
keep_local_copy
option insettings.yml
.- Option to keep or remove local backup (
cloudbox.tar
). - During backup, if
use_rclone
/use_rsync
isfalse
andkeep_local_copy
is set totrue
, then backup will be made to local file only. - During restore, if
keep_local_copy
is set totrue
and a local backup file (cloudbox.tar
) exists, then that local backup file will be used for the restore task (no rclone / resync download of a remotecloudbox.tar
file will occur).- This is handy for when a user just wants to drop in a backup file and restore from it.
- Option to keep or remove local backup (
- Plex
- Added hosts required for Lazyman Plex Channel.
- Service Files
- Modified
unionfs.service
file to added 30 second wait to start to UnionFS.- Gives extra time for other mounts to be loaded before Unionfs starts.
- This helps with users who 1. have more than one mounts setup (eg rclone sftp mount for a feederbox) and 2. are using encrypted rclone mounts with plexdrive (takes longer to start up).
- Misc edits to
plex_autoscan
andunionfs.service
.
- Modified
- Docker
- Force the installation of
docker-ce
v17.09.0
and prevent it from being updated.- This is to prevent issues mentioned here: moby/moby#35933.
- Better log size management (EnorMOZ)
- Force the installation of
- ctop
- version updated to
0.7.1
.
- version updated to
- Scripts
- Added new script:
arrpush.py
(for ruTorrent autodl-irssi)- COMMAND:
/scripts/arrpush.py
- ARGUMENTS:
"http://sonarr:8989" "API_KEY" "$(TorrentName)" "$(TorrentUrl)" "$(TorrentSize)" "$(Tracker)"
- ARGUMENTS:
"http://radarr:7878" "API_KEY" "$(TorrentName)" "$(TorrentUrl)" "$(TorrentSize)" "$(Tracker)"
- COMMAND:
- Renamed
arrpush.sh
(the previous script) toarrpush.legacy.sh
.- COMMAND:
/scripts/arrpush.legacy.sh
- ARGUMENTS:
sonarr "$(TorrentName)" "$(TorrentUrl)" "$(TorrentSize)" "$(Tracker)"
- ARGUMENTS:
radarr "$(TorrentName)" "$(TorrentUrl)" "$(TorrentSize)" "$(Tracker)"
- COMMAND:
- Moved script folder creation tasks here.
- Added Ansible tag:
--tags update-scripts
- Removed
cloudflared.py
as this is not needed anymore.
- Added new script:
- Sanity Check
- Will always occur no matter what Ansible task is run.
- Resilio Sync
- Switched to official Resilio Docker image.
- Advanced options now persist after restart.
- Files created (still) retain correct permissions.
- Ombi
- Switched to
linuxserver/ombi
image (as it now installs v3).
- Switched to
- Misc
- Set
sudo
group to NOPASSWD (no more password prompts when running sudo commands). - Preinstall Role no longer changes user's shell on Cloudbox run (eg full).
- Set
- Plex Autoscan
- The following variables were added to config.json:
PLEX_ANALYZE_DIRECTORY
PLEX_ANALYZE_TYPE
RUN_COMMAND_BEFORE_SCAN
RCLONE_RC_CACHE_EXPIRE
SERVER_SCAN_PRIORITIES
- The following variables were added to config.json:
- Github
- removed
.github
folder from the repo.
- removed
- Ansible
- Fixed misc SSL errors with Github links.
- MOTD
- Now shows memory info (based off the word of EnorMOZ)
- rclone
- fix for trailing zeroes in version numbers.
1.0.2 - 2018-2-22
- Rclone
- Added the "update-rclone" tag (
--tags update-rclone
).
- Added the "update-rclone" tag (
- Lidarr
- subdomain:
lidarr
- install:
--tags install-lidarr
- folder:
/opt/lidarr
- subdomain:
- Emby
- subdomain:
emby
- install:
--tags install-emby
- folder:
/opt/emby
- subdomain:
- NZBHydra2
- subdomain:
nzbhydra2
- install:
--tags install-nzbhydra2
- folder:
/opt/nzbhydra2
- subdomain:
- ruTorrent
- Now uses ruTorrent Docker image by Horjulf.
- subdomain:
rutorrent
- install:
--tags update-rutorrent
- folder:
/opt/rutorrent
- WebTools
- Updated to v3.0.0 (to update, see this FAQ page).
- PlexPy
- Now installs PlexPy v2 (aka Tautulli)
- subdomain:
plexpy
- install:
--tags update-plexpy
- folder:
/opt/plexpy
1.0.1 - 2017-12-30
- Anisble
- Ansible-Toolbox
- Ombi
- subdomain:
ombi
- install:
--tags install-ombi
- folder:
/opt/ombi
- subdomain:
- Resilio Sync
- To install, run the Cloudbox install command with
--tags install-resilio
. - subdomain:
resilio
- install:
--tags install-resilio
- folder:
/opt/resilio
- To install, run the Cloudbox install command with
- Glances
- Command line tool; simply run
glances
.
- Command line tool; simply run
- Nextcloud
- To install, run the Cloudbox install command with
--tags install-nextcloud
. - subdomain:
nextcloud
- install:
--tags install-nextcloud
- folder:
/opt/nextcloud
- To install, run the Cloudbox install command with
- Arrpush
- minor adjustments
- Docker
- containers now use dynamic IP addresses.
- Suitarr Docker containers now use default app ports). This effects Sonarr, Radarr, NZBGet, NZBHydra, and Jackett.