Skip to content

old Plex

Admin9705 edited this page Dec 21, 2018 · 3 revisions

CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT https://plexguide.com/wikis/ - 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 http://plex.tv/claim

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: https://plex.tv/claim
  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 https://app.plex.tv/ 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 - 100.25.25.25:9000 or mydomain.com:9000 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 www.realvnc.com/download/viewer and input your server's IP and port eg 123.456.789.101:20001 or mydomain.com:20001, 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 choice..off 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

https://plexguide.com/forums/plex-emby.51/

N|Demo

N|Solid N|Solid

Installing PlexGuide

  1. PlexGuide Install Information

Preplanning & Information

  1. PG Folder Structure

Domain and Port Control

  1. CloudFlare Tunnel

Primary Applications

  1. Plex

Useful Links

  1. PG YouTube Channel
Clone this wiki locally