From ed71bd0a992c99645efe717bb8316c1f38cfc511 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 23 Mar 2023 09:46:51 -0700 Subject: [PATCH] Fix Plex Exporter --- homelab/server/config/plex/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/homelab/server/config/plex/README.md b/homelab/server/config/plex/README.md index 325ec2c0..aec363c9 100644 --- a/homelab/server/config/plex/README.md +++ b/homelab/server/config/plex/README.md @@ -15,3 +15,20 @@ From LG's documentation: + +# Fixing Plex Exporter +When Plex is restarted you will likely need to give the exporter a new Plex token so it can connect to Plex. + +1. Open [Plex](https://plex.jafner.net). +2. Log into any account. +3. Select a locally-hosted piece of media (any media). Open the information page for that media, you do not need to play it. +4. From the triple-dot menu for the media, click "Get Info" to open the Media Info panel. +5. At the bottom right of the Media Info panel, click "View XML". +6. The Plex token is contained in the URL for the XML page. It should be at the very end of the URL, and look like `X-Plex-Token=***REMOVED***`. The token is the part after the `=`. +7. Copy that value. Paste it into the configuration for `"--token="` under the `command:` section of the `docker-compose.yml` +8. Sync the changes via git. +9. Restart Plex exporter with `docker-compose up -d --force-recreate exporter_plex` + + +https://github.com/arnarg/plex_exporter +https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ \ No newline at end of file