Plex on TrueNAS: Setup Guide for Media Streaming
In this article
Yes, you can run a Plex media server directly on TrueNAS, and it is one of the most popular ways to build a home streaming setup. TrueNAS (both Core and Scale) supports Plex as a plugin or application, turning your NAS into a dedicated media server that streams to TVs, phones, and computers.
What Is TrueNAS and Why Use It for Plex?
TrueNAS is a free and open-source operating system built on FreeBSD (Core) or Linux (Scale). It uses the OpenZFS file system, which provides data integrity, snapshots, and easy expansion. For Plex, TrueNAS offers a stable platform with robust storage management, making it ideal for large media libraries. The main advantages are:
- Data protection: ZFS checksums and snapshots protect against bit rot and accidental deletions.
- Performance: ZFS handles large files and many simultaneous streams well.
- Low cost: You can run TrueNAS on commodity hardware, and the OS is free.
TrueNAS Scale is the newer version and runs Plex as a Docker container, which is easier to update and manage. TrueNAS Core uses a plugin system based on FreeBSD jails. Both work, but Scale is the recommended path for new installations.
How Plex on TrueNAS Works
Plex Media Server organizes your movies, TV shows, music, and photos into a clean interface. The server runs on TrueNAS, scans your media folders, and streams to Plex apps on any device. The key components are:
- Plex Media Server: The software that indexes your library and handles streaming.
- TrueNAS storage: Your media files live on ZFS datasets, which you can share with the Plex app.
- Plex clients: Apps on smart TVs, streaming sticks, phones, and web browsers.
When you install Plex on TrueNAS Scale, you create a Docker container that mounts a dataset (e.g., /mnt/pool/media) to a path inside the container (e.g., /media). You then point Plex to that path when adding a library.
Step-by-Step Setup on TrueNAS Scale
- Install TrueNAS Scale on your hardware (minimum 8GB RAM, but 16GB+ recommended).
- Create a pool under Storage → Pools. Use a RAID-Z1 or mirror for redundancy.
- Create a dataset for media, e.g.,
pool/media. - Go to Apps → Discover Apps and search for “plex”.
- Click Install and configure the app: set the storage path to your media dataset and give Plex a host path like
/media. - Set the timezone and any other settings (e.g., port 32400).
- Start the app and note the IP address and port.
- Access Plex at
http://your-nas-ip:32400/weband complete the initial setup.
For TrueNAS Core, the process is similar but uses Plugins → Plex. You’ll need to create a jail and mount your media dataset manually.
Hardware and Transcoding Considerations
Plex transcodes video when the client can’t play the original format. This is CPU-intensive, but you can offload it to a GPU. Key points:
- CPU: A modern Intel CPU with Quick Sync (e.g., Intel Celeron, Core i3) can handle several 1080p transcodes.
- GPU: For 4K transcoding, a dedicated GPU (Nvidia or Intel Arc) is recommended. TrueNAS Scale supports GPU passthrough to Docker containers.
- RAM: 8GB is the minimum, but 16GB+ is better for ZFS caching and Plex.
- Network: Gigabit Ethernet is essential for multiple streams. Wi-Fi is not recommended for the server.
If you plan to direct-play (no transcoding), even a low-power NAS can handle multiple streams. Transcoding only happens when the client can’t play the file natively, such as when you’re on a slow internet connection or using a browser.
Common Problems and Fixes
- Plex can’t see media files: Check that the dataset is mounted correctly in the container. In TrueNAS Scale, verify the “Storage” settings in the app’s configuration.
- Transcoding is slow or stutters: Enable hardware acceleration in Plex Settings → Transcoder. Ensure your CPU/GPU supports it and that the driver is installed in TrueNAS.
- Plex app shows “Server unavailable”: Make sure Plex is running and that port 32400 is not blocked by a firewall. On TrueNAS, you may need to allow the port in the network settings.
- Updates fail: For TrueNAS Scale, update the Plex Docker image via the Apps interface. For Core, use the plugin update button.
TrueNAS Core vs. Scale for Plex
TrueNAS Core (FreeBSD) has been the traditional choice, but Scale (Linux) is now the recommended platform for Plex. Scale offers Docker containers, which are easier to update and have better GPU support. Core’s plugin system is older and sometimes lags behind Plex updates. If you’re starting fresh, choose Scale. If you already have a Core system, it still works, but you may eventually migrate.
Costs and Alternatives
TrueNAS itself is free. The costs are your hardware (NAS, disks, RAM) and electricity. Plex has a free tier, but Plex Pass (one-time or subscription) adds hardware transcoding, offline downloads, and other features. Alternatives to Plex include:
- Jellyfin: Free and open-source, with similar features but no paid tier.
- Emby: Similar to Plex, with a paid tier.
- Kodi: A media player that can stream from a NAS, but not a full server.
If you want a simple setup and don’t need remote access, Jellyfin is a strong free alternative.
Frequently Asked Questions
Is Plex on TrueNAS free?
Yes, TrueNAS is free, and Plex Media Server is free to install and use. You only need a Plex Pass if you want hardware transcoding, mobile app access, or other premium features.
Can I run Plex on TrueNAS Core?
Yes, TrueNAS Core supports Plex as a plugin. However, TrueNAS Scale is now the recommended version for Plex because it offers Docker containers and better GPU support.
Do I need a powerful CPU for Plex on TrueNAS?
It depends on whether you need transcoding. If you direct-play everything, a low-power CPU is fine. For transcoding, an Intel CPU with Quick Sync or a dedicated GPU is recommended.
How do I access Plex remotely?
Enable Remote Access in Plex Settings. You’ll need to forward port 32400 on your router, or use Plex’s relay (slower). For better security, consider a VPN.
Can I use a Raspberry Pi as a TrueNAS Plex server?
TrueNAS officially requires x86-64 hardware, so a Raspberry Pi (ARM) is not supported. You could use a different NAS OS, but TrueNAS won’t run.
How do I update Plex on TrueNAS?
On TrueNAS Scale, go to Apps → Installed, find Plex, and click Update. On Core, use the plugin’s update button in the UI.