Skip to content

old Plex

Admin9705 edited this page Feb 22, 2019 · 3 revisions

CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT - This is the old wiki!

Time To Deploy Plex

Table of Contents: Plex

Official Logo

About Plex

Plex lets you stream your media anywhere, on any device.

And, it’s really simple to start using and here is how it works:

  1. Install and run the Plex Media Server on a computer (or compatible NAS device) where all your media is stored and managed in movie, TV show, home video, music, and photo libraries.
  2. Install and open the Plex App on virtually any device—smartphone, tablet, smart TV, streaming device, game console, personal computer, or any browser.
  3. Wherever you are, press play, sit back, and enjoy your media as it streams from the Plex Media Server to your device.

Plex Simple Matrix Chart

Accessing Plex via PlexGuide

Once deployed via Docker, you can access Plex through:

Installing Plex via PG

STEP 1: Launch PlexGuide

Select the following options once PG is loaded: PG Application Suite > Media Servers > Plex

STEP 2: Is Your Server a Remote Server?

This question is very important because there are two ways PlexGuide will install your server. If you have a REMOTE SERVER, you will be able to claim it via a code (and must). If it's a local server within your reach, you will claim it via http://ipv4:32400. If you are conducting a local install (click here to skip downward)

STEP 3: (Remote Only) Do you need to Claim your Server?

  • NO - [Click Here] to Skip this Portion

    • Only if your Server is already working/claimed!
  • YES

    • First time setup
    • Failed prior setup

STEP 4: (Remote Server - First Claim) Claiming the Server

Follow the instructions by going to

CLICK the copy to clipboard button. Do not copy and paste! The copied item will provide lowercase letters (which the displayed one does not). You have under 5 minutes to claim the server or you must repeat the process!

STEP 5: Select a Plex Version

You can select the latest version of Plex or an older/custom version. If you select an older/custom version, please follow the instructions; copy and paste the tags per the instructions, and the container for you will download.

Older/Custom Versions of Plex

Follow this if only using older/custom versions of Plex. IF NOT, skip down below!

STEP 6: Visit & Configure Your Plex Server

Remote Users Only: Follow the instructions on the picture below! If fail to do so, PLEX will be unable to see your server properly! It will work going to your ip or domain, but your users will always see your server offline or indirectly!

Local Users: Ignore this picture and skip below!

STEP 7: WebTools

From here, you will be able to install WebTools; an unofficial plugin for PLEX that has a variety of tools and enables an unofficial app store for PLEX. Learn more about it here

STEP 8: Plex Addresses

Visit Plex via the following address provided to you! A twist though, insure that you put a /web in front of whatever! If you do not, you will get a garbage XML page. If you

If you can see your PLEX Server, skip section below and [CLICK HERE] or scroll down. Generally, ONLY REMOTE USERS have PROBLEMS!

If your having problems claiming or seeing your server, view the section directly below for other claims methods!

Below is an example of being able to see a YOUR REMOTE PLEX SERVER!

Claiming Your Server

Method 1 - PlexGuide

For the following method, please visit Click Here

Method 2 - Portainer

Claim your Plex Server Through Portainer

  1. Head over to your Portainer service at http://ipv4:9000/
  2. Open the Plex container and press Duplicate/Edit
  3. Browse to the bottom and press Env
  4. Press add environment variable
  5. In a new tab, go here and login using the details of the Plex Account that will own the server:
  6. Press Copy to Clipboard button. If you don't, the code will not be copied properly! Also, notice the code is valid only for 4 minutes! Head back to Portainer and do the following: In "Name" write "PLEX_CLAIM" and in "Value" you can paste the code you copied earlier. Notice that you need to paste the whole thing, including the "claim-" part!
  7. Press Deploy Container and wait until the container is Healthy. You can press Replace, don't worry...
  8. After the container is healthy, head over to and login with the same account as the one for the Plex Token! Then you should see your server under the server list!

Method 3 - Tunneling In

Windows User - Putty

Load putty

  • Type in your remote-ipaddress and port 22 and select SSH
  • On the left side of the menu expand CONNECTION > SSH > Tunnels
  • Source Port: 6969
  • Destination: remote-ipaddress:32400
  • [Click] Add
  • [Click] Open
  • Login and keep the terminal putty open

Linux / Mac Tunnel

To Setup Plex

  • Open up a browser (recommend Chrome) and type - http://localhost:6969/web
  • If do not type exactly what above, you will get a whole bunch of XML garbage and nothing will happen!
  • You will now be able to setup PLEX
  • Double check by opening a new window or tab and type http://ipv4address:32400/web

Method 4 - VNC Method (Outdated - Needs Replacement)

  • Open your browser, log into your Portainer web interface, example - or and enter the u/p you've already set-up.
  • Click 'Containers' (third down on the left or first tile down on the left below 'Node Info') and make a note of the IP for the Plex docker and check it's showing 'healthy'. This will usually be something like 172.17.0.x
  • From the main PlexGuide menu:
  • Choose option 6 'VNC Remote Server Install' and hit enter, read the warning and click 'OK'.
  • Choose option 1 'VNC Server Container: Create' and hit enter, after a few moments it will display another warning, hit enter.
  • Choose a strong password - this will be echo'd back to you later anyway but C&P it somewhere and hit enter.
  • Open your favourite VNC client eg and input your server's IP and port eg 123.456.789.101:20001 or, leave encryption to auto or 'Let VNC Server Choose' and click connect.
  • When asked for your password, paste it in.
  • You should be greeted with a standard Ubuntu desktop with FireFox and Chromium shortcuts, choose one and enter the 172.17.0.x address you noted down from Portainer. It must be in the following format 172.17.0.x:32400/web
  • if you miss the '/web' from the end you will be given an XML Style Sheet error.

Configure Your Plex Server

Follow the steps below! First, you should be able to see your PLEX SERVER. Regardless of being a local or remote user, you will need to ensure that your server is able to share outside of your network. If not, you can skip most of this.

Demo picture below of being able to see your SERVER! A claimed remote server will have an odd name; a local one will have something related to your computer, but you are able to change this when it first sets up!

STEP 1: Check Your Shared Settings

A. For non-remote users (local), just ensure that you get the green check! If not, you may need to check your firewall and router (uPnP needs to be on). Skip to the next step.

B. For remote users, ensure that you check the manual box and place 32400 as the port and hit save. It may appear to work sometimes, sometimes not; but it does work. Use a secondary device before moving on to ensure that your connection is working and go somewhere else and come back to it and you'll notice it green.

After enabling, we came back 30 seconds later and it works fine!

STEP 2: Adding Content To Your Library

Adding TV Shows

  • [Click] Add Library
  • [Click] TV Shows
  • [Type] Add Folders to Your Library: either /unionfs/tv or /encrypt/tv for encrypted version
    • Note: You will never be able to select it if you have a large library; type it and hit ok
  • You can use /mnt/plexdrive if you want, but you will have to wait for the upload
  • [Click] Ok

Adding Movies

  • [Click] Add Library
  • [Click] Films
  • [Type] Add Folders to Your Library: either /unionfs/movies or /encrypt/movies for encrypted version
    • Note: You will never be able to select it if you have a large library; type it and hit ok
  • You can use /mnt/plexdrive if you want, but you will have to wait for items to upload
  • [Click] Ok

STEP 3: Configure Your Server Settings

  • Configure what you need, there is one important area.
  • [Click] Server > Show Advanced > Library
  • [Turn On] Update my library automatically
  • [Keep-Off] Run a partical scan...
  • [Keep-On] Include music libraries...
  • [Keep-On/Off] Update my library periodically (your if you have update automatically)
  • [Select] Library update interval: Every 1 hour (for huge libraries, every 2 is better)
  • [Keep-On] Empty trash automatically after every scan
  • [Click] Server > Show Advanced > Scheduled Tasks
  • [Turn/Keep On] Backup server every 3 days
  • [Turn/Keep On] Optimize database every week
  • [Turn/Keep On] Remove old bundles every week
  • [Turn/Keep On] Remove old cache files every week
  • [Turn/Keep On] Refresh metadata periodically
  • All the Rest; keep unchecked.

PG Forum Support: Plex


N|Solid N|Solid

Useful Starter Links

  1. Introduction
  2. Blitz YouTube Channel
  3. G-Suite Signup
  4. Recommended NewsHosts

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PG Editions
  5. PGBlitz Repos
  6. Common Issues

Deploy & Config

  1. SSH Server Access
  2. Create a SUDO User
  3. Install PGBlitz
  4. WatchTower
  5. Remote Path Mappings

Data Transport
  1. PG Clone
    1. Google OAuth Keys
    2. PG Move
    3. PG Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PG Shield
  4. PG Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PG Fork
  8. Extra PG Commands

Blitz App Info

  1. Accessing PG Apps
  2. App Port Scheme
  3. Plex to AutoScan

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. RuTorrent
  15. Sonarr
  16. Tautulli
Community Apps [Expand]
  1. AirSonic
  2. AllTube
  3. Bazarr
  4. Beets
  5. Bitwarden
  6. BookSonic
  7. cAdvisor
  8. Cloud Commander
  9. DDClient
  10. Deezloaderremix
  11. Deluge
  12. DelugeVPN
  13. Duplicati
  14. EmbyStats
  15. FlexGet
  16. Gazee
  17. Gitea
  18. Handbrake
  19. Headphones
  20. Heimdall
  21. HomeAssistant
  22. HTPCManager
  23. JDownloader2
  24. jd2-openvpn
  25. Kitana
  26. Logarr
  27. MakeMKV
  28. MariaDB
  29. McMyadmin
  30. MEDUSA
  31. Mellow
  32. Monitorr
  33. Muximux
  34. Mylar
  35. NextCloud
  36. NowShowing
  37. NZBHydra2
  38. NZBThrottle
  39. Organizr
  40. pyLoad
  41. Radarr4k
  42. Resilio
  43. rflood-openvpn
  44. rutorrent-openvpn
  45. ShareSite
  46. Shoko Anime Server
  47. SpeedTest
  48. SyncLounge
  49. Syncthing
  50. The Lounge
  51. Transmission
  52. Trakt.or
  53. Ubooquity
  54. x TeVe
  55. Zammad

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
Clone this wiki locally
You can’t perform that action at this time.