TrueNAS: Create Own “Home Media Streaming Server” Using Plex – Part 3

Everyone has a collection of movies, songs, music videos, pictures, and more. Many people wonder how they can stream this content to all their home devices.

The solution is to use Plex Media Server, which allows you to stream your videos over a LAN network in your home to devices such as smart TVs, iPads, mobiles, tablets, and laptops.

In our previous articles, we covered how to install TrueNAS Server and configure ZFS and NFS storage shares.

In this post, we will show you how to set up a home-based streaming server using the Plex Media Server plugin in TrueNAS.

Hardware Requirements

At a minimum, you’ll need one hard drive to store your media files, which can be either a traditional HDD or an SSD based on your performance needs and budget.

For a more robust setup, using at least two disks to enable a RAID configuration, such as RAID 1, which provides redundancy by keeping your data safe on the remaining disk if one fails.

The number of disks you need will also depend on the size of your media library. For instance, if you have a large collection of 4K movies, you’ll require more storage space compared to a collection of standard HD content.

Step 1: Creating a Storage Pool for Plex

To create a storage pool for your Plex media, you’ll need to connect additional drives for storing your media files (the capacity should be based on your needs). For my setup, I am using two 20GB drives to create a Plex pool using the RAID1 mirror method.

Open a web browser, navigate to your TrueNAS server’s IP address, and log in with your admin credentials. Then, go to the “Storage” > “Pools” and click on the “Add” button.

Create Storage Pool for Plex
Create a Storage Pool for Plex
Choose Create New Pool for Plex
Choose Create New Pool for Plex

Next, enter a name for your pool (e.g., “MediaPool”) and select your two 20GB disks from the list of available disks. Click “Add Vdev” to include these disks in your pool, then click “Create” to finalize the setup.

Choose Name for Plex Pool
Choose a Name for Plex Pool

Step 2: Creating a Datasets for Plex

Navigate to your newly created MediaPool, click on Add Dataset, enter a name for the dataset (e.g., PlexMedia), configure the settings as needed, and then click “Save” to create the dataset.

Choose Add Dataset for Plex
Choose Add Dataset for Plex
Choose Name for Plex Dataset
Choose a Name for the Plex Dataset
List of Storage Pools
List of Storage Pools

Step 3: Creating a Jail for Plex

A jail is an isolated environment within TrueNAS that allows you to run applications like Plex without affecting the rest of the system.

To create a Jails, navigate to Jails and click on “Add” to create a new jail.

Create Jail for Plex
Create Jail for Plex

Next, enter a name for the jail (e.g., “PlexJail”) and configure the settings as needed.

Choose Name for Jail
Choose Name for Jail
Creating Jail for Plex
Creating Jail for Plex

Step 4: Installing Plex Media Server on TrueNAS

Once the jail is created, navigate to Plugins, search for Plex Media Server among the available plugins, click Install, and follow the prompts to complete the configuration.

Install Plex in TrueNAS
Install Plex in TrueNAS

Next, choose the option to install Plex within the jail you created (e.g., “PlexJail”).

Choose Jail for Plex Plugin
Choose Jail for Plex Plugin

After installation and configuration, open a web browser and navigate to the following URL, make sure to replace jail_ip with the IP address of your PlexJail.

http://http://192.168.122.37:32400/web)
Access Plex Media Server
Access Plex Media Server

Step 5: Adding Media Files to Plex

In Plex, navigate to “Settings” and then “Libraries,” click “Add Library,” and choose the type of media you want to add, such as Movies or TV Shows.

Next, browse and select the dataset you created earlier, for example, “PlexMedia”, it will then scan this dataset for media files and add them to your library.

Add Media to Plex
Add Media to Plex

Now that Plex is set up and your media is organized, you can access it from any device connected to your network. First, install the Plex app on your phone, tablet, or smart TV. Then, open the app and sign in with your Plex account. You should now see your media libraries and can start streaming content.

Install Plex App
Install Plex App
Plex Media Server Streaming
Plex Media Server Streaming
Conclusion

You’ve successfully set up a home media streaming server using Plex with TrueNAS. You can now enjoy streaming your favorite movies, TV shows, and more from any device connected to your network.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

10 Comments

Leave a Reply
  1. Wozza, i had that same problem. It’s very simple. If you click on plexmedia and it asks you something about security you followed the steps on page 2. When u did that the service automatically turned off again. So u need to again turn the plugin on. Then it will work! Awesome tutorial, set it all up in my house. Thanks!

    Reply
  2. Followed to the letter, but does not work. Fresh install of FreeNAS 9.10, but when you click on the link to go to the Plex Media setup screen, just comes up with “Page not found”. Can’t see why :(

    Reply
    • Turn the service Plex on again. It automatically turned off when u clicked ok and then tried to click on ‘here’ for plex media. Check the plugin, its turned off.

      Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.