Posters are downloading, but not being selected in the settings

Server Version#: 1.18.2.2058
Player Version#: 4.16.4
Plex Media Server Logs_2019-12-12_16-54-06.zip (4.8 MB)

For the past few weeks, it seems that whenever new media is discovered all the metadata downloads fine, but the posters and backgrounds aren’t being set by the server. I have to go through my library and set those posters manually. I’ve attached my server logs, but I specifically noticed this reoccurring error:

2019-12-11 10:37:26,449 (7f143cff9700) :  CRITICAL (storeservice:510) - Error info (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e67a4e892/System.bundle/Contents/Code/storeservice.py", line 495, in update
    log_msg = "Updated information for plug-in '%s' (class: %s) to a stable version"
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e67a4e892/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 145, in ObjectFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e67a4e892/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
    req = self._core.networking.http_request(url, *args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e67a4e892/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 346, in http_request
    return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e67a4e892/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 118, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e67a4e892/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 158, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib2.py", line 1195, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 1057, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 1096, in _send_request
    self.putheader(hdr, value)
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 1035, in putheader
    raise ValueError('Invalid header value %r' % (one_value,))
ValueError: Invalid header value '__cfduid=dae15d0f1bd36d5354c71c15f6627f9921568785502\r'

Have you seen and performed the steps in the TMDB related threads?

1. Stop PMS
2. Delete "/var/lib/plexmediaserver/Library/Application Support/Plex Media  Server/Plug-in Support/Data/com.plexapp.system/HTTPCookies"
3. Start PMS
4. Scan files - see if it rectifies itself
5. If not - Refresh the metadata

I tried that originally, but I just attempted to do it again and it hasn’t resolved the issue.

Let’s go a bit bigger.

  1. Stop Plex
  2. Delete the entire contents of the Data directory but not the directory itself.
  3. Start
  4. Refresh All Metadata

Hi @ChuckPa. I’m also experiencing this issue (same error in logs above).
I followed the steps you suggested, but am still unable to update movie metadata.
Below are logs after attempting to refresh all metadata.
Hope they help.
Plex Media Server Logs_2019-12-21_19-09-28.zip (1.9 MB)

Please go make a ZIP file of your /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data directory.

@sa2000 has been digging deep into this and is collecting information.

Also, for you (and anyone who reads here) did the system ever exist on Windows or has it always been on Linux ?

In addition to feedback from @ChuckPa - please enable debug logging on the server. You have it disabled !

Go to server settings general and show advanced and enable debug logging

Then restart the server so we have logs with debug enabled from the beginning. Then refresh the library and wait for that to finish and then give examples of which have no posters and capture logs zip and also copy out and zip the copy of the var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data directory as suggested by @ChuckPa

There is no evidence of CR \r issue in the agent logs

Sorry for the multiple replies - would like to know if you are running with defaults for metadata agents or you made changes to the agents used and / or oder

@ChuckPa @sa2000 Sorry for the delayed response. Holidays ‘n’ stuff.

  1. My Plex installation has never existed on Windows. It has always been inside a docker container: https://github.com/linuxserver/docker-plex
  2. The metadata agents are default except for “Sub-zero subtitles” agent. Order is: TMDB, Local, Plex Movie, Sub-Zero.
  3. Interestingly the Data directory was non existent. I swore I removed only the contents of the Data directory. Anyway, I went ahead and manually re-created it (with full read/write/execute permissions for any user). Then I refreshed the metadata for a few movies. Still broken, and the Data directory is still empty.
    • Clicking “Fix Match” on a movie immediately fails with no matches (even w/ TMDB specified as the agent)
  4. Attached are logs with debugging enabled: Plex Media Server Logs_2019-12-26_23-41-48.zip (4.3 MB)
  5. I saw an error go by in the logs when on the “Console” view of Plex. Screenshot below.

This fixed my issue. My PMS had lived on Windows and then was transferred to a Synology. Thank you!

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