Skip to main content

Sonarr 4K

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.

To follow this guide, you will need to SSH into your server. If you need help with this, please refer to the how do I connect article.

caution

These tools are not officially supported. Please consider reaching out to our Discord for unofficial community-driven support on anything listed below.

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 --user start 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.