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.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.

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.

If this article helped, with someone on your team.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
TecMint has been free for 14 years. Help keep it that way.
Google AI Overviews and tools like ChatGPT have cut into search traffic for independent tech sites like TecMint. Running this site costs over $2,000 every month for hosting, infrastructure, and paying authors to keep the content accurate and tested.

If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.
☕ Buy Me a Coffee
Ravi Saive
I'm Ravi Saive, an award-winning entrepreneur and founder of several successful 5-figure online businesses, including TecMint.com, GeeksMint.com, UbuntuMint.com, and the premium learning hub Pro.Tecmint.com.

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

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.

Free Course
Get a free Linux course before you go.
Subscribe to TecMint Weekly and get the Learn Linux 7 Days Crash Course free. Read by 34,000+ Linux professionals every Thursday.
Something went wrong. Please try again.
Check your email for a magic link to get started.