Home media server with plex, sonarr, radarr, qbitorrent and overseerr
Tags: homelab, tutorial, mediaserver
Published: 2023-02-06 13:03:59

---
title: Home media server with plex, sonarr, radarr, qbitorrent and overseerr
published: true
date: 2023-02-06 12:19:42 UTC
tags: homelab,tutorial,mediaserver
canonical_url: https://blog.rrrm.co.uk/post/home-media-server-with-plex-sonarr-radarr-qbitorrent-and-overseerr
---

> Disclaimer: Neither the author of this article nor the publication nor the developers of codes used in this article condone or encourage downloading, sharing, seeding, or peering copyright material. International laws prohibit such activities which are illegal. This article serves educational purposes only.

### How to set up a media server at home

1. [Jackett](https://github.com/Jackett/Jackett)
2. [Qbittorrent](https://www.qbittorrent.org/)
3. [Plex](https://www.plex.tv/media-server-downloads/)
4. [Sonarr](https://sonarr.tv/)
5. [Radarr](https://radarr.video/)
6. [Overseerr](https://docs.overseerr.dev/getting-started/installation#windows)

I will be using windows but these steps can be followed for any OS after installing these services

### Prerequisites

Make sure you have all applications installed correctly for your system

### Jackett

Jackett works as a proxy server: it translates queries from apps (Sonarr, Radarr, SickRage, CouchPotato, Mylar, Lidarr, DuckieTV, qBittorrent, Nefarious etc.) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic – removing the burden from other apps.

If you installed Jackett correctly you can open it on localhost:9117 or your computers ip 192.168.1.30:9117 you can use this to access it across other devices in your network just make sure you enabled firewall rules

Let's start by adding an indexer to Jackett

![](https://sli1n332.directus.app/assets/67201082-1fd8-4335-9a79-b8cc17dc243a)

Im going to add rarbg, search for rarbg or any indexer you want and click on the configure button

![](https://sli1n332.directus.app/assets/c30ec1f3-22d1-4637-8d8d-e8a823442a29)

A popup will appear, click the okay button, you should now have a torrent site configured on jackett

![](https://sli1n332.directus.app/assets/72e5a377-b749-4cf8-8108-902f6c9e544d)

Now we can add this to Sonarr and Raddarr

### Qbittorent


Once you Qbitorrent installed we need to make sure its accessible over a web gui, 
Open Qbittorent application go to settings -> web gui

![](https://sli1n332.directus.app/assets/8f362d15-4d22-42da-bd9a-f0e754d1b1f9)

You can leave the Ip address with * and feel free to change the port number if you already have an application running on that port, I will leave everything in default.
Don't forget to create a password  and click apply,

Now to downloads settings on the left menu

Make sure subcategories are selected
Change the download path mine is C:/completed-torrents
Use another path for incompleted torrents C:/downloading-torrents
Make sure those folders exist 

![](https://sli1n332.directus.app/assets/ce9327a0-f4a3-41fa-b1fd-e238a6ef6497)

Now scroll to Run external program -> Run on torrent finished

Add this in the text field "C:\Program Files\WinRAR\WinRAR.exe" x -r -y "%D\*.rar" "%D" this script will check if the torrent has any rar files and will automatically extract them for you. Make sure you have [winrar](https://www.win-rar.com/start.html?&L=0) installed

![](https://sli1n332.directus.app/assets/32a6558e-191b-4e62-abe2-be754cbdfe77)

Click apply and go to BitTorrent setting 

![](https://sli1n332.directus.app/assets/4cb6c397-1c18-4626-880e-2e3017fbf6f1)

Enable torrent Queuing this will limit how many download you can have at once.  Also, enable Seeding limits some private torrent sites require you to seed to a certain ratio with this you can make sure to stop seeding once that limit has been reached.

Click apply and then Ok and make sure you can reach Qbitorrent from a browser should be on port 8080 if you left it as default.
login with username and password and you should see the torrent on the browser now

![](https://sli1n332.directus.app/assets/fe9d2d0c-6dfc-4e83-8212-c12cfbc9d498)



### Plex

Plex straight forward sign up go over the install process, install plex server add your folder location for movies and tv shows.

Make sure you have created a folder for movies and tvshows on your hard drive

![](https://sli1n332.directus.app/assets/5d1d485a-1e32-4842-9705-40fde0184f5d)

![](https://sli1n332.directus.app/assets/f4bd538a-353d-42c1-be5f-81c2800b0d4d)

Repeat the same process for TV shows 

![](https://sli1n332.directus.app/assets/84562b41-af72-45ab-bbe8-e7862b921b06)

Click next then finish.

### Sonarr

Sonarr monitors multiple feeds for new/upcoming episodes of your favourite shows and will download, sort and rename them. Imagine an ongoing weekly tv show Sonarr will automatically grab every new episode and will add it to your plex library.

Open sonarr in localhost:8989, in windows, make sure to enable firewall rules to access this in other devices on your network
Have a look here https://forums.sonarr.tv/t/cant-access-sonarr-on-a-networked-computer/11195/7

#### Configuring Indexers

Go to settings -> indexers 

In here we are going to connect to jackett

Click on the + button to add a new indexer

![](https://sli1n332.directus.app/assets/787e4310-a453-4a5b-9794-f6cc06f9f942)

As you can see there a few Indexeres available already, but we are going to use Torznab to communicate with our Jackett service

![](https://sli1n332.directus.app/assets/77b78a59-1b34-4167-af09-205bad12d96c)

A special "all" indexer is available at /api/v2.0/indexers/all/results/torznab. It will query all configured indexers and return the combined results.

In the URL field use:  http://127.0.0.1:9117/api/v2.0/indexers/all/results/torznab

Make sure on the categories dropdown to select everything in TV and same for Anime categories.

Go to Jackett and copy the API key in the top right and paste it in the API Key field in sonarr

name the indexer `All`  and click on the save button



#### Download clients 

Go to download clients in settings and add new download client

![](https://sli1n332.directus.app/assets/8819c5e2-87b1-4158-b8bd-ac903347fec6)

Select your Download client mine is qBittorrent so will go ahead and select that,
I will open another modal, enter a name and the username and password you set
If you changed the port number make sure to update that too

![](https://sli1n332.directus.app/assets/1ab13928-c532-4a1a-9fab-a969d5e4469e)

It also created a category called tv-sonarr which will put all your sonarr downloads inside a folder called tv-sonarr

Click save

#### Connect

Now go to settings -> Connect

We now need to connect to plex, so once a show has finished downloading this will notify plex to update the server, click on the add Connections button and select `plex media serve`

![](https://sli1n332.directus.app/assets/96fe616b-fdf7-4282-8695-e06ffe7f89f1)

There are a few options here you can also use services like discord to notify you that a show as finished downloaded or been added to plex

![](https://sli1n332.directus.app/assets/6c15649b-8362-492c-9a75-30a93bc1892b)

Click on Authenticate with Plex.tv, make sure your host is correct then click save.

#### Media Management 

Click on add Root folder, find a path to your tv show folder you set up for plex and add it

![](https://sli1n332.directus.app/assets/b2874741-e87d-4941-8eed-99a6c48734af)

This should match the same directory in your plex media server for tv shows

Under Rename Episodes
Select the checkbox

![](https://sli1n332.directus.app/assets/02f5d5be-e429-40f9-ac3e-29dac5abdeed)

This will rename every file to match that standard

Now click on Save changes at the top of Media Management 

#### Profiles

If you go into settings -> profiles and delete the ones you do not want for example I want all my shows to be at least 1080p quality minimum, Delete all profiles, create a new one and select your desired resolutions, for me it will be 1080p/4k resolutions only 

![](https://sli1n332.directus.app/assets/da8fa048-8520-4001-9fd1-db5bcfa8629d)

Click on save button


#### Adding a show

If you go into the series and click add new, search for the show you want, then select the show a modal should appear

I'm going to add House of Dragon

![](https://sli1n332.directus.app/assets/1c7ab45c-ebf6-4cf2-b2c6-d7886e8ee08f)


Root folder is being automatically selected since we have only one, and the same for profiles. We can click on start search for missing episodes, but I will do this manually for now since I don't want to download the entire season, click Add button

You can start a search by clicking on the season folder if its a completed show it will download a season pack or you can search per episode

![](https://sli1n332.directus.app/assets/efadb8c3-894d-443d-8536-4754c45037fd)

I will search for Episode 1, this will enable a search on using our indexer from jackett.
If we open our torrent client we will see the show downloading

![](https://sli1n332.directus.app/assets/a8e516f9-29fe-4781-8bb9-a1cb62c9e741)

We can notice on Qbitorrent the category for this download is tv-sonarr

The amazing thing about Sonarr is it will now keep monitoring this Show so when season two is released it will automatically grab it and download the episode for you.

Once the download is complete it will be available on Plex

![](https://sli1n332.directus.app/assets/55919631-687f-4605-8f44-029ce2b2df8c)

Now if you look in the completed-torrents folder and the tvshow folder, you have two copies at the moment, this is to ensure Sonarr doesn't interfere with the seeding on the torrent client side, because we told Qbittorrent to remove and delete files once it was reached a seed ratio of 1 or passed a certain time whichever comes first. This will ensure the torrent file is seeded and then it will be deleted not to take out space on the HDD

### Radarr

Radarr is basically a fork of Sonarr but to manage movies, You can add upcoming movies and once it's available it will grab it and add it to plex

To set up Radarr repeat everything on Sonarr steps.

### Overseerr

Overseerr is a request management and media discovery tool built to work with your existing Plex ecosystem.

Overseerr helps you find media you want to watch. With inline recommendations and suggestions, you will find yourself deeper and deeper in a rabbit hole of content you never knew you just had to have.

Overseerr connect with Sonarr and Radarr to facilitate media request all in one place

Quickest way to get started with overseer is to install it with docker compose 

```yml

version: '3'

services:
  overseerr:
    image: sctx/overseerr:latest
    container_name: overseerr
    environment:
      - LOG_LEVEL=debug
    volumes:
     - ./config:/app/config
    ports:
      - 5055:5055
    restart: unless-stopped
```
> Don't forget to map the correct path to the `config` folder 

Build the docker image and complete the set up when you go to localhost:5055 you will need to log in with your plex account

Once you get to last step it will ask you to add Sonarr and Radarr settings.
You can find the API keys for Sonarr/Radarr in Settings -> General -> Security -> API Key

![](https://sli1n332.directus.app/assets/5690cf75-1008-44ae-be43-7293e95c8527)


Starting with Sonarr settings

At this point, you will need the IP of your device as Overseerr is running inside a docker image and it can't access the localhost hostname

Apart from required settings enable these settings too: 


Default 4k server,✔️
4K server ✔️
Season Folders ✔️
Enable Scan ✔️
Enable Automatic ✔️
Anime Quality Profile: select your profile
Anime Root Folder:  select your root folder
Anime Language: select default language

![](https://sli1n332.directus.app/assets/6c1d194a-5974-446e-8cbf-c2f5ac5d0b7a)

Test it and then Add Server

Now add Radarr server

![](https://sli1n332.directus.app/assets/bb28da45-6d35-4390-8632-2bdb675051e7)

Default 4k server,✔️
4K server ✔️
Season Folders ✔️
Enable Scan ✔️
Enable Automatic ✔️
minimum availability: Announced


Add server and finish the setup

You will see your dashboard and you can see all your current media here from Sonarr/Radarr 

To request a new show/movie select the movie/show you want to download

![](https://sli1n332.directus.app/assets/52f432fe-e9b3-40ad-96fe-a475bd04f8a4)

Click on the request button on the right side a modal will show and click on request button

The movie should now be added your Radarr library and begin to download

![](https://sli1n332.directus.app/assets/35f4c75d-4d57-420e-8500-4762dab4d486)

You can see both the movie downloaded and added to your Radarr library, If you add a TV show it will do the same thing