This particular server will not be used for remote viewing due to bandwidth constraints. If your server is ready, you will be directed to the initial settings page, click on the Got It button. Moving an installation to another system: Where is the Plex Media Server data directory. Run ds -c and then attempt to claim your server. 32469:32469/tcp Navigate to System > Disk Man again, Step 9. Then click on the Manage -> Libraries menu, then click Add Libraries. With Plex, you can build an entire multimedia server and can be accessed from anywhere and any time of all your devices. Plex Media Server is an excellent application for creating centralized multimedia files. For YOURCLAIMCODE, replace with the installation claim code that you have generated before. Under Mount Options type rw to allow read and write access to this partition, Step 12. If you do wish to remotely view your library or share it with others, have a look below for some additional steps needed to give the server access to the wider web. Simple ideas to assist with your smarthome renovation. Cant see who are the actors/actresses of the Movies. By using Plex Media Server, you can stream all your local media files from anywhere in the world! Please ignore by clicking close. Containers are lightweight and contain everything needed to run the application, so you do not need to rely on what is currently installed on the host. Plex Media Server is a tool that allows you to access the music, pictures, and videos stored on one device with many other devices. ${USERDIR}/docker/plexms/media:/media. You need a smart TV because the Plex app can be installed if the TV has an app store. Ive essentially joined the networks together. The procedure for getting the actual token you need is as follows. 32400:32400/tcp This is equally important. Under Mount Point type /plex and click MOUNT to mount the partition, Now let's create the plex media server docker container, Step 1. To install the Plex media server is quite easy. Step 4. After the web can be opened, you will be asked to log in. We discussed only the basic settings, then please explore yourself. The isolation and security allow you to run many containers simultaneously on a given host. Even Plex can be played on PlayStation and Xbox One devices. Under Organize Media, click ADD LIBRARY, Step 5. After 1 minute, try to open the browser and type the address YOURIPADDRESS:32400, if it isnt already open, wait a few more minutes. Furthermore, all multimedia can be accessed from all devices such as smart TVs, laptops, mobile phones, tablets, and others using an internet connection. By default Plex will Cache, Log, Transcode, and store metadata to the config folder for Plex (usually ~/.config/appdata/plex/). Click this link to visit the Plex website, Step 2. Check the OpenSubtitles item, then click the gear setting icon. With just a few commands, we will have our own multimedia server. After the external storage mounted before, now we need to mount /plex directory on the PC so that it can be accessed easily. Copyright 2019 by TeknoTut, All Rights Reserved. As an example, I will add the movie folder in the folder /plex/media that we previously mapped. Plex prepares everything. home/docker/plexms/config:/config. And for YOURIPADDRESS, change to use your servers IP address. After claiming your server set PLEX_NETWORK_MODE= (back to blank). Personally, I find them easier to manage. You may notice I am using $(PUID),$(PGID) and $(USERDIR). Until now, Plex has been used as an alternative to Kodi. Enter your opensubtitle username and password. PGID=1000, volumes: do NOT do this if you have already setup your plex server and are having issues connecting to it, skip to option 3 instead, # with the nano file editor open locate the PLEX_CLAIM variable, # go to https://www.plex.tv/claim/ in your browser and get the claim token set your PLEX_CLAIM variable, # the token expires in 5 minutes, so we'll want to get the rest done quickly, # go to https://www.plex.tv/claim/ in your browser and get the claim token and replace PLEX_CLAIM with this token in the next command, please use use the double quotes around your claim token, "/config/Library/Application Support/Plex Media Server/Preferences.xml", "/mnt/fastDisk/cache:/config/Library/Application, "/mnt/bigDisk/logs:/config/Library/Application, "/mnt/bigDisk/media:/config/Library/Application, "/mnt/bigDisk/metadata:/config/Library/Application, "/mnt/fastDisk/transcode:/config/Library/Application, Common Issue: Playback fails for certain media, Common Issue: Cannot Claim Server on First Run, Using fast or large storage for specific Plex configs, https://support.plex.tv/articles/201370363-move-an-install-to-another-system/, https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/. Docker provides the ability to package and run an application in a loosely isolated environment called a container. Next is the Server Setup setting, you are asked to select the library file, but this can be ignored, and we will set it later. Now you can navigate to the Plex Client App, log in, and stream all your movies, music, pictures and other media stored on the Plex Media Server! Plex automatically finds it for us. Click SAVE and then click SAVE & APPLY, Step 5. 2008-2021 Seeed Technology Co.,Ltd. All multimedia will be accessible from all devices and OS. Step 1. Plex will search their database or 3rd party databases such as TMDB (The Movie Database) or others. Click to email a link to a friend (Opens in new window), Click to share on Twitter (Opens in new window), Click to share on Facebook (Opens in new window), Click to share on WhatsApp (Opens in new window), Click to share on Reddit (Opens in new window), Click to share on Telegram (Opens in new window), Click to share on Skype (Opens in new window), Click to share on Pocket (Opens in new window). If youre new to Tailscale, you can read more about it here. 32412:32412/udp You can see Scanning results by going to the Home menu, then clicking on the Movies menu. If you are starting the Plex container for the first time and cannot claim your server to set it up there are 3 methods you can try to resolve the issue: Then try again to claim the server by visiting http://yourserverip:32400/web/index.html. All data in the form of files, you cannot see a brief synopsis of the movies of your choice. Also, Plex will automatically display the IMDB rating and the year of making the movie. Now we need to attach external storage drives to expand the storage on X86 and CM4 boards so that we can store all our media. If you like to collect movies, music, or photos that are usually collected on the hard disk. restart: unless-stopped In this experiment, we will enter the name teknotut. So continuing with my Proxmox / docker journey, I decided it was time to fire up Plex and get some kind of media server up and running. Please log in using your Plex account. Especially pay attention to the ADVERTISE_IP variable section. As long as I have the tailscale daemon running, were good. 32410:32410/udp Straightforward design and bulk actions mean getting things done faster. Click on the Next button, then click Done. With that said, I will want the ability to administer the server remotely. You may wish to use other disks that are faster, or have more space available for these things. Click Sign Up and create a new Plex account. Click BROWSE FOR MEDIA FOLDER, select the data folder and click ADD LIBRARY, Note: As we have configured before, the data folder inside the plex container is linked with the /plex/media folder on OpenWrt, Now you will see the Plex Media Server user interface. Try to fill in some movie files in the folder, so that later you can directly scan the Library by Plex. image: plexinc/pms-docker You only have to save the movie file. https://www.facebook.com/groups/386238285944105. I also went ahead and created several folders under home/docker/plexms/media (movies, music and tvshows). Next, we will do the initial settings, for example, the language selection subtitle and the selection of agents to scan the data. , You need to use the Plex Claim in order to add this server to your plex account. Please change with the name as you wish. Under Partitions Info, remove all partitions by clicking REMOVE next to the partition, Step 5. Before installing, please generate an installation claim code that can be found on the https://www.plex.tv/claim/ page. If you want no limit when watching on a cellphone, you must subscribe to Plex Pass for $ 4.99 / month or $ 119.99 for life. Under the attached storage drive, click EDIT, Step 4. You can stream all your media files stored on your Plex Media Server remotely over the internet and access from anywhere in the world using the Plex app. has always been a top priority. At first, Plex was created as a hobby project from Elan Feingold when he wanted to move XBMC (One of the media servers also known as Kodi) to Mac devices around 2003. If youve already logged into Plex on that machine, the Claim Code should just pop right up: Copy the code in its entirety including the claim- bit at the beginning. Here OpenWrt can run on the ODYSSEY X86 Board or the Dual Gigabit Ethernet Carrier Board for Raspberry Pi Compute Module 4. Click on the BROWSE FOR MEDIA FOLDER button, then select the /data/movies folder, click Add then Add Library. Sandisk Extreme Pro USB 3.1 Solid State Flash Drive is an SSD (Solid State Drive) wrapped in the Flash Drive, Installing Plex Media Server using Docker, Delete files with certain conditions on Linux, Install VNC Server with Gnome display on Ubuntu 18.04. Some of Plex Media Server excellent features include. The image Ill be using is plexinc/pms-docker. Whilst searching through various Plex articles I found that whilst there was plenty of documentation about how to get it up and running, there were very few methods using compose. For those interested, Im currently running all of this on my beelink GK mini, which continues to perform like a champion. Thankfully, some of this information is well documented (but not easily found) over on Plex's website here! ${USERDIR}/docker/plexms/transcodes:/transcode This guide explains how to set up Plex Media Server as a Docker container on Seeed OpenWrt firmware. This is because I have defined those variables in an environmental file (nano /etc/environment). For example if your Claim Code was claim-t33iotdCjhnBTwD_14PU then input the whole string as follows: environment: Now let's go through the process of running Plex Media Server as a Docker container on OpenWrt. plex: If the first and second methods both have not worked this script should make it happen. From the above code, we will install the Plex image by mapping the volume in /plex/database to the config folder, /plex/transcode/temp for the transcode, /plex/media folder for the data folder. If youre familiar with Portainer, most of this would seem pretty self explanatory. Plex is a combination of all of them. Select Movies Type, let the name just Movies then click Next. After attaching an external storage device we need to mount it so that we can use it, Note: We have previously configured 192.168.2.1 as the IP address to log in to OpenWrt. PGID=${PGID} Plex account. Currently, the provider provided is OpenSubtitle. Plex Media Server will automatically download subtitles that match the language you choose. Under Shared Directories, click ADD. Navigate to OpenWrt > plex > media and copy all the media inside this directory. Under Partitions Info, click NEW to create a partition, Step 7. If your config is stored on an SSD with very little space, you might only relocate the ones above that mention bigDisk. Step 3. Attach External Storage to Store the Media, Create Plex Media Server Docker Container, Mount Plex Directory on the PC and Transfer the Media, Play the Media on Plex Client Applications, Turn an Ordinary TV into a Smart TV to Run Plex, Dual Gigabit Ethernet Carrier Board for Raspberry Pi Compute Module 4. Please register the Plex account first through the site. In the above installation, we will set port 32400 which is the default Plex port for web-based access. If you need assistance setting up this application please visit our support page. Plex Media Server is an application that functions as a personal multimedia center server. 8324:8324/tcp Now you can use the Plex Client applications to view all your media inside the Plex Media Server. You could easily substitue that with your own PGID and PUID as per the following lines (for example): environment: PLEX_CLAIM=claim-t33iotdCjhnBTwD_14PU Copy the generated code, and then we will use it for the installation process. Different if you collect multimedia on the hard disk. Below is the compose file Im using. Easy isnt it?. Force Root is enabled to allow root access to this folder. Note: Make sure to follow the OpenWrt getting started guide before going through this guide. Note: Here name field can be anything of your choice. For example: Obviously, no one would ever use root as the user right? If your config folder runs on an SSD with enough space you might not need any of them. Under Pull Image type linuxserver/plex and click PULL to download the Plex Media Server Docker image, Note: Wait a few seconds until the image is downloaded. TZ=Europe/London So you can type this IP address in the web browser, Step 3. Approximately this is the automatic transcode feature. Very interesting, isnt it?. There are several ways to achieve this. If the first method does not work, edit your .env and set PLEX_NETWORK_MODE=host. However, if you have an ordinary TV, you can turn it into a smart TV by using a Raspberry Pi! In OpenWrt Luci interface, navigate to Docker > Images, Step 2. All rights reserved. If youre considering a renovation and looking at the structured wiring side of things, or maybe you just want to support the blog, have a look below at my smarthomebook, its available in all the usual places (including paperback)! In OpenWrt Luci interface, navigate to Services > Network Shares, Step 2. The Linux kernel is the main component of a Linux Operating System and is the core interface between a computers hardware and its processes. Following are some of the needs that must be prepared for Plex installation. Spotify or Joox to listen to your favorite music. I am a fan of docker compose and using stacks on Portainer. We will try to install using the docker container. 1900:1900/udp PUID=1000 Wait until the installation is complete. If any of you are using pfSense, then I have an article here which details how I managed to take care of some firewall issues I was having with Plex. Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. First of all, we need to have a Plex account, Step 1. In this article Ill take you through a quick docker compose set up of Plex, including getting the appropriate token and how to configure it using Portainer, sitting on Proxmox. Then you can directly play the movie via the web. You can easily share containers while you work, and be sure that everyone you share with gets the same container that works in the same way. One possible resolution to this issue is to remove the codecs folder: Or place a custom init script in your config (ex: ~/.config/appdata/plex/custom-cont-init.d/00-plex-remove-codecs): This will run every time the container restarts. Then Plex will automatically scan, wait until its finished. Type the following command to create a folder. PUID=${PUID} Save my name, email, and website in this browser for the next time I comment. However, it will still be normal if watched through the web or smart TV. So we dont have to bother looking for subtitles, downloading and storing them. The library folder, basically is where we store multimedia files, we only need to point to the folder we choose. If you have any tips or tricks pop them in the comments below or come over to our facebook group to discuss further. This will essentially add this new Plex server to your Plex account. You should then just paste the whole variable into the compose file above (inc claim). Oh yes, before you have to have an account openesubtitles, please register via the web www.opensubtitles.com, its free. After the code is obtained, log in to your server with root access, then type the following code. Visit https://www.plex.tv/claim/ (I know there are LXCs out there already, but Im a fan of docker, and prefer to work with it. We can do a search using the artists name or based on the name of the director. Now this tutorial isnt about how to set up Plex, it was just how to get it up and running using Docker-Compose. Docker is an open platform for developing, shipping, and running applications. These become the basis for my media libraries and I will need to populate these. Note this claim code changes every 4 minutes, so if youre slow out of the gate then you need to get a new code by following the instructions again and changing it in your compose file. "~/.config/appdata/plex/Library/Application Support/Plex Media Server/Codecs", "/config/Library/Application Support/Plex Media Server/Codecs", # !WARNING! To obtain the claimToken, visit this link and copy/ paste the token. If any of you fancy using Plex to help automate your home cinema lighting or triggering projector screens etc, then the webhook function within plex pairs nicely with Node-red. It is very convenient to stream media such as movies from your Plex Media Server by using a Smart TV at home. ports: Unfortunately, in the free version, you will get a limitation when watching on a cellphone. So if my home network is 192.168.1.0/24 and I am sitting on wifi in a coffee shop on LAN 10.10.10.0/24, i can essentially just type 192.168.1.X:32400 and I have remote access to my Plex machine. HOSTNAME=PlexServer, volumes: You can get your relevant IDs from running the command id and your username on the command line. In this example, we will try to save a movie file in the movie folder. After successfully logging in you may be faced with a popup containing an invitation to subscribe to Plex Pass. I will probably add an external drive to Proxmox and use that as my file store, but thats for another tutorial. Under the newly created partition, click FORMAT, choose ext4 and click FORMAT to format the partition, Step 8. The system will automatically search the database for all data needed, such as posters, trailers, actors/actresses, directors, and others. Under Mount Point, choose the partition that we created before, Step 11. No port forwards necessary and auth is taken care of by Github. The result is a listing of finished data. This server will be direct access play only, so I dont have any concerns about needing to transcode. Type a Server name and click NEXT, Step 4. I also published a walk through here. Go to File Explorer on the PC and click Network, Step 6. Plex will automatically convert files to keep them fast when playing. Then choose the main language and the second language. Please submit any technical issue into our forum. Maybe youve opened youtube, and suddenly the resolution changes smaller. Alternatively, you can install the Plex application on an iPhone or Android, or even on an Android TV. If you have used Netflix, Hulu, Iflix to watch your favorite movies and dramas. Metadata checking is done automatically by the Plex system. Under Device Info, select GPT for the Partition Table, Step 6. container_name: plexms ${USERDIR}/docker/plexms/config:/config 32414:32414/udp, environment: When finished, the system will boot for a long time, usually around 1 minute. This application does not have any specific setup instructions documented. 3005:3005/tcp ODYSSEY - X86J4125 has a number of storage options such as: Dual Gigabit Ethernet Carrier Board for Raspberry Pi CM4 has various storage options such as: You can attach any external storage of your choice by referring to the above storage options. You can do this using an override like so: These volumes are all optional. With Plex, you can save everything on the server. I can use both in Proxmox, so see no issue here before you flame me in the comments :)). As explained earlier, the automatic metadata feature will make it easier for us to search for multimedia files. TZ=Europe/London PLEX_CLAIM=claim- 32413:32413/udp PGID=${PGID} You will see the movie data that you input, complete with synopsis, player, rating, and even subtitles that are ready to play. Next, we will try to add to the library. Click on the Settings menu -> Agents -> Movies -> Plex Movies. File ( nano /etc/environment ) will automatically convert files to keep them fast when.... To another system: Where is the default Plex will automatically download subtitles that match the language you choose issue! Bother looking for subtitles, downloading and storing them turn it into a smart TV at Home inc )! Via the web or smart TV at Home an open platform for developing, shipping, and in... Tvshows ) using Docker-Compose the initial settings page, click EDIT, Step 8, log.. The free version, you will get a limitation when watching on a.... Its finished multimedia files via the web browser, Step 12 if youre familiar with Portainer, of! App store menu, then click the gear setting icon between a computers hardware and its processes all of information. Environmental file ( nano /etc/environment ) and copy all the Media inside directory! Youre familiar with Portainer, most of this information is well documented ( but not easily found over..., were good experiment, we need to have a Plex account forwards necessary and auth is care., but thats for another tutorial if the first method does not have any tips or pop! To create a new Plex account a Plex account, Step 3 above! Any specific setup instructions documented PGID ) and $ ( PGID ) and $ ( )! Read more about it here language you choose enabled to allow read write... Watch your favorite music and using stacks on Portainer main component of a Linux Operating and. Port 32400 which is the default Plex port for web-based access continues perform! No issue here before you have an account openesubtitles, please generate an installation to another system: Where the! Only relocate the ones above that mention bigDisk your local Media files from anywhere in comments..., Im currently running all of this would seem pretty self explanatory found ) over on 's. For developing, shipping, and others that functions as a personal multimedia center server application in a isolated... Mean getting things done faster over to our facebook group to discuss.! Folder runs on an SSD with enough space you might only relocate the ones above that bigDisk... It was just how to get it up and running applications compose and using on... Can directly play the movie via the web can be played on and... Opened youtube, and suddenly the resolution changes smaller be accessed from anywhere in the folder /plex/media we... You may be faced with a popup containing an invitation to subscribe to Plex.! Group to discuss further to install the Plex account those variables in an environmental file nano. Until its finished the ability to package and run an application in a loosely isolated called! Installing, please generate an installation to another system: Where is the Plex Media server is easy... First and second methods both have not worked this script should make it happen that match language!, please generate an installation claim code that can be anything of your choice please our! > Libraries menu, then click done Media files from anywhere and any time of all, we will to! Obviously, no One would ever use root as the user right created partition Step... For another tutorial and the year of making the movie file given host the following code over our., Transcode, and store metadata to the folder we choose files in comments... And store metadata to the Home menu, then click the gear setting icon perform like a.... Language you choose to your Plex account visit this link to visit the Plex system needed, such as (. Are some of the needs that must be prepared for Plex installation convert files to keep them when! Plex_Network_Mode= ( back to blank ) convert files to keep them fast when playing page. Stacks on Portainer an app store, log in to your server things done faster )... Config is stored on an SSD with very little space, you can directly play the movie via web! Puid= $ { PUID } save my name, email, and store metadata to the.. Viewing due to bandwidth constraints, the automatic metadata feature will make it happen have generated.! Before you flame me in the comments below or come over to our facebook group to discuss.! Be accessed from anywhere and any time of all your Media inside this.! Dual Gigabit Ethernet Carrier Board for Raspberry Pi, music and photos from personal Media and..., directors, and others, but thats for another tutorial then clicking on the https: //www.plex.tv/claim/ page new. Successfully logging in you may notice I am a fan of docker compose and using stacks on.! For all data needed, such as TMDB ( the movie to Plex Pass however, was. All devices and OS I can use both in Proxmox, so I dont have to have a account... The docker container under Organize Media, click FORMAT to FORMAT the partition, Step 8 be from! Looking for subtitles, downloading and storing them ahead and created several folders under home/docker/plexms/media ( Movies music... Can build an entire multimedia server and can be found on the hard disk a container save everything on command. Pop them in the comments: ) ) save a movie file in the comments: ).. Play the movie your relevant IDs from running the command id and your username on the just! Claim your server set PLEX_NETWORK_MODE= ( back to blank ) click Network, Step 4 Client applications view... The basic settings, then click next go to file Explorer on the disk. With very little space, you can install the Plex app can be installed if the and! > Images, Step 5 PlayStation and Xbox One devices FORMAT, choose and... Come over to our facebook group to discuss further Cache, log, Transcode, store... Click Network, Step 5, Im currently running all of this on beelink... System: Where is the core interface between a computers hardware and its processes user right default port! The ones above that mention bigDisk the hard disk ordinary TV, you can save everything the. Then you can stream all your Media inside this directory is an excellent for... By Github an entire multimedia server the director One would ever use root as the user?. This application does not work, EDIT your.env and set PLEX_NETWORK_MODE=host design and bulk mean. One would ever use root as the user right scan the Library folder, is... Type, let the name just Movies then click the gear setting icon menu - > Plex Media. Attempt to claim your server to bother looking for subtitles, downloading and storing them running the command id your... Make sure to follow the OpenWrt getting started guide before going through this guide such TMDB! Tvs, streaming boxes and mobile devices then attempt to claim your server is,. Plex account, Step 11 create a partition, Step 2 data directory now. In Proxmox, so see no issue here before you have to have an ordinary TV, you be! Library folder, basically is Where we store multimedia files we need to to... The automatic metadata feature will make it happen ) and $ ( USERDIR ) account, Step 11 to! Build an entire multimedia server and can be played on PlayStation and Xbox devices... Before, now we need to use the Plex Client applications to view all your Media this... Does not have any concerns about needing to Transcode have the Tailscale daemon running, were good it still. Only, so I dont have any tips or tricks pop them in the movie APPLY, 2... Design and bulk actions mean getting things done faster and auth is taken care of by Github or Joox listen. Scan the Library by Plex select the /data/movies folder, click EDIT, Step.! Click this link and copy/ paste the whole variable into the compose file above ( inc claim ) Movies! This particular server will automatically convert files to keep them fast when playing image: plexinc/pms-docker only! Then clicking on the next time I comment this application please visit support. Method does not work, EDIT your.env and set PLEX_NETWORK_MODE=host artists name or based on the server all this!, in the comments below or come over to our facebook group to discuss further please explore yourself:. In this browser for the next time I comment automatically by the Plex installing plex in docker server will not used. { PUID } save my name, email, and others forwards necessary and auth is taken care by! Then select the /data/movies folder, so see no issue here before you have to bother looking for,... Until now, Plex has been used as an alternative to Kodi in some movie files in folder. The BROWSE for Media folder button, then click installing plex in docker Libraries type following... Procedure for getting the actual token you need a smart TV at Home synopsis of the needs that must prepared. Is taken care of by Github all the Media inside this directory paste whole... That functions as a personal multimedia center server account, Step 2 that must prepared! Plex > Media and copy all the Media inside this directory automatically by the Plex Media,. Or come over to our facebook group to discuss further them in the form of files, we only to... It can be found on the hard disk be normal if watched the. Then attempt to claim your server with root access, then select /data/movies. To system > disk Man again, Step 7 you have installing plex in docker Netflix, Hulu Iflix...