Plex Metadata Agents Not Working

Server Version#: 1.26.0.5715

I just built this Plex server and added my media libraries to it from my network storage. These are the exact same libraries with the same filenames that were added to my old Plex installation, where metadata worked fine. On the new server, the Plex metadata agents are failing to match anything at all. Even when I go to fix matches, I am getting no results.

As a test, I switched my Movies library to The Movie Database, and refreshed the metadata which successfully pulled in data for my whole library (but of course, now I have the “upgrade libraries” nag in Plex).

Additionally, the Plex DVR guide data is showing up as “not found” even though I had live TV guide data on my old server just fine.

Log export from my server is attached.
Plex Media Server Logs_2022-04-12_21-35-43.zip (5.9 MB)

Id make sure you are using the most current Scanner and Plex Agent. Im seeing a lot of logs from the older agents. Id also make sure you disable prefer local metadata.

As mentioned, I switched one of my libraries to the older agent intentionally because it actually works, unlike the newer one. | already made sure I disabled prefer local metadata. I switched all libraries back to the new provider and once again, it cannot find anything at all.

For example

pr 12, 2022 22:02:06.691 [0x7f5c310f0b38] DEBUG - Completed: [192.168.192.232:50016] 200 GET /player/proxy/poll?deviceClass=pc&protocolVersion=3&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (10 live) TLS GZIP 20001ms 5 bytes (pipelined: 8)
Apr 12, 2022 22:02:06.704 [0x7f5c2e85ab38] DEBUG - Request: [192.168.192.232:50048 (WAN)] GET /player/proxy/poll?deviceClass=pc&protocolVersion=3&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (9 live) TLS GZIP Signed-in Token (ardichoke) (Firefox)
Apr 12, 2022 22:02:06.705 [0x7f5c2e85ab38] DEBUG - Content-Length is -1 (of total: -1).
Apr 12, 2022 22:02:06.728 [0x7f5c2e85ab38] DEBUG - Request: [192.168.192.232:50050 (WAN)] GET /library/metadata/219/matches?agent=tv.plex.agents.series&manual=0 (10 live) TLS GZIP Signed-in Token (ardichoke) (Firefox)
Apr 12, 2022 22:02:06.735 [0x7f5c2e85ab38] ERROR - [MetadataAgent/tv.plex.agents.series] ‘metadata’ service is unavailable
Apr 12, 2022 22:02:06.735 [0x7f5c2e85ab38] ERROR - [MetadataAgent/tv.plex.agents.series] Unable to find media provider
Apr 12, 2022 22:02:06.736 [0x7f5c310cdb38] DEBUG - Completed: [192.168.192.232:50050] 200 GET /library/metadata/219/matches?agent=tv.plex.agents.series&manual=0 (10 live) TLS GZIP 7ms 607 bytes (pipelined: 1)

Further, this is in the logs when I attempt to add my tuner:

Apr 12, 2022 22:05:07.172 [0x7f5c2dc5eb38] ERROR - EPG[tv.plex.providers.epg.cloud]: unable to retrieve service provider details

Are you using a VPN? or do you have a firewall or host file messing with DNS?

No VPN. My DNS is a bog standard unbound resolver, with the exception for a couple of local zones, which are domains I own and would have no impact on Plex functionality.

The only thing network related that I can think of is that I have fiber internet from a smaller ISP, and I seem to frequently find sites that block the IP range I’m in (or flag it for bot mitigation… and sometimes they think I’m in the UK not the US)

Try to use Google DNS instead of Cloudflare or the one from your ISP.

I won’t pretend to know what a recursive DNS is.
I only know regular DNS lookups. Which always require your own DNS resolver to ask some other DNS server higher up in the hierarchy to provide the answer, when a different domain than your own local one is queried.

Then you fundamentally do not understand DNS at all. A recursive DNS server is what handles what you refer to as “regular DNS lookups”. DNS is a wholly open system, literally anyone can run their own recursive server. All the Google/Cloudflare/ISP etc DNS servers are just recursive servers that you have no control over (and that those companies often use to track your activity for marketing purposes, but that’s a rant for another day).

Thanks for the explanation!

I hear you on this.

If you are confident that your DNS resolver is indeed returning a correct result for metadata.plex.tv, then the metadata bug is probably not DNS related.

Are you sure that is the right domain name? Because even checking some third party tools, metadata.plex.tv has no records.

See, for example: DNS Lookup - Check All DNS Records for Any Domain

However, when I check meta.plex.tv I get records back as expected (also checked a few other domains listed on status.plex.tv and they all return records as well, DNS does not appear to be the issue here)

ardichoke@plex:~$ dig metadata.provider.plex.tv +short
104.18.12.47
104.18.13.47
ardichoke@plex:~$ dig +short mp.plex.tv
104.18.12.47
104.18.13.47
ardichoke@plex:~$ dig +short ump.plex.tv
104.18.12.47
104.18.13.47
ardichoke@plex:~$ dig +short mpm.plex.tv
104.18.12.47
104.18.13.47
ardichoke@plex:~$ dig +short meta.plex.tv
104.18.12.47
104.18.13.47

Just got word from the developers and it is indeed metadata.provider.plex.tv.
So it appears not to be DNS-related.

Okay, so what is the next steps here? Is there any way to open a support ticket or something and get this looked at further?

I mean, the TV and Movie metadata isn’t the end of the world, since I can just switch back to the old metadata providers which are actually working. I can probably do the same with my Music. It is annoying that there’s no way to turn off the nag messages to “upgrade libraries” though.

Does the DVR Guide also operate through the same metadata service? Because I still cannot add my tuner, due to the DVR Guide saying it can’t find data for my location (even though it was working fine on my old Plex server). Since it can’t find the guide data, it won’t even let me add my tuner to Plex, and I can’t find any way around it unless I have an XMLTV guide subscription which I don’t really want.

I am not exactly a Linux expert, but a first look at your logs telly me this, which is puzzling:
[192.168.192.232:48976 (WAN)] PUT /myplex/refreshReachability (12 live) TLS GZIP Signed-in Token (ardichoke) (Firefox)
It is classifying a private network address as “WAN”.
Are you running PMS in a container?

Nope, running on bare hardware. Probably misconfigured the LAN Networks setting, I used the subnet prefix notation (force of habit, most things in my industry use prefix notation these days), I take it that setting wants subnet mask notation only.

I don’t know what exactly you’re referring to with this.
I know that Plex accepts both this 192.168.1.100/255.255.255.0 and CIDR notation 192.168.1.100/24.
If you put in more than one range, make sure to not insert a space character after the comma.

/24 (or whatever number of subnet mask bits) is also referred to as prefix notation, it’s shorthand for CIDR prefix.

I did put in two networks, comma separated, no spaces. Do you know offhand if the server needs to be restarted to pick up this setting? I went back and redid the configuration, but it still is showing connections in those ranges as WAN.

Sorry, I don’t. Stopping and restarting should be quick and painless, unless it’s currently being used or a maintenance task is running.

Nothing wrong with that.

Did you also put something into ‘LAN Networks’?
Did you activate “Treat WAN IP As LAN Bandwidth”?

Sorry, I wasn’t specific enough. Yes, I put the two networks into the “LAN Networks” field.

Yes, I activated this as well, although it shouldn’t apply to my setup as my client can talk to the Plex server directly and doesn’t go through my WAN IP.

Alright… well… I solved my initial issue. The latest release of PMS is just broken when it comes to the Plex metadata agent. I downgraded from 1.26.0.5715 (the current version when you go to downloads on the main website) to 1.25.9.5721 (the current version in the apt repo). After downgrading, the plex metadata agents and the DVR guide are all working now, so this all seems to be an issue with that specific version. This does make me wonder though, why is that still the version being pushed on the main website?

I am experiencing problems with updating metadata on version 1.25.9.5721.

When i want to add or update metadata for music files by using the agents, it is just updating the album title. And also the Refresh metadata is greyed out after the initial update. Does anyone else have this problem?