Skip to content

Install: Plex Media Server

Chaz Larson edited this page Mar 31, 2021 · 27 revisions
  1. URL
  2. Setup Wizard
  3. Settings
  4. Add Media Libraries
  5. Scan Media Libraries
  6. Webtools

1. URL

  1. To access Plex, visit https://plex.yourdomain.com

  2. Login with your Plex account

2. Setup Wizard

  1. First time you log in, you will be presented with a welcome screen. Click "GOT IT!" to continue.

  2. Next screen will show you a list of servers, with a randomly generated name. Give it a friendly name and click "NEXT".

  3. On the next screen, click "NEXT" (we will add Libraries later).

  4. Click "DONE".

3. Settings

Remote Access

  1. Click the Settings icon (top right) → "Server" (top) → "Remote Access" (left).

  2. Enable "Manually specify public port", type in 443, and click the "Retry" button.

  3. You will get a "Not available outside your network" message. This is OK. Simply ignore it and click "ENABLE REMOTE ACCESS".

  4. Click "SAVE CHANGES".

Library

  1. Click the Settings icon (top right) → "Server" (top) → "Library" (left).

  2. Set the following:

    • "Empty trash automatically after every scan": disabled

      • Plex Autoscan will take care of this.
    • "Allow media deletion": enabled

    • "Generate video preview thumbnails": never

    • "Generate chapter thumbnails": never

The reasoning behind disabling these thumbnails is related to Google Drive API usage, data transfer, and disk space. Accessing large portions of a given video file to generate thumbnails may generate large numbers of Google Drive API calls, and large amounts of data transfer. Either of these things may result in your account suffering one of the various types of 24-hour bans Google hands out, which may prevent your server from playing media at all. Also, storing these images will greatly inflate the size of /opt/plex, which can affect the speed of backups, your ability to download, and anything else related to disk space usage. These are generally considered Bad Things, so the recommendation is to avoid the possibility by turning these options off.

  1. Click "SAVE CHANGES".

Network

  1. Click the Settings icon (top right) → "Server" (top) → "Network" (left).

  2. Set the following:

    • "Secure Connections": Preferred.

    • "Enable local network discovery (GDM)": disabled.

    • "Remote streams allowed per user": your preference.

    • "Custom server access URLs": http://plex.yourdomain.com:80/,https://plex.yourdomain.com:443/ (pre-filled)

      • NOTE: Enter your domain as you have it configured in accounts.yml, not literally "yourdomain.com".
  3. Click "SAVE CHANGES".

Transcoder

  1. Click the Settings icon (top right) → "Server" (top) → "Transcoder" (left).

  2. Set the following:

    • "Transcoder temporary directory": /transcode

    • "Transcoder default throttle buffer": 150

    • "Use hardware acceleration when available": enabled

    • "Maximum simultaneous video transcode": unlimited

  3. Click "SAVE CHANGES".

DLNA

  1. Click the Settings icon (top right) → "Server" (top) → "DLNA" (left).

  2. Set the following:

    • "Enable the DLNA server": disabled

    • "DLNA server timeline reporting": disabled

  3. Click "SAVE CHANGES".

Scheduled Tasks

  1. Click the Settings icon (top right) → "Server" (top) → "Scheduled Tasks" (left).

  2. Set the following:

    • "Update all libraries during maintenance": disabled

    • "Upgrade media analysis during maintenance": disabled

    • "Perform extensive media analysis during maintenance": disabled

  3. Click "SAVE CHANGES".

4. Add Media Libraries

In this section, we will add two libraries: one for Movies and one for TV.

Note: If you would like to have custom Plex libraries (more than just a Movies and TV one), see Customizing Plex Libraries.

Add the Movie Library

  1. In the main Plex screen (Home icon on the top left), click "+" next to "LIBRARIES".

  2. In the "Add Library" window, select "Movies" and click "NEXT".

  3. Click "BROWSE FOR MEDIA FOLDER".

  4. In second column of the "Add Folder" window, select data, then Movies, and then click the "ADD" button.

  5. You will now see /data/Movies in the text box (don't click "ADD LIBRARY" yet).

  6. Click "Advanced" on the left.

  7. Set the following:

    • "Enable Cinema Trailers": disabled (optional)

    • "Enable video preview thumbnails": disabled

    • "Find trailers and extras automatically (Plex Pass required)": disabled (optional)

  8. Click "ADD LIBRARY".

Add the TV Library

  1. In the main Plex screen (Home icon on the top left), click "+" next to "LIBRARIES".

  2. In the "Add Library" window, select "TV Shows" and click "NEXT".

  3. Click "BROWSE FOR MEDIA FOLDER".

  4. In second column of the "Add Folder" window, select data, then TV, and then click the "ADD" button.

  5. You will now see /data/TV in the text box (don't click "ADD LIBRARY" yet).

  6. Click "Advanced" on the left.

  7. Set the following:

    • "Enable video preview thumbnails": disabled

    • "Find trailers and extras automatically (Plex Pass required)": disabled (optional)

  8. Click "ADD LIBRARY".

5. Scan Media libraries

As mentioned in the Introduction page, Plex Autoscan will automatically scan the media files into Plex as they are downloaded, but this will require the Plex database to not be completely empty. So for every new library that is added, a one-time, manual scan is required.

To do so:

  1. Click the 3 dots next to a Plex library.

  2. Select "Scan Library Files".

  3. Repeat steps 1-2 for each library.

6. Webtools

Webtools for Plex comes preinstalled. If you wish to setup Webtools and install 3rd party add-ons, you can go to http://plex.yourdomain.com:33400 (http, not https) and login with your Plex account.

Note: Use http://yourserveripaddress:33400 if the above URL doesnt work.

Basics

  1. Introduction
  2. Cloudbox Install Types
  3. Cloudbox Paths
  4. Accessing Cloudbox Apps

Prerequisites

  1. Overview
  2. Presumptions
  3. Server
  4. Domain Name
  5. Cloudflare
  6. Cloud Storage
  7. Plex / Emby - Account
  8. Usenet vs. BitTorrent

Install Cloudbox

Cloudbox
  1. Overview
  2. Dependencies (Choose only one of these)
  3. Settings
  4. Preinstall (Choose only one of these)
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Cloudbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Plex Media Server
    6. Plex Autoscan
    7. Sonarr
    8. Radarr
    9. Lidarr
    10. PlexPy (Tautulli)
    11. Ombi
    12. Portainer
    13. Organizr
  10. Next Steps

Install Feederbox / Mediabox

Feederbox (do this first)
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Feederbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Sonarr
    6. Radarr
    7. Lidarr
    8. Portainer
    9. Organizr
  10. Next Steps

Mediabox
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Mediabox (Choose only one of these)
  9. Application Setup
    1. Feeder Mount
    2. Plex Media Server
    3. Plex Autoscan
    4. PlexPy (Tautulli)
    5. Ombi
  10. Next Steps

Recommended Reading

Backup and Restore

More Information

Advanced Configuration

Experimental

Extras

Misc

Community-Submitted

See Community Wiki.

Reference

Troubleshooting

Links

Clone this wiki locally