PMS only using local metadata and not auto-matching

Server Version#: 1.32.8.7639
Player Version#: multiple

G’day all, need some help troubleshooting my Movies library.
I recently created a new server on Linux, using the debian-11-turnkey-mediaserver_17.1 LXC container template. I used to use PMS as server on a Windows PC, but am in the process of retiring that PC and moving everything to my Proxmox cluster of servers.
I’ve been able to get TV Shows to load and match perfectly, using the ‘Plex TV Series’ scanner and the ‘Plex Series’ agent. Have also been able to somewhat get AMSA to load my anime collection (still a work in progress).
Movies, however, have failed, miserably. I can match files manually with no problems; but I have over 1700 movies in my collection. I’ve tried both the ‘Plex Movie’ and ‘Plex Movie Scanner’ scanners, to no avail. I’ve also tried all the available agents, with no luck. I’ve tried deleting the ‘/Plugin Support/Caches’ directory, no effect. I’ve tried Optimising the database, no change.
I’ve tried disabling “use local assets” and “prefer local metadata”, no change. I’ve tried forcing a scan, forcing a metadata refresh, forcing empty trash, no change.
My files are stored in multiple folders all added to the library, with each folder containing subdirectories in the format of “Movie Name (2023)”, and file “Movie Name (2023).mp4”
For example, the movie ‘The Last Wave (1977)’:
/mnt/sdd1/!PHIM/The Last Wave (1977) {tmdb-72277}/The Last Wave (1977) Bluray-1080p.mp4
Scanned with 0 tags, 0 labels, but somehow has the title of “The.Last.Wave.1977.1080p.BluRay.H264.AAC-RARBG”, despite that not being the file name for about five years since I downloaded it.

Checking of the logs shows, from “com.plexapp.system.log” the following:

2024-02-01 01:17:19,009 (7f55edf18b38) :  DEBUG (runtime:924) - Response: [500] 1037 bytes
2024-02-01 01:17:22,539 (7f55edf18b38) :  DEBUG (runtime:717) - Handling request GET /system/agents/media/get?guid=tv%2Eplex%2Eagents%2Enone%3A%2F%2F1336&mediaType=1&url=metadata%3A%2F%2Fposters%2F5e783351f5b997f37df43934056b6892c9887764
2024-02-01 01:17:22,540 (7f55edf18b38) :  DEBUG (runtime:814) - Found route matching /system/agents/media/get
2024-02-01 01:17:22,540 (7f55edf18b38) :  CRITICAL (storage:60) - Exception reading file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Movies/8/404375d152ecd384bb4a3d2bfc10436be3a932b.bundle/Contents/_combined/Info.xml (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fb6452ebf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/storage.py", line 55, in load
    f = open(filename, mode)
IOError: [Errno 2] No such file or directory: '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Movies/8/404375d152ecd384bb4a3d2bfc10436be3a932b.bundle/Contents/_combined/Info.xml'

2024-02-01 01:17:22,541 (7f55edf18b38) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fb6452ebf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fb6452ebf/System.bundle/Contents/Code/agentservice.py", line 1082, in media_get
    data = HTTP.Request(media_url, cacheTime=0).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fb6452ebf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 300, in ElementFromString
    check_size(string, max_size)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fb6452ebf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 22, in check_size
    if len(data) > max_size:
TypeError: object of type 'NoneType' has no len()

com.plexapp.system.log (795.6 KB)


Searching for these ‘Info.xml’ files within the directory structure for the TV Shows library, yields results with every TV Show having an Info.xml file.
Unable to find a single Info.xml file in the /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Movies/ directories, however. There are some posters, but no Info.xml files.

This release of PMS has a known issue with the Agents not starting up. A restart may fix it but the problem is apparently fixed in the 1.40 beta.

From the 1.40 beta Announcement:

(Agents) It is possible that agents are not initialised during startup on rare occasions (#14654)

Good luck

Chris

I find it odd that the Plex Series agent is working, but the Plex Movie agent isn’t. Is there a sub-process that I can check in systemctl (linux) or an API method that I can call to test the Plex Movie agent?

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