How to Install Plex on OpenMediaVault

  • Post author:WunderTech
  • Post published:July 6, 2022
  • Post last modified:October 22, 2023
  • Post category:OpenMediaVault
  • Reading time:11 mins read

In this tutorial, we’re going to take a look at how to install Plex on OpenMediaVault.

The easiest way to install Plex on OpenMediaVault is to use Docker, however, to get Docker up and running, we have to install OMV-Extras. This is easier if you’re using a Raspberry Pi, but if you have OpenMediaVault installed on another device, we’re going to install OMV-Extras first. After that, we’ll be able to quickly install Plex using Docker and Portainer.

How to Install Plex on OpenMediaVault

As mentioned above, we will use Docker to install Plex but will need to install OMV-Extras first.

How to Install OMV-Extras, Docker & Portainer

1. Select System, then Plugins, and install openmediavault-wetty. This is how we’ll install OMV-Extras. Alternatively, you can simply access the terminal through the device where OpenMediaVault is currently installed.

the weTTy package in openmediavault.

2. Enable WeTTy by selecting Services then WeTTy, save, then apply the changes. Select Open UI.

enabling wetty in openmediavault.

3. Login with your user account.

logging in with the root user in the terminal.

4. Enter the command below to install OMV-Extras. The package will install after a few seconds.

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
downloading the OMV-extras plugins in openmediavault.

5. We’re now going to get the directory where our media files are stored for a later step. Enter the commands below in order to view your shared folders.

cd /srv
ls

Navigate into the dev folder and confirm that your media is there.

cd /[DEV_PATH]
ls
navigating to the srv location in openmediavault.

Copy the path as we’ll need it at a later step (in my example, it’s /srv/dev-disk-by-uuid-9dcbba01-019e-4270-ab86-5c3e4777fa62/Media).

6. Refresh the OpenMediaVault GUI and under System, you should have a new tab called omv-extras.

selecting ther omv-extras tab in openmediavault.

7. Select Docker and Install it.

selecting and installing docker in omv-extras.
selecting and installing docker in omv-extras.

8. After Docker is installed, select Portainer and install it.

selecting and installing portainer.

9. Navigate to Portainer by entering the IP address of your OpenMediaVault server and port 9000 or by selecting Open Web in the Portainer dialogue.

http://OMV_IP:9000
determining which port portainer should use.

10. Create a user account.

adding a username and password for portainer.

11. Select Get Started as we’ll be using Docker on our current OMV installation.

selecting the get started tab in portainer.

12. Select Local.

select local in portainer to view the local docker instance.

How to Install Plex on OpenMediaVault

1. We’re first going to create a volume for our Plex configuration. Select Volumes, then Add Volume and create a new volume named Plex. This is where our configuration files will be stored.

adding the plex volume in portainer.

2. Select Containers then Add Containers.

creating the new container for plex.

3. Give the container a name, then enter the Image as linuxserver/plex:latest.

adding the name and image for plex in portainer.

4. At the bottom, select Volumes and then map additional volume.

adding a volume in proxmox for plex.

5. Create a volume for the /config directory and map it to the Plex volume that we created earlier. Map a second path for your media files.

NOTE: You may have multiple media folders that you’ll have to map. I personally store all of my media files in an individual folder, but you might have multiple. For the media folders, select Bind next to the container path and enter the path we found above.

the volumes that should be mounted for plex in openmediavault.

6. Under Network, select host.

selecting the host network in portainer.

7. Change the Restart Policy to Always.

setting the restart policy as always.

8. In Runtime & Resources, select Privileged Mode.

running plex in privileged mode in docker.

9. Finally, Deploy the container.

deploying the plex container.

10. Navigate to the URL below, substituting your OpenMediaVault IP address, and then log in.

http://OMV_IP:32400/web/index.html
how to install plex on openmediavault - logging into plex in openmediavault.

11. At this point, you’ll have to go through the Plex setup process to add your media files.

add libraries to the plex install.

12. After you finish setting up Plex, all of your media should start to crawl in!

showing the movie 300 crawled into plex on openmediavault.

Conclusion – How to Install Plex on OpenMediaVault

This tutorial looked at how to install Plex on OpenMediaVault. The setup process for Plex isn’t too difficult and is portable as it uses Docker. Unfortunately, Docker is a little tougher to get installed on OpenMediaVault as you have to first install OMV-Extras. However, once you get it up and running, you should be able to easily install the container and add your media.

Thanks for checking out the tutorial on how to Install Plex on OpenMediaVault. if you have any questions on how to install Plex on OpenMediaVault, please leave them in the comments!

WunderTech

Frank is an IT professional with 13+ years experience and the creator of WunderTech. He focuses on sharing his experience with others on computer hardware, servers, software, networking, and self-hosted apps. He has a BS in Computer Information Systems and an MBA. Learn more about Frank in his bio.