Update: As of 4th June 2022, Lidarr has a stable release available. It’s also highly documented now, rendering this post pretty much entirely redundant.
I suggest you follow their instructions for installing on Ubuntu or, even better, running in Docker.
I suggest you follow their instructions for installing on Ubuntu or, even better, running in Docker.
Lidarr is still in alpha, but you can install it on Ubuntu with some ease.
Credit for much of this process goes to my friend Dan.
- Add the mono repo and install mono. This is necessary since the version provided with Ubuntu is out of date and will not work with Lidarr.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt update
sudo apt install mono-devel
- Download the latest Linux build from Lidarr’s GitHub.
wget https://github.com/...
Fill in the URL with the link to the latest build.
- Choose a directory to extract Lidarr to, in my case this is
/opt/
, and extract it like so:
sudo tar -xzvf <FILENAME> --directory /opt/
Replace <FILENAME>
with the Lidarr tarball filename.
In my case this was Lidarr.develop.0.3.1.471.linux.tar.gz
.
- Create a user called “lidarr”:
sudo tar -xzvf <FILENAME> --directory /opt/
The -m
argument tells it to not create a home directory for the user.
- Give the Lidarr user ownership of the Lidarr directory:
sudo chown -R lidarr:lidarr /opt/Lidarr
- Create a systemd script like so:
sudo nano /etc/systemd/system/lidarr.service
And paste in the following
[Unit]
Description=Lidarr Daemon
After=syslog.target network.target
[Service]
User=lidarr
Group=lidarr
Type=simple
ExecStart=/usr/bin/mono /opt/Lidarr/Lidarr.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
- Enable auto-start for the service, and then start it
sudo systemctl enable lidarr.service
sudo systemctl start lidarr
Lidarr will now be available at http://<IP>:8686
- Set the update branch:
- Navigate to your Lidarr web interface and go to Settings > General
- Click “Show Advanced”
- Go to the bottom of the page
- Ensure the update branch is set to “develop”
- Save changes.
This means that you’ll get the closest to stable that’s available, other builds have been known to break the DB. This is usually default but it’s important to check.
Success!
I always welcome feedback on my posts, please contact me if you have any. I’m also happy to answer any related questions if I know the answer.