Install Radarr on Debian 8 Jessie for long video automated downloading. Radarr is an alternative to CouchPotato for Usenet and torrent video automation. Radarr is a fork of Sonarr and therefore works well with NZBGet and Sabnzbd for usenet and Transmission for torrents. Radarr also works with Jackett for additional torrent providers but you will have to build an older Jackett for public trackers. This guide should work on any Debian system except ARMv6 (Raspberry Pi B+ and earlier).
Usenet Provider | |||||||
---|---|---|---|---|---|---|---|
UsenetServer | |||||||
Newshosting | |||||||
Frugal | |||||||
Usenetlink |
Install Radarr on Debian 8
Add the Xamarin mono repository to make sure we get the latest stable mono (source)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian jessie main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
Install the Radarr dependencies
sudo apt-get update
sudo apt-get install mono-devel mediainfo sqlite3 libmono-cil-dev -y
Download the latest Radarr release (e.g. Radarr.develop.0.2.045.linux.tar.gz
) which can be found here
cd /tmp
wget https://github.com/Radarr/Radarr/releases/download/v0.2.0.45/Radarr.develop.0.2.0.45.linux.tar.gz
Extract Radarr to the /opt
folder
sudo tar -xf Radarr* -C /opt/
Take ownership of the Radarr installation so updates will work properly
sudo chown -R user:user /opt/Radarr
Enter the Radarr folder and execute it
cd /opt/Radarr
mono Radarr.exe
Radarr runs on port 7878 by default
After you have verified the web interface is working on http://server.ip:7878 you can use Ctrl+C in the ssh terminal to kill the process so we can configure Radarr to autostart on boot.
Autostart Radarr
Now that Debian and Ubuntu are both using systemd I have only provided systemd scripts made by the Radarr team.
Radarr systemd Script
Create the Radarr init.d script file
sudo nano /etc/systemd/system/radarr.service
Paste the Radarr init.d startup script, change the user
values to the ones you used to set permissions in the previous step.
[Unit]
Description=Radarr Daemon
After=syslog.target network.target
[Service]
User=user
Group=user
Type=simple
ExecStart=/usr/bin/mono /opt/Radarr/Radarr.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Ctrl+X, Y and Enter to Save and Exit.
Enable the Radarr systemd service
sudo systemctl enable radarr
Now start the Radarr service
sudo service radarr start
Reboot and wait for Radarr to start, it can take a minute or two so try to be patient 🙂