Can't Claim Plex Server on Ubuntu 18.04.1

Plex Media Server version: plexmediaserver_1.13.7.5369-93c9f1259_amd64.deb

Plex Server stopped working on my box. I noticed an “authentication failed” message in the Plex app on my TV so after some Googling I removed Preferences.xml and tried to claim it again. This fails with the following errors:

Sep 07, 2018 17:23:56.694 [0x7fe0e13ff700] DEBUG - HTTP 200 response from GET https://plex.tv/api/v2/features?X-Plex-Token=
Sep 07, 2018 17:23:56.697 [0x7fe0e13ff700] DEBUG - HTTP requesting GET https://plex.tv/api/v2/user/privacy?X-Plex-Token=
Sep 07, 2018 17:24:02.742 [0x7fe0e13ff700] DEBUG - HTTP 200 response from GET https://plex.tv/api/v2/user/privacy?X-Plex-Token=
Sep 07, 2018 17:24:02.748 [0x7fe0e57f4700] DEBUG - HTTP requesting GET https://plex.tv/media/providers?X-Plex-Token=
Sep 07, 2018 17:24:17.768 [0x7fe0e57f4700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 07, 2018 17:24:17.770 [0x7fe0e57f4700] ERROR - Error parsing content.
Sep 07, 2018 17:24:17.770 [0x7fe0e57f4700] ERROR - Error parsing XML.

Any suggestions? Thanks!

Can’t see what’s actually happening from a fragment.

Please ZIP or tar.gz the entire Logs directory and attach

This server has been around for a while, so there’s a good amount of accumulated logs. Forum wouldn’t accept my attachment, so it’s on Google Drive:

https://drive.google.com/open?id=1P_SZCAcuoIIdEtxRN6V67BxbM2ggv_dt

Thanks for the logs.

The recognized extension is .tar.gz
PMS only keeps the last ~30 MB of logs in total. This compresses to about 4.5 MB and well within the forum limit of 25 MB

  • Point of maintenance.
Sep 07, 2018 17:34:43.555 [0x7fd21dfff700] ERROR - Couldn't check for the existence of file "/external5TB/TV Shows/.grab": boost::filesystem::status: Input/output error: "/external5TB/TV Shows/.grab"
Sep 07, 2018 17:34:43.555 [0x7fd21dfff7
  • What significance are these IP addresses ?
Sep 07, 2018 17:35:21.234 [0x7fd21d7fe700] DEBUG - NAT: UPnP, not an IGD: <http://192.168.1.1:7777/WFADeviceDesc.xml>.
Sep 07, 2018 17:35:21.234 [0x7fd21d7fe700] DEBUG - NAT: UPnP, getPublicIP didn't find usable IGD.

Please back down to public 1.13.5

1 Like

That’s my router. Installed plexmediaserver_1.13.5.5332-21ab172de_amd64.deb and still can’t claim the server. Updated logs attached.

plex-logs.tar.gz (4.1 MB)

This concerns me a bit but of little consequence at this point.

Sep 09, 2018 15:04:04.095 [0x7f59edff4700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 09, 2018 15:04:04.095 [0x7f59edff4700] DEBUG - HTTP simulating 408 after curl timeout
Sep 09, 2018 15:04:04.097 [0x7f59edff4700] DEBUG - MyPlex: Did token exchange for claim (returnCode: 408)
Sep 09, 2018 15:04:04.098 [0x7f59edff4700] DEBUG - MyPlex: Got a token poked, let's act on it.
Sep 09, 2018 15:04:04.098 [0x7f59edff4700] DEBUG - Need to restart some processes because of a change to the security environment.

I would like you to:

Perform a Soft Reset of PMS

  1. Stop PMS
  2. cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
  3. Rename Preferences.xml to Preferences.xml.old
  4. Start PMS
  5. Open In-Cognito browser window
  6. Open http://127.0.0.1:32400/web in that window
  7. Be greeted by Sign-in, Welcome, and ‘Got It’ screens
  8. The Wizard will start setting up a new PMS. This is normal & expected
  9. Do Not create new library sections. Skip this part
  10. Continue through the setup normally
  11. Finish to arrive at the dashboard
  12. Your library sections will be there waiting for you.

Recheck your Settings as some will have changed.

1 Like

Thanks, that fixed it! Unfortunately, it looks like I may have an HDD failure for some of my media

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.