How to setup Plex on your Unraid server in your Smarthome

We’ve all tried to catalogue our downloaded media content manually on our machines. As our media content library grows, it becomes a headache to use and manage. Downloaded media content names are borderline illegible, you forget what yous have and haven’t watched and when you want to sentry something, you lot accept to scour through tens, hundreds or thousands of files.

Here’s where Plex comes to the rescue.

Plex magically scans and organizes your files, automatically sorting your media beautifully and intuitively in your Plex library.

Your Media | Plex

Stream your media with a consequent feel on all devices.

Recollect Netflix, but for your own media content. Plex groups similar media titles, remembers what you take, and haven’t watched, where you lot are up to in videos, has excellent search functionality, provides additional information derived from media content metadata and much, much more.

Plex was one of the biggest reasons behind me buying and setting up my NAS. I wanted the server to hold all my media content and all of Plex’s features helped me justify the costs associated with building the NAS.

In this article, I’m going to go through how I set up Plex on my Unraid NAS Server!

Note: This article assumes that yous’ve already setup Unraid. If y’all oasis’t bank check out this article.

Create an account on Plex

Navigate to, click
Sign up, enter your email, password and create your business relationship! All pretty standard stuff.

Before we install Plex on our server, we need to create an Unraid “Share” that is dedicated to holding our media content that we want Plex to catalogue.

Popular:   Difference Between Chain of Command and Span of Control

Open up Unraid, click on the
tab then click
Add Share:

On the
Share Settings
page, fill out
Share name
and click
Add Share:

Once this share has been created, I recommend creating folders that carve up the type of media content you wish to store. To do this, open Unraid in your file browser (\\{UNRAID_IP}) on Windows.

For example, I created folders called
Videos. So I now accept the two directories:

  • \\{UNRAID_IP}\Media\Photos
  • \\{UNRAID_IP}\Media\Videos

Installing Plex

We’re going to exist using Docker to assistance us install/manage Plex. Unraid has first-class support for Docker and comes with information technology already gear up upward (one of the biggest reasons why I chose the Unraid OS for my NAS).

Before we install Plex, we need to install an Unraid plugin which makes it super like shooting fish in a barrel to search for and install Docker images/containers. The plugin is called
Community Applications.

Navigate to
Install Plugin, add the following URL and click

You will then have access to a new tab called

Plex Docker Image

Navigate to the new
tab, search for “Plex” and click the install icon for
Plex Media Server
(the official Plex Docker image):

You’ll be taken to a screen called
Add Container.

There are three fields you’ll have to add:

  • Container Path: /transcode (Host Path two):
  • Container Path: /data (Host Path 3):
  • Container Variable: PLEX_CLAIM (Key 1):
    Navigate to Log in, then copy paste the Plex Claim code hither.
Popular:   Difference Between Amyloid and Prion

Apply, then the Docker prototype will download and the Docker container will be set up.

Setting up Plex

Now that we’ve setup our Plex Docker container, we have to perform some final steps inside our Plex instance before we can start using it.

Navigate to
Docker, left click the Plex logo and click

Yous’ll exist redirected to Plex server: http://{UNRAID_IP}:32400 (which I recommend bookmarking in your browser).

Now nosotros demand to have Plex create libraries for our two content directories,

Click the settings icon in the top right:

In the side card, under your new server click
Library. And then click
Add Library.

First, let’s setup a Plex library for
Videos. In the popup, select the
Tv programmes
library blazon, enter a proper name for your library then go to
Add folders:

Browse for Media Folder
and under
data, you’ll discover the 2 folders we created in our
share. Click
and click

Then click
Add together Library:

The reason why it’s a bit tricky to find these folders is because nosotros’ve mapped the
directory in Plex to our Media share (if yous look at the Docker container settings).

Echo the process for
Photos, simply using the
library blazon. Go back habitation, and yous should run into the new Photos and Videos library. If you lot have whatever content in these directories, I recommend running
Scan Library Files, then the Plex catalogue gets updated (you should practise this anytime y’all add new content):

That’s it! Plex is now set up upwards on your Unraid server.

Popular:   Difference Between Bonus Depreciation and Section 179

Now, move all your existing media content to these new directories we created in our Unraid share. Don’t forget to run
Scan Library Files
anytime you add new content.

Y’all can also visit, login and click
to watch your media content (as opposed to opening the Unraid Plex web instance).

Side by side steps

I’ve written a few manufactures which provide instructions on how to gear up software that
the downloading of media content. Check them out if yous’re interested in setting upward such a thing:

  • Installing Radarr, Sonarr and Deluge on your Unraid Server
  • Configuring your Usenet Provider and Indexer with Sonarr/Radarr on Unraid

How to setup Plex on your Unraid server in your Smarthome