Both Plex agents are failing to match when scanning automatically using Plex Media Scanner --scan

Server Version#: 1.32.4.7164 (It was happening with previous versions)

Some points I want to make clear before I get suggestions that won’t fix my issue:

  • This is not a file naming issue, my naming scheme is working for years now and I didn’t change the scheme.
  • I have a script that launches “Plex Media Scanner --scan” to scan exactly what was added. This was working for years now and once again I didn’t change anything.

Besides Ubuntu and Plex Media Server updates, NOTHING was changed.

Regarding the issue, this is very simple: Every single file that is added to the library and scanned via command line fails to be matched. But if I refresh the non-matched movie/tv entry via plex webui, it matches and finds the metadata fine.

I’ve noticed these CRITICAL issues when starting PMS, most are networking errors:

tv.plex.agents.movie.log

2023-06-11 15:22:01,825 (7fe379ba9808) :  DEBUG (accessor:68) - Creating a new model access point for provider tv.plex.agents.movie in namespace 'metadata'
2023-06-11 15:22:01,831 (7fe379ba9808) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2023-06-11 15:22:01,835 (7fe379ba9808) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2023-06-11 15:22:01,837 (7fe379ba9808) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes
    json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content
    return self.__str__()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

2023-06-11 15:22:01,845 (7fe376632b38) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2023-06-11 15:22:01,845 (7fe379ba9808) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'

tv.plex.agents.series.log

2023-06-11 15:22:04,106 (7f32c4502808) :  DEBUG (accessor:68) - Creating a new model access point for provider tv.plex.agents.series in namespace 'metadata'
2023-06-11 15:22:04,112 (7f32c4502808) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2023-06-11 15:22:04,116 (7f32c4502808) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2023-06-11 15:22:04,118 (7f32c4502808) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes
    json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content
    return self.__str__()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

2023-06-11 15:22:04,126 (7f32c0f8bb38) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2023-06-11 15:22:04,126 (7f32c4502808) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'

com.plexapp.system.log

2023-06-11 15:21:54,061 (7f278351e808) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 1dc22f4 (Mon Jun 05 20:15:27 UTC 2023)
2023-06-11 15:21:54,061 (7f278351e808) :  DEBUG (core:361) - Using the elevated policy
2023-06-11 15:21:54,061 (7f278351e808) :  DEBUG (core:365) - Extending whitelist: ['cgi', 'tempfile']
2023-06-11 15:21:54,061 (7f278351e808) :  DEBUG (core:450) - Starting runtime component.
2023-06-11 15:21:54,063 (7f278351e808) :  DEBUG (core:450) - Starting caching component.
2023-06-11 15:21:54,063 (7f278351e808) :  DEBUG (core:450) - Starting data component.
2023-06-11 15:21:54,063 (7f278351e808) :  DEBUG (core:450) - Starting networking component.
2023-06-11 15:21:54,064 (7f278351e808) :  DEBUG (networking:262) - Loaded HTTP cookies
2023-06-11 15:21:54,064 (7f278351e808) :  DEBUG (networking:434) - Setting the default network timeout to 20.0
2023-06-11 15:21:54,065 (7f278351e808) :  DEBUG (core:450) - Starting localization component.
2023-06-11 15:21:54,065 (7f278351e808) :  INFO (localization:409) - Setting the default locale to en-us
2023-06-11 15:21:54,065 (7f278351e808) :  WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name enclosed in double quotes: line 26 column 1 (char 1078)
2023-06-11 15:21:54,067 (7f278351e808) :  DEBUG (localization:427) - Loaded en strings
2023-06-11 15:21:54,067 (7f278351e808) :  DEBUG (core:450) - Starting messaging component.
2023-06-11 15:21:54,068 (7f278351e808) :  DEBUG (core:450) - Starting debugging component.
2023-06-11 15:21:54,068 (7f278351e808) :  DEBUG (core:450) - Starting services component.
2023-06-11 15:21:54,068 (7f278351e808) :  DEBUG (core:450) - Starting myplex component.
2023-06-11 15:21:54,068 (7f278351e808) :  DEBUG (core:450) - Starting notifications component.
2023-06-11 15:21:54,194 (7f278351e808) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.system in namespace 'metadata'
2023-06-11 15:21:54,204 (7f278000eb38) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2023-06-11 15:21:54,205 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2023-06-11 15:21:54,205 (7f278000eb38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2023-06-11 15:21:54,207 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2023-06-11 15:21:54,207 (7f277ffc8b38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400'
2023-06-11 15:21:54,207 (7f278351e808) :  DEBUG (core:150) - Finished starting framework core
2023-06-11 15:21:54,209 (7f278000eb38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2023-06-11 15:21:54,209 (7f278351e808) :  DEBUG (core:560) - Loading plug-in code
2023-06-11 15:21:54,209 (7f278000eb38) :  ERROR (services:272) - Unable to load services from system. Loading from the current bundle only.
2023-06-11 15:21:54,234 (7f278351e808) :  DEBUG (core:566) - Finished loading plug-in code
2023-06-11 15:21:54,235 (7f278351e808) :  DEBUG (runtime:640) - Adding a prefix handler for 'System' ('/system')
2023-06-11 15:21:54,235 (7f277ffc8b38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400'
2023-06-11 15:21:54,235 (7f278000eb38) :  DEBUG (services:362) - Loaded services
2023-06-11 15:21:54,236 (7f277ffc8b38) :  WARNING (core:541) - Unable to retrieve the machine identifier or server version.
2023-06-11 15:21:54,242 (7f277ffebb38) :  DEBUG (services:438) - No shared code to load
2023-06-11 15:21:54,821 (7f278351e808) :  INFO (__init__:35) - Starting System 1dc22f4 (Mon Jun 05 20:15:27 UTC 2023)
2023-06-11 15:21:54,821 (7f278351e808) :  DEBUG (runtime:640) - Adding a prefix handler for 'Player' ('/player')
2023-06-11 15:21:54,828 (7f278351e808) :  INFO (datakit:93) - Loaded the dictionary file
2023-06-11 15:21:54,828 (7f278351e808) :  DEBUG (agentservice:52) - Starting the agent service
2023-06-11 15:21:54,945 (7f278351e808) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.system in namespace 'metadata'
2023-06-11 15:21:54,951 (7f278351e808) :  DEBUG (bundleservice:65) - Starting the bundle service
2023-06-11 15:21:54,951 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'start'
2023-06-11 15:21:54,952 (7f278351e808) :  DEBUG (playerservice:12) - Starting the player service
2023-06-11 15:21:54,952 (7f278351e808) :  DEBUG (flagservice:13) - Starting the media flag service
2023-06-11 15:21:54,953 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'start'
2023-06-11 15:21:54,953 (7f278351e808) :  DEBUG (peerservice:141) - Starting the peer service
2023-06-11 15:21:54,954 (7f277fdc7b38) :  DEBUG (peerservice:164) - Fetching the current list of servers
2023-06-11 15:21:54,955 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'refresh_servers'
2023-06-11 15:21:54,956 (7f277fdc7b38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/servers'
2023-06-11 15:21:54,956 (7f278351e808) :  DEBUG (runtime:1150) - Scheduled a timed thread named 'refresh_servers'
2023-06-11 15:21:54,957 (7f278351e808) :  DEBUG (streamservice:18) - Starting the stream service
2023-06-11 15:21:54,957 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,957 (7f278351e808) :  CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register <bound method StreamService.token_handler of <streamservice.StreamService object at 0x7f277fbdd7d0>>
2023-06-11 15:21:54,958 (7f278351e808) :  DEBUG (runtime:1150) - Scheduled a timed thread named 'invalidation_timer'
2023-06-11 15:21:54,959 (7f277fdc7b38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/servers'
2023-06-11 15:21:54,959 (7f278351e808) :  DEBUG (proxyservice:12) - Starting the proxy service
2023-06-11 15:21:54,961 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'update_attribution_flags_inner'
2023-06-11 15:21:54,962 (7f278351e808) :  INFO (core:611) - Started plug-in
2023-06-11 15:21:54,962 (7f278351e808) :  DEBUG (socketinterface:160) - Starting socket server
2023-06-11 15:21:54,962 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,964 (7f278351e808) :  DEBUG (runtime:1117) - Created a thread named 'start'
2023-06-11 15:21:54,964 (7f278351e808) :  INFO (socketinterface:184) - Socket server started on port 44575
2023-06-11 15:21:54,964 (7f278351e808) :  INFO (pipeinterface:25) - Entering run loop
2023-06-11 15:21:54,965 (7f278351e808) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2023-06-11 15:21:54,967 (7f278351e808) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2023-06-11 15:21:54,968 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,970 (7f278351e808) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 486 bytes
2023-06-11 15:21:54,971 (7f277fdc7b38) :  CRITICAL (runtime:1128) - Exception in thread named 'refresh_servers' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/System.bundle/Contents/Code/peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/System.bundle/Contents/Code/peerservice.py", line 165, in get_servers_el
    return XML.ElementFromURL('http://127.0.0.1:32400/servers', cacheTime = 0)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/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-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 352, 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-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 119, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable

2023-06-11 15:21:54,972 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,973 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,974 (7f277fdc7b38) :  DEBUG (runtime:717) - Handling request GET /system/agents
2023-06-11 15:21:54,993 (7f277fdc7b38) :  DEBUG (runtime:814) - Found route matching /system/agents
2023-06-11 15:21:54,994 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,995 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,996 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,997 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,998 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:54,999 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,000 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,000 (7f277fe0db38) :  INFO (bundleservice:131) - Found duplicate identifier at /usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/TheTVDBv4.bundle for bundled plugin (com.plexapp.agents.thetvdb), ignoring duplicate plugin.
2023-06-11 15:21:55,001 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,002 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,002 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,004 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,005 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,047 (7f277fe0db38) :  DEBUG (runtime:1117) - Created a thread named 'remove_unavailable_agents'
2023-06-11 15:21:55,048 (7f277fe0db38) :  DEBUG (bundleservice:81) - Started the bundle service
2023-06-11 15:21:55,050 (7f277fdeab38) :  DEBUG (flagservice:46) - Started the media flag service
2023-06-11 15:21:55,054 (7f277fdc7b38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,072 (7f277fdc7b38) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 12813 bytes
2023-06-11 15:21:55,074 (7f277f70db38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-06-11 15:21:55,076 (7f277f7fcb38) :  INFO (agentservice:129) - Agent info: {'com.plexapp.agents.fanarttv': [{'media_types': ['Movie'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.imdb', 'com.plexapp.agents.themoviedb'], 'has_attribution': True, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Fanart.tv'}, {'media_types': ['TV_Show'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.thetvdb', 'com.plexapp.agents.themoviedb'], 'has_attribution': True, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Fanart.tv'}, {'media_types': ['Artist'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.lastfm'], 'has_attribution': True, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Fanart.tv'}, {'media_types': ['Album'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.lastfm'], 'has_attribution': True, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Fanart.tv'}], 'com.plexapp.agents.none': [{'media_types': ['Movie'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Personal Media'}, {'media_types': ['TV_Show'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Personal Media Shows'}, {'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Personal Media Artists'}, {'media_types': ['Album'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Personal Media Albums'}, {'media_types': ['Photo'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': False, 'languages': ['en', 'ar', 'bg', 'ca', 'cs', 'cy', 'da', 'de', 'el', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hi', 'hr', 'ht', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', 'ms', 'mt', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sk', 'sv', 'sl', 'sr', 'th', 'tr', 'uk', 'ur', 'vi', 'zh', 'xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Photos'}], 'tv.plex.agents.music': [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'ar', 'bg', 'zh', 'hr', 'cs', 'da', 'nl', 'fi', 'fr', 'de', 'el', 'hu', 'id', 'it', 'ja', 'ko', 'nn', 'pl', 'pt', 'ro', 'ru', 'sr', 'sk', 'es', 'sv', 'th', 'tr', 'vi', 'xx'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Plex Music'}, {'media_types': ['Album'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'ar', 'bg', 'zh', 'hr', 'cs', 'da', 'nl', 'fi', 'fr', 'de', 'el', 'hu', 'id', 'it', 'ja', 'ko', 'nn', 'pl', 'pt', 'ro', 'ru', 'sr', 'sk', 'es', 'sv', 'th', 'tr', 'vi', 'xx'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Plex Music'}], 'com.plexapp.agents.hama': [{'media_types': ['TV_Show'], 'primary_provider': True, 'fallback_agent': False, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'fr', 'zh', 'sv', 'no', 'da', 'fi', 'nl', 'de', 'it', 'es', 'pl', 'hu', 'el', 'tr', 'ru', 'he', 'ja', 'pt', 'cs', 'ko', 'sl', 'hr'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'HamaTV'}, {'media_types': ['Movie'], 'primary_provider': True, 'fallback_agent': False, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'fr', 'zh', 'sv', 'no', 'da', 'fi', 'nl', 'de', 'it', 'es', 'pl', 'hu', 'el', 'tr', 'ru', 'he', 'ja', 'pt', 'cs', 'ko', 'sl', 'hr'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'HamaMovies'}], 'com.plexapp.agents.opensubtitles': [{'media_types': ['Movie'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.imdb'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'OpenSubtitles.org'}, {'media_types': ['TV_Show'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.thetvdb'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'OpenSubtitles.org'}], 'com.plexapp.agents.imdb': [{'media_types': ['Movie'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.themoviedb'], 'has_attribution': True, 'languages': ['en', 'sv', 'fr', 'es', 'nl', 'de', 'it', 'da', 'ar', 'ca', 'zh', 'cs', 'et', 'fi', 'el', 'he', 'hi', 'hu', 'id', 'ja', 'ko', 'lv', 'no', 'fa', 'pl', 'pt', 'ro', 'ru', 'sk', 'th', 'tr', 'uk', 'vi'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'Plex Movie (Legacy)'}], 'com.plexapp.agents.lyricfind': [{'media_types': ['Album'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.lastfm', 'tv.plex.agents.music', 'org.musicbrainz.agents.music'], 'has_attribution': True, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'LyricFind'}], 'com.plexapp.agents.thetvdb': [{'media_types': ['TV_Show'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'fr', 'zh', 'sv', 'no', 'da', 'fi', 'nl', 'de', 'it', 'es', 'pl', 'hu', 'el', 'tr', 'ru', 'he', 'ja', 'pt', 'cs', 'ko', 'sl', 'hr'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'TheTVDB'}], 'tv.plex.agents.movie': [{'media_types': ['Movie'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': [], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Plex Movie'}], 'tv.plex.agents.series': [{'media_types': ['TV_Show'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': [], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Plex TV Series'}], 'com.plexapp.agents.lastfm': [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'sv', 'fr', 'es', 'de', 'pl', 'it', 'pt', 'ja', 'tr', 'ru', 'zh'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Last.fm'}, {'media_types': ['Album'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'sv', 'fr', 'es', 'de', 'pl', 'it', 'pt', 'ja', 'tr', 'ru', 'zh'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Last.fm'}], 'org.musicbrainz.agents.music': [{'media_types': ['Artist'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'ar', 'bg', 'zh', 'hr', 'cs', 'da', 'nl', 'fi', 'fr', 'de', 'el', 'hu', 'id', 'it', 'ja', 'ko', 'nn', 'pl', 'pt', 'ro', 'ru', 'sr', 'sk', 'es', 'sv', 'th', 'tr', 'vi', 'xx'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Musicbrainz'}, {'media_types': ['Album'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'ar', 'bg', 'zh', 'hr', 'cs', 'da', 'nl', 'fi', 'fr', 'de', 'el', 'hu', 'id', 'it', 'ja', 'ko', 'nn', 'pl', 'pt', 'ro', 'ru', 'sr', 'sk', 'es', 'sv', 'th', 'tr', 'vi', 'xx'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Musicbrainz'}], 'com.plexapp.agents.themoviedb': [{'media_types': ['Movie'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': None, 'has_attribution': True, 'languages': ['en', 'cs', 'da', 'de', 'el', 'es', 'fi', 'fr', 'he', 'hr', 'hu', 'it', 'lv', 'lt', 'nl', 'no', 'pl', 'pt', 'ru', 'sk', 'sv', 'th', 'tr', 'vi', 'zh', 'ko'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia'], 'prefs': True, 'name': 'The Movie Database'}, {'media_types': ['TV_Show'], 'primary_provider': True, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.thetvdb'], 'has_attribution': True, 'languages': ['en', 'cs', 'da', 'de', 'el', 'es', 'fi', 'fr', 'he', 'hr', 'hu', 'it', 'lv', 'lt', 'nl', 'no', 'pl', 'pt', 'ru', 'sk', 'sv', 'th', 'tr', 'vi', 'zh', 'ko'], 'persist_stored_files': True, 'version': 0, 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.thetvdb'], 'prefs': True, 'name': 'The Movie Database'}], 'com.plexapp.agents.htbackdrops': [{'media_types': ['Artist'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.lastfm'], 'has_attribution': True, 'languages': ['ab', 'aa', 'af', 'ak', 'sq', 'am', 'ar', 'an', 'hy', 'as', 'av', 'ae', 'ay', 'az', 'bm', 'ba', 'eu', 'be', 'bn', 'bh', 'bi', 'bs', 'pb', 'br', 'bg', 'my', 'ca', 'ch', 'ce', 'ny', 'zh', 'cu', 'cv', 'kw', 'co', 'cr', 'hr', 'cs', 'da', 'dv', 'nl', 'dz', 'en', 'eo', 'et', 'ee', 'fo', 'fj', 'fi', 'fr', 'fy', 'ff', 'gd', 'gl', 'lg', 'ka', 'de', 'el', 'gn', 'gu', 'ht', 'ha', 'he', 'hz', 'hi', 'ho', 'hu', 'is', 'io', 'ig', 'id', 'ia', 'ie', 'iu', 'ik', 'ga', 'it', 'ja', 'jv', 'kl', 'kn', 'kr', 'ks', 'kk', 'km', 'ki', 'rw', 'ky', 'kv', 'kg', 'ko', 'kj', 'ku', 'lo', 'la', 'lv', 'li', 'ln', 'lt', 'lu', 'lb', 'mk', 'mg', 'ms', 'ml', 'mt', 'gv', 'mi', 'mr', 'mh', 'mo', 'mn', 'na', 'nv', 'ng', 'ne', 'xn', 'nd', 'no', 'nb', 'nn', 'oc', 'oj', 'or', 'om', 'os', 'pi', 'pa', 'fa', 'pl', 'pt', 'ps', 'qu', 'rm', 'ro', 'rn', 'ru', 'se', 'sm', 'sg', 'sa', 'sc', 'sr', 'sn', 'ii', 'sd', 'si', 'sk', 'sl', 'so', 'st', 'nr', 'es', 'su', 'sw', 'ss', 'sv', 'tl', 'ty', 'tg', 'ta', 'tt', 'te', 'th', 'bo', 'ti', 'to', 'ts', 'tn', 'tr', 'tk', 'tw', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'cy', 'wo', 'xh', 'yi', 'yo', 'za', 'zu'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Home Theater Backdrops'}], 'com.plexapp.agents.movieposterdb': [{'media_types': ['Movie'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.imdb'], 'has_attribution': True, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'CineMaterial'}], 'com.plexapp.agents.localmedia': [{'media_types': ['Movie'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.imdb', 'com.plexapp.agents.none'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': False, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Local Media Assets (Movies)'}, {'media_types': ['TV_Show'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.thetvdb', 'com.plexapp.agents.none'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': False, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Local Media Assets (TV)'}, {'media_types': ['Artist'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.discogs', 'com.plexapp.agents.lastfm', 'com.plexapp.agents.plexmusic', 'com.plexapp.agents.none', 'tv.plex.agents.music', 'org.musicbrainz.agents.music'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': False, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Local Media Assets (Artists)'}, {'media_types': ['Artist'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.plexmusic'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': False, 'version': 2, 'accepts_from': None, 'prefs': True, 'name': 'Local Media Assets (Artists)'}, {'media_types': ['Album'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.discogs', 'com.plexapp.agents.lastfm', 'com.plexapp.agents.plexmusic', 'com.plexapp.agents.none', 'tv.plex.agents.music', 'org.musicbrainz.agents.music'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': False, 'version': 0, 'accepts_from': None, 'prefs': True, 'name': 'Local Media Assets (Albums)'}], 'com.plexapp.agents.plexthememusic': [{'media_types': ['TV_Show'], 'primary_provider': False, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.thetvdb', 'com.plexapp.agents.thetvdbdvdorder', 'com.plexapp.agents.themoviedb'], 'has_attribution': False, 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'accepts_from': None, 'prefs': False, 'name': 'Plex Theme Music'}]}
2023-06-11 15:21:55,088 (7f277f7fcb38) :  INFO (datakit:131) - Saved the dictionary file
2023-06-11 15:21:55,895 (7f277fdeab38) :  DEBUG (runtime:717) - Handling request GET /system/messaging/clear_events/com.plexapp.agents.fanarttv
2023-06-11 15:21:55,921 (7f277fdeab38) :  DEBUG (runtime:814) - Found route matching /system/messaging/clear_events/com.plexapp.agents.fanarttv
2023-06-11 15:21:55,922 (7f277fdeab38) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2023-06-11 15:21:55,923 (7f277fdeab38) :  DEBUG (runtime:924) - Response: [200] str, 0 bytes
2023-06-11 15:21:55,923 (7f277fdc7b38) :  DEBUG (runtime:717) - Handling request GET /system/messaging/clear_events/com.plexapp.agents.opensubtitles
2023-06-11 15:21:55,925 (7f277fdc7b38) :  DEBUG (runtime:814) - Found route matching /system/messaging/clear_events/com.plexapp.agents.opensubtitles
2023-06-11 15:21:55,926 (7f277fdc7b38) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2023-06-11 15:21:55,926 (7f277fdc7b38) :  DEBUG (runtime:924) - Response: [200] str, 0 bytes
2023-06-11 15:21:55,926 (7f277fdeab38) :  DEBUG (runtime:717) - Handling request GET /system/messaging/clear_events/com.plexapp.agents.plexthememusic
2023-06-11 15:21:55,928 (7f277fdeab38) :  DEBUG (runtime:814) - Found route matching /system/messaging/clear_events/com.plexapp.agents.plexthememusic
2023-06-11 15:21:55,929 (7f277fdeab38) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2023-06-11 15:21:55,930 (7f277fdeab38) :  DEBUG (runtime:924) - Response: [200] str, 0 bytes
2023-06-11 15:21:56,024 (7f277fdeab38) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/resourceHashes
2023-06-11 15:21:56,040 (7f277fdeab38) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/resourceHashes
2023-06-11 15:21:56,040 (7f277fdeab38) :  DEBUG (networking:144) - Requesting 'http://resources-cdn.plexapp.com/hashes.json'
2023-06-11 15:21:56,056 (7f277fdc7b38) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/resourceHashes
2023-06-11 15:21:56,057 (7f277fdc7b38) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/resourceHashes
2023-06-11 15:21:56,058 (7f277f7fcb38) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/resourceHashes
2023-06-11 15:21:56,059 (7f277f7fcb38) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/resourceHashes
2023-06-11 15:21:56,067 (7f277fdeab38) :  ERROR (networking:197) - Error opening URL 'http://resources-cdn.plexapp.com/hashes.json'
2023-06-11 15:21:56,067 (7f277fdeab38) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1291, in get_resource_hashes
    json = self._core.networking.http_request("http://resources-cdn.plexapp.com/hashes.json", timeout=5).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content
    return self.__str__()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-1dc22f47b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

2023-06-11 15:21:56,068 (7f277fdc7b38) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2023-06-11 15:21:56,069 (7f277f7fcb38) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2023-06-11 15:21:56,069 (7f277fdeab38) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)

More logs while trying to scan a new movie:

Plex Media Scanner.1.log

Jun 11, 2023 15:49:21.993 [139785545489216] DEBUG - Performing a scan with 'Plex Movie' (language: en-US virtual: 0).
Jun 11, 2023 15:49:21.993 [139785545489216] DEBUG -   * Scanning /mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)
Jun 11, 2023 15:49:21.996 [139785545489216] DEBUG - Scanner: Processing directory /mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023) (parent: yes)
Jun 11, 2023 15:49:22.045 [139785545489216] DEBUG - Directory had 1 files, database had 0 files, can't skip.
Jun 11, 2023 15:49:22.050 [139785545489216] DEBUG - [HCl#3] HTTP requesting PUT http://127.0.0.1:32400/activities/?percentComplete=%2B0&subtitle=Avataro%20Sentai%20Donbrothers%20vs%2E%20Zenkaiger%20%282023%29
Jun 11, 2023 15:49:22.051 [139785511471872] DEBUG - Matcher: found 0 auxiliary files in "/mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)" (single media: yes)
Jun 11, 2023 15:49:22.051 [139785512139520] DEBUG - [HttpClient/HCl#3] HTTP/1.1 (0.0s) 200 response from PUT http://127.0.0.1:32400/activities/?percentComplete=%2B0&subtitle=Avataro%20Sentai%20Donbrothers%20vs%2E%20Zenkaiger%20%282023%29 (reused)
Jun 11, 2023 15:49:22.051 [139785545489216] DEBUG - [HCl#4] HTTP requesting PUT http://127.0.0.1:32400/activities/?percentComplete=99.000000
Jun 11, 2023 15:49:22.052 [139785511471872] DEBUG - Matcher: no sidecar subtitle files found for "/mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)/Avataro Sentai Donbrothers vs. Zenkaiger (2023) {imdb-tt26920166} [Avataro Sentai DonBrothers VS Zenkaiger [WEB-DL][1080p][AMZN-VBR][6216E6DF]].mkv"
Jun 11, 2023 15:49:22.052 [139785512139520] DEBUG - [HttpClient/HCl#4] HTTP/1.1 (0.0s) 200 response from PUT http://127.0.0.1:32400/activities/?percentComplete=99.000000 (reused)
Jun 11, 2023 15:49:23.798 [139785511471872] WARN - Scanner [Plex Movie]: unable to find cloud match for item file '/mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)/Avataro Sentai Donbrothers vs. Zenkaiger (2023) {imdb-tt26920166} [Avataro Sentai DonBrothers VS Zenkaiger [WEB-DL][1080p][AMZN-VBR][6216E6DF]].mkv'

Plex Media Server.log

Jun 11, 2023 15:49:22.051 [139785545489216] DEBUG - [HCl#4] HTTP requesting PUT http://127.0.0.1:32400/activities/?percentComplete=99.000000
Jun 11, 2023 15:49:22.052 [139785511471872] DEBUG - Matcher: no sidecar subtitle files found for "/mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)/Avataro Sentai Donbrothers vs. Zenkaiger (2023) {imdb-tt26920166} [Avataro Sentai DonBrothers VS Zenkaiger [WEB-DL][1080p][AMZN-VBR][6216E6DF]].mkv"
Jun 11, 2023 15:49:22.052 [139785512139520] DEBUG - [HttpClient/HCl#4] HTTP/1.1 (0.0s) 200 response from PUT http://127.0.0.1:32400/activities/?percentComplete=99.000000 (reused)
Jun 11, 2023 15:49:23.783 [139785511471872] DEBUG - Matcher: no valid subtitles found, removing any existing media bundle file
Jun 11, 2023 15:49:23.784 [139785511471872] DEBUG - Native Scanner: Executed Local Metadata stage in 1.73 sec.
Jun 11, 2023 15:49:23.784 [139785511471872] DEBUG - Looking for path match for [/mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)/Avataro Sentai Donbrothers vs. Zenkaiger (2023) {imdb-tt26920166} [Avataro Sentai DonBrothers VS Zenkaiger [WEB-DL][1080p][AMZN-VBR][6216E6DF]].mkv]
Jun 11, 2023 15:49:23.795 [139785511471872] DEBUG - [HCl#5] HTTP requesting GET http://127.0.0.1:32400/metadata/agents/movie/match?filename=Avataro%20Sentai%20Donbrothers%20vs%2E%20Zenkaiger%20%282023%29%2FAvataro%20Sentai%20Donbrothers%20vs%2E%20Zenkaiger%20%282023%29%20%7Bimdb-tt26920166%7D%20%5BAvataro%20Sentai%20DonBrothers%20VS%20Zenkaiger%20%5BWEB-DL%5D%5B1080p%5D%5BAMZN-VBR%5D%5B6216E6DF%5D%5D%2Emkv&hash=75b3a8cc980ce8fedfaa1e52d30daac791601ee9&includeAdult=1&name=Avataro%20Sentai%20Donbrothers%20vs%20Zenkaiger&year=2023&X-Plex-Country=US&X-Plex-Language=en-US&X-Plex-Token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Jun 11, 2023 15:49:23.798 [139785512139520] DEBUG - [HttpClient/HCl#5] HTTP/1.1 (0.0s) 200 response from GET http://127.0.0.1:32400/metadata/agents/movie/match?filename=Avataro%20Sentai%20Donbrothers%20vs%2E%20Zenkaiger%20%282023%29%2FAvataro%20Sentai%20Donbrothers%20vs%2E%20Zenkaiger%20%282023%29%20%7Bimdb-tt26920166%7D%20%5BAvataro%20Sentai%20DonBrothers%20VS%20Zenkaiger%20%5BWEB-DL%5D%5B1080p%5D%5BAMZN-VBR%5D%5B6216E6DF%5D%5D%2Emkv&hash=75b3a8cc980ce8fedfaa1e52d30daac791601ee9&includeAdult=1&name=Avataro%20Sentai%20Donbrothers%20vs%20Zenkaiger&year=2023&X-Plex-Country=US&X-Plex-Language=en-US&X-Plex-Token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (reused)
Jun 11, 2023 15:49:23.798 [139785511471872] DEBUG - PlexClient: There are 0 total items for the container, retrieving 0 items
Jun 11, 2023 15:49:23.798 [139785511471872] WARN - Scanner [Plex Movie]: unable to find cloud match for item file '/mnt/plexdrive/movies-new/Avataro Sentai Donbrothers vs. Zenkaiger (2023)/Avataro Sentai Donbrothers vs. Zenkaiger (2023) {imdb-tt26920166} [Avataro Sentai DonBrothers VS Zenkaiger [WEB-DL][1080p][AMZN-VBR][6216E6DF]].mkv'
Jun 11, 2023 15:49:23.798 [139785511471872] DEBUG - Native Scanner: Executed Cloud Match stage in 0.01 sec.

It seems Plex cannot connect to the cloud service to obtain a match and the associated metadata, but I’m not sure why.

The scan action and a couple others have been deprecated in command line. If you do a --help

 -r, --refresh        Refresh the metadata. Deprecated.
 -b, --index          Generate a media index file. Deprecated.
 -s, --scan           Scan for new media. Deprecated.

You would need to do URL commands now. https://support.plex.tv/articles/201638786-plex-media-server-url-commands/

I know scan action is deprecated, it is been deprecated for quite some time now, but it was still working.

Are you confirming that the scan command stopped working for these last PMS versions?

I’m waiting to hear from our devs who work on that bit to confirm. I thought it was already not working.

1 Like

They said they would see what they could do to fix for now but that they are going to be completely removed soonish so you really should start using URL commands.

1 Like

Thank you for the reply!

I actually edited out the script to use the URL requests and it’s working fine now, so it is something that broke with the --scan command.

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