Sonarr
Sonarr is a smart PVR for newsgroup and BitTorrent users.
You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).
Table of contents
Installation
Install Sonarr by logging in via SSH, then copying and pasting the following script:
wget -O ~/install.sonarr.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/sonarr.install.sh && bash ~/install.sonarr.sh
This script will output a success message alongside the URL to access Sonarr. Sonarr will take about five minutes to start up and then present a "Authentication Required" form.
You must complete the "Authentication Required" form immediately to secure Sonarr.
Starting, stopping and restarting
This section covers the Sonarr process—starting, stopping and restarting it. It also covers checking if the main process is running, in case that becomes necessary.
- start
- You cannot start Sonarr manually. Wait five minutes for it to auto-restart.
- check running
- pgrep -af Sonarr
- stop
- pkill -fe Sonarr
- kill (force stop)
- pkill -9 -fe Sonarr
- restart
- pkill -fe Sonarr Then wait five minutes for it to auto-restart.
Updating Sonarr
The executable and associated files to run Sonarr can be found under ~/.config/feral/ns/containers/docs-sonarr/app
. If this folder is missing the latest version will be downloaded and Sonarr will be restarted.
You can use an SFTP client to delete the folder. Or alternatively you can run the SSH command: rm -r ~/.config/feral/ns/containers/docs-sonarr/app
If you find this folder doesn't exist but Sonarr is definitely running then you likely installed Sonarr using a previous version of this guide. To address this, first ensure Sonarr's auto-restart is disabled (usually done via ~/.cronscript.sh
) and then run the install script to get the newer set up.
Download clients
In Sonarr's user interface click the Settings icon (the three gears at the top) and then click Download Client. Next, click the + button. You can choose the torrent client you want to configure from the menu.
Deluge
First make sure Advanced Settings have been set to Shown, in order for the necessary options to appear.
- Name
- Your chosen name for the settings—you can pick what you like
- Enable
- Yes
- Host
- server.feralhosting.com
- Port
- 443
- Use SSL
- Yes
- URL Base
- /username/deluge
- Password
- Your Deluge web UI password
In the above settings, server is replaced by the name of your server (e.g. zeus) and username is your username on the server.
qBittorrent
First make sure Advanced Settings have been set to Shown, in order for the necessary options to appear.
- Name
- Your chosen name for the settings—you can pick what you like
- Enable
- Yes
- Host
- server.feralhosting.com
- Port
- 443
- Use SSL
- Yes
- URL Base
- /username/qbittorrent/
- Password
- Your qBittorrent web UI password
In the above settings, server is replaced by the name of your server (e.g. zeus) and username is your username on the server.
rTorrent
First make sure Advanced Settings have been set to Shown, in order for the necessary options to appear.
- Name
- Your chosen name for the settings - you can pick what you like
- Enable
- Yes
- Host
- server.feralhosting.com
- Port
- 443
- Use SSL
- Yes
- Url Path
- /username/rtorrent/rpc
- Username *
- rutorrent (the word 'rutorrent', not your ruTorrent username)
- Password
- The password for ruTorrent found on the software page (even if changed).
* Do not use your own username here. This must be rutorrent.
In the above settings, server is replaced by the name of your server (e.g. zeus) and username is your username on the server.
Transmission
First make sure Advanced Settings have been set to Shown, in order for the necessary options to appear.
- Name
- Your chosen name for the settings - you can pick what you like
- Enable
- Yes
- Host
- server.feralhosting.com
- Port
- 443
- Use SSL
- Yes
- URL Base
- /username/transmission/
- Username
- Your Transmission username
- Password
- Your Transmission password
In the above settings, server is replaced by the name of your server (e.g. zeus) and username is your username on the server.
Uninstall
The following SSH commands will uninstall Sonarr from your slot. You do not need to run them if reinstalling.
rm -rf ~/.config/feral/ns/containers/docs-sonarr ~/.config/Sonarr ~/install.sonarr.sh ~/.nginx/conf.d/000-default-server.d/sonarr.conf /usr/sbin/nginx -s reload -c ~/.nginx/nginx.conf 2>/dev/null pkill -9 -fe Sonarr echo Uninstalled.