Plex

Plex is currently only offered on the Whatbox North America HDD plans and SSD plans, and these installation instructions will only work on those plans.

About

Plex organizes all of your video, music, and photo collections, and gives you instant access to them on all of your devices. See plex.tv for more information.

Installation

SSH to your slot and run the plex-install command. It will guide you through the installation.

Configuration

  1. After accepting the Plex Terms of Service, you will see a login screen.
    • Do not log in yet.
    • Click "What's this?" in the bottom right hand corner
    • Then click "Skip and accept limited functionality."
  2. Plex should report "Great, we found a server!"
    • Give it a name.
    • Keep "Allow me to access my media outside my home" checked.
  3. (Optional) Configure media libraries now, otherwise it can be done later.
  4. Once you are able to access Plex, make the following changes:
  • Go to Settings, Server, Show Advanced
    • Sign in with username or email
  • Go to Remote Access
    • Check the box for "Manually specify public port"
    • Enter the port number you chose during setup and click "Retry"
    • Wait. The server connection process can take up to five minutes.
    • After setting the port, Plex should appear as "Fully accessible outside your network"
  • Go to Library
    • Check the box for "Update my library automatically" (or periodically)
  • Go to Transcoder
    • Set "Transcoder temporary directory" to /home/user/Library/.cache
  • Go to DLNA
    • Uncheck "Enable the DLNA server"
  • Go to Network
    • (Optional) Enable server support for IPv6
    • Uncheck "Enable local network discovery (GDM)"
    • Set the IPs in "List of networks that are allowed without auth" to 0.0.0.0/32 or specify your own IP address.
  • Save Changes

After doing this, your Plex server should be running. The items disabled help to improve the security of Plex in multi-user and data center environments.

Plex guides and support can be accessed at the Plex Support page. Once Plex has been installed and requires authentication to access Whatbox staff will be able to provide minimal assistance with its usage.

Upgrading

To update Plex to a newer version, or if you simply want to restart Plex, simply re-run plex-install. It will automatically check for new updates and restart Plex. Settings will be retained, so it will not be necessary to complete the Configuration steps again.

Note: Some Plex updates are only available to PlexPass subscribers. To install, the command is plex-install --plexpass. The script will request your Plex token. This may be obtained by clicking on the three dots at the lower right hand corner of any movie in your library. Select 'Get Info' from the menu and then 'View XML' from the lower left corner of the Media Info pop-up. The Plex token will be at the end of the resulting page URL.

Reset / Uninstall

Run plex-install --reset to reset Plex to default settings.
Run plex-install --uninstall to remove all Plex installations and settings.

Plex Requests

Plex Requests is a simple automated way for users to request new content for Plex.

To install Plex Requests, install Meteor, clone the Plex Requests repository, and run the application.

Install Meteor with the command curl https://install.meteor.com/ | sh. When sudo prompts for your password, press Ctrl+C to exit.

Clone the repository: git clone https://github.com/lokenx/plexrequests-meteor.git

Run Plex Requests: cd ~/plexrequests-meteor followed by screen -dmS plexrequests ~/.meteor/meteor -p 14465

By default Plex Requests runs on port 3000. The -p 14465 option allows it to run on a different port.

PlexPy

PlexPy is a python based web application for monitoring, analytics and notifications for Plex Media Server.

SSH to your slot

To install PlexPy, clone the repository and run the script:

Clone the repository: git clone https://github.com/drzoidberg33/plexpy.git

Run PlexPy: cd ~/plexpy followed by screen -dmS plexpy ./PlexPy.py -p 35000

By default PlexPy runs on port 8181. The -p 35000 option allows it to run on a different port.

to open go to manage and open up your webUI. change the last bit of the URL from "webUI" to "35000"

Open plex and go into settings. choose server settings then "remote access". use the public ip and port for your plexpy settings

Plex WebTools / Unsupported AppStore

Plex WebTools is a plugin for the Plex Media Server that will assist you in maintaning your Plex Media Server with many plugins, installed with WebTools (Including the Unsupported AppStore module).

Download WebTools from GitHub with the following command. wget https://github.com/ukdtom/WebTools.bundle/releases/download/2.4.1/WebTools.bundle.zip

Unzip the file in the Plex Media Server Plug-ins directory with the following command. unzip WebTools.bundle.zip -d "Library/Application Support/Plex Media Server/Plug-ins"

Edit two plugin configuration files and make it use a non-standard port: nano ~/"Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/DefaultPrefs.json"
Underneath "id":"WEB_Port_http", change "default":"33400" to default":"{{PORT3}}" and save the file.

nano ~/"Library/Application Support/Plex Media Server/Plug-in Support/Preferences/com.plexapp.plugins.WebTools.xml"

Edit <WEB_Port_https> </WEB_Port_https> to {{PORT3}}.

Restart Plex with the following command. plex-install

Open up WebTools by going to http://server.whatbox.ca:{{PORT3}} and log in with plex.tv credentials.

Further support can be found at the WebTools wiki

Once WebTools is configured and you are able to log in, you can install the Plex Unsupported AppStore