Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
Connect to your slot through SSH.
Extract the archive
tar xzvf Lidarr*.tar.gz
Make a Lidarr configuration directory
Make a Lidarr configuration file
Open the configuration file in nano
Copy the contents of the box below into the ~/.config/Lidarr/config.xml file, replacing any other configuration in the file
<Config> <Port>46530</Port> <UrlBase></UrlBase> <BindAddress>*</BindAddress> <SslPort>23265</SslPort> <EnableSsl>False</EnableSsl> <ApiKey></ApiKey> <AuthenticationMethod>None</AuthenticationMethod> <LogLevel>Info</LogLevel> <Branch>master</Branch> <LaunchBrowser>False</LaunchBrowser> <UpdateAutomatically>False</UpdateAutomatically> </Config>
Save changes by pressing
Start Lidarr in a screen session running in the background
screen -dmS lidarr mono --debug ~/Lidarr/Lidarr.exe -c libcurl
Enable authentication in the settings under Settings > General > Security
Clean up your slot (optional)
Jackett works as a proxy between applications like Lidarr/Sonarr/Radarr and BitTorrent trackers.
See the Jackett installation guide here.
Your Lidarr web interface will be accessible at http://server.whatbox.ca:46530
You can attach to your Lidarr screen session to monitor its output using
screen -r lidarr , and detach from it again by pressing
d and then
Connecting to rTorrent
Under Settings > Download Client, select to add a client with the + button and then select rTorrent. Enter the following information to connect to rTorrent:
Host: localhost Port: 443 URL Path: xmlrpc Use SSL: Yes Username: user Password: Your server password
Connecting to Transmission
You will need the Transmission daemon port from your Slot Info page.
Under Settings > Download Client, select to add a client with the + button and then select Transmission. Enter the following information to connect to Transmission:
Host: localhost Port: Daemon port as listed on your Slot Info page Username: user Password: Your server password
Connection to Deluge
You will need the Deluge WebUI address from your Slot Info page.
Make sure the Deluge WebUI has been enabled from the Settings link on your Manage page.
Under Settings > Download Client, select to add a client with the + button and then select Deluge. Enter the following information to connect to Deluge:
Host: localhost Port: 5 digit port from the end of your Deluge WebUI link, as listed on your Slot Info page. Password: Your server password Category: Leave blank if the Label plugin has not yet been enabled in the Deluge WebUI
mono-based applications are inherently unstable and prone to crashing. Below are steps to take to have your Lidarr instance automatically restart if it crashes, or if the server is rebooted.
Make a file to be used for the script.
Edit the file and enter the text below.
nano -w ~/lidarr_restart.cron
#!/bin/bash if pgrep -fx "mono --debug /home/user/Lidarr/Lidarr.exe -c libcurl" > /dev/null then echo "Lidarr is running." else echo "Lidarr is not running, starting Lidarr" screen -dmS lidarr mono --debug /home/user/Lidarr/Lidarr.exe -c libcurl fi exit
Save the file with
Enterto accept overwriting.
Make the script executable.
chmod +x ~/lidarr_restart.cron
Open your crontab.
EDITOR=nano crontab -e
Enter the following text at the end of the file.
@reboot /home/user/lidarr_restart.cron >/dev/null 2>&1 */5 * * * * /home/user/lidarr_restart.cron >/dev/null 2>&1
Save the crontab with
Enterto accept overwriting.