Skip to content
Brett Petch edited this page Jan 14, 2023 · 2 revisions

Note: This is ONLY an upgrade script! It requires that you install Lidarr via box

A frequently asked question we get from customers is if we have support for Lidarr .NET Core. At the time of writing, we don't officially support it, but it can be upgraded using a script a community member has written.

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.

Installation

Before installation, please consider reading the installer script. You can read it on the GitHub Repo. You can run the script by using the following command:

The script will stop the currently running version of Lidarr installed by the provider. It will then remove the current install directory and install the .NET core version over it. After this, it will write a service file, which will break the enable/disable & status feature in the panel for Lidarr. It will finally start the new version of Lidarr.

bash <(curl -sL "https://github.com/brettpetch/hosted-scripts/raw/master/lidarr.sh")

:::tip If something goes wrong during your upgrade, please consider checking the logs and the output in your console. You may find them by running the following:

less -r +G ~/.logs/lidarr.log

These can be helpful in cases where you need to see the output from installation. :::

On first run, go to http://<hostname.io>/lidarr to access Lidarr.

Controlling the Systemd Service

systemctl (start|stop|restart|reload|enable|disable) --user lidarr

Troubleshooting

For most troubleshooting, please consider consulting the Lidarr Docs.

I Can't Remember my Port Number

Run the following via SSH.

grep -oPm1 "(?<=<Port>)[^<]+" /home/$(whoami)/.config/Lidarr/config.xml

Viewing logs

:::tip
For application specific logs, consider running the following:

systemctl --user status lidarr

You can exit less by pressing q at any point. :::

Clone this wiki locally