TrueNAS CORETrueNAS CORE Nightly Development Documentation
This content follows experimental early release software. Use the Product and Version selectors above to view content specific to a stable software release.

Plex Plugin

As of TrueNAS CORE 13.1, this feature is untested and provided without support to the TrueNAS Community.

Users with a critical need to use virtualization solutions in production should use the tested and supported virtualization features available in TrueNAS SCALE. TrueNAS Enterprise customers can contact iXsystems to schedule a TrueNAS SCALE deployment.

This tutorial provides instructions on adding the community-favorite Plex application as a plugin. You need an account with Plex to complete these instructions.

Installing Plex

Create a dataset called audio and a dataset called video to be used as mount points for Plex. Next, go to the Plugins page.

Installing a basic PlexMedia plugin:

  1. Select the Plex Media Server plugin and click INSTALL.

PlexInstallButton

  1. Enter a name in Jail Name. For example, plex or whatever name you prefer. DHCP is set automatically.
  2. Click SAVE.

PluginsPlexMediaSave

A dialog window shows the installation progress.

PluginsPlexInstallProgress

When available, Plugin Installation Notes display when the install completes.

The plugin Status shows as up, with the Boot option selected. 4. Add the Plex mount points. Click > to expand the Plex plugin row.

PluginsPlexJailUp

  1. Click Stop, then click Mount Points.

PluginsPlexSetMountpoints

  1. Click Actions, then Add.

JailsMountPointsPlexAddMountpoint

Fill out one mount point for each previously created dataset. The Source is the created dataset and the Destination is the media directory with /datasetname appended (see example):

JailsMountPointsPlexSetMountpoint

  1. Click Submit. Do this for as many mount points as needed. In this example, we have audio and video.

  2. Modify the dataset permissions for each dataset added as a mount point in Plex. Go to Storage > Pools and click for your source dataset, then click Edit Permissions.

StoragePoolsPlexEditPermissions

Click Create a custom ACL and Continue.

StoragePoolsPermissionsPlexACL

Click ADD ACL ITEM and enter the values pictured below:

StoragePoolsPermissionsPlexPermissions

Set Apply permissions recursively and click Save.

  1. Go to Plugins, find the Plex entry, and click the > to expand the row. Click Start to start the plugin.

Accessing Plex

When the Plex plugin status is up, click the >, then Manage.

PluginsPlexManage

Enter your Plex login information.

PluginsPlexLogin

PluginsPlexSuccess