Debian install Lidarr to download music

In this Lidarr install Debian tutorial We are going to install Lidarr on a computer with the Debian OS . So that your music is automatically downloaded from the newsgroups.

Install Lidarr Debian

Install necessary software for Lidarr.

sudo apt install curl mediainfo sqlite3 libchromaprint-tools

Lidarr download

wget –content-disposition ‘http://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64’

Now we need to unpack Lidarr.

tar -xvzf Lidarr.linux.tar.gz

Move Lidarr to the opt folder.

sudo mv Lidarr/ /opt

Correct the permissions on the Lidarr map. Note adjust username and group. To your own username and group.

sudo chown -R gebruikersnaam:groep /opt/Lidarr

Autostart Lidarr Debian

Download the Lidar.tar.gz. Look at this site https://github.com/lidarr/Lidarr/releases for the correct version.

sudo nano /etc/systemd/system/lidarr.service

Paste the following script here. Change the username and group to your own.

[Unit]
Description=Lidarr Daemon
After=syslog.target network.target
[Service]
User=yourusername
Group=groep
Type=simple

ExecStart=/opt/Lidarr/Lidarr -nobrowser -data=/var/lib/lidarr/
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF

Reload from boot.

sudo systemctl -q daemon-reload

Add Lidarr script to autostart.

sudo systemctl enable –now -q lidarr

Lidarr is now available on port 8686. You can now access Lidarr on http://localhost:8686.

If Lidarr does not start, perform the following for more information.

sudo journalctl –since today -u lidarr

This was the tutorial Debian install Lidarr to download music.

Be the first to comment

Leave a Reply