Skip to content

Sonarr 4K

Brett Petch edited this page Nov 27, 2021 · 1 revision

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

Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows 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:

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

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

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

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

On first run, go to http://<hostname.io>:<yourportnumber> to access Sonarr 4K. This should ask you for credentials. Keep in mind that this application is exposed on the public internet.

Controlling the Systemd Service

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

Troubleshooting

For most troubleshooting, please consider consulting the Sonarr Docs.

I Can't Remember my Port Number

Run the following via SSH.

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

Viewing logs

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

systemctl --user status sonarr4k

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

Clone this wiki locally