Skip to content
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

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