Skip to content

Plex Access Token

desimaniac edited this page Jan 29, 2019 · 13 revisions

The following guide mentions two ways of obtaining a Plex Access Token for your Plex account.

Cloudbox Role

You will need your Plex credentials filled in ~/cloudbox/accounts.yml. If you already do, skip steps 2-4.

  1. Go to the Cloudbox folder:

    cd ~/cloudbox/
  2. Open the file for editing:

    • For encrypted accounts.yml:

      ansible-vault edit accounts.yml
    • For plain text accounts.yml:

      nano accounts.yml
  3. Fill in your Plex credentials:

    plex:
      user:
      pass:
  4. Save and exit: Ctrl + X Y Enter.

  5. Run the following command:

    sudo ansible-playbook cloudbox.yml --tags plex_auth_token
    
  6. You will be shown your Plex Access Token in the log:

    TASK [plex_auth_token : Display Plex Auth Token] 
    ***********************************************************************************
    Tuesday 29 January 2019  21:08:33 +0100 (0:00:00.104)       0:00:13.905 *******
    ok: [localhost] => {
        "msg": "Your Plex Auth Token is: XXXXXXXXXXXXXXXX"
    }
    

Script

  1. On the server's shell, run the following command[1]:

    /opt/scripts/plex/plex_token.sh
  2. You will be prompted to enter your Plex login and then presented with the Plex Access Token (under Your X_PLEX_TOKEN:)


1 Credit: https://github.com/wernight

Home

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
  3. Ansible Vault
  4. Settings
  5. Preinstall
  6. SSH
  7. Rclone
  8. Cloudbox
  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

Install Mediabox / Feederbox

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

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

Recommended Reading

Backup and Restore

More Information

Advanced Configuration

Experimental

Extras

Docs coming soon for ...

  • Radarr4K
  • Sonarr4K

Misc Guides

Reference

Troubleshooting

Links

Community Project

Clone this wiki locally
You can’t perform that action at this time.