[GH-ISSUE #102] [Bug]: The agent no longer works with the most recent PMS #42

Closed
opened 2026-03-23 20:33:49 +00:00 by mirror · 22 comments
Owner

Originally created by @imajes on GitHub (Apr 24, 2025).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/102

I've read the documentation.

  • I'm running the latest version of the TubeArchivist Plex Integration Scanner and Agent. I have read the latest release notes and installation instructions.

Operating System

Docker

Your Bug Report

Describe the bug

The TubeArchivist Agent is no longer working correctly on the latest version of the PMS

Steps To Reproduce

Run main with the most recent plexpass version of PMS.

Observe the below log behavior...

Expected behavior

It actually works :)

Relevant log output

2025-04-19 22:09:42,492 (7b468d641b38) :  WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting value: line 7 column 1 (char 817)
2025-04-17 19:24:51,159 (72174a33d808) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2025-04-17 19:24:51,161 (72174a33d808) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/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 "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content
    return self.__str__()
  File "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__
    self.load()
  File "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/app/bin/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

2025-04-17 19:24:51,928 (72174666db38) :  WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting value: line 7 column 1 (char 817)
2025-04-17 19:25:48,151 (7217462deb38) :  ERROR (model:205) - Cannot read model from /app/config/Plex Media Server/Metadata/TV Shows/c/a95b20c533a9171dff820f98024cc35f888e22a.bundle/Contents/com.plexapp.agents.tubearchivist_agent

Anything else?

No response

Originally created by @imajes on GitHub (Apr 24, 2025). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/102 ### I've read the documentation. - [x] I'm running the latest version of the TubeArchivist Plex Integration Scanner and Agent. I have read the latest release notes and installation instructions. ### Operating System Docker ### Your Bug Report ## Describe the bug The TubeArchivist Agent is no longer working correctly on the latest version of the PMS ## Steps To Reproduce Run `main` with the most recent plexpass version of PMS. Observe the below log behavior... ## Expected behavior It actually works :) ### Relevant log output ```Shell 2025-04-19 22:09:42,492 (7b468d641b38) : WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting value: line 7 column 1 (char 817) 2025-04-17 19:24:51,159 (72174a33d808) : ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes' 2025-04-17 19:24:51,161 (72174a33d808) : CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last): File "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/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 "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content return self.__str__() File "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__ self.load() File "/app/bin/usr/lib/plexmediaserver/Resources/Plug-ins-d301f511a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load f = self._opener.open(req, timeout=self._timeout) File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open response = meth(req, response) File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error return self._call_chain(*args) File "/app/bin/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain result = func(*args) File "/app/bin/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 2025-04-17 19:24:51,928 (72174666db38) : WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting value: line 7 column 1 (char 817) 2025-04-17 19:25:48,151 (7217462deb38) : ERROR (model:205) - Cannot read model from /app/config/Plex Media Server/Metadata/TV Shows/c/a95b20c533a9171dff820f98024cc35f888e22a.bundle/Contents/com.plexapp.agents.tubearchivist_agent ``` ### Anything else? _No response_
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

Can you provide the exact versions of Plex and Scanner/Agent you are running? I'm currently only concerned about this line:

2025-04-17 19:25:48,151 (7217462deb38) : ERROR (model:205) - Cannot read model from /app/config/Plex Media Server/Metadata/TV Shows/c/a95b20c533a9171dff820f98024cc35f888e22a.bundle/Contents/com.plexapp.agents.tubearchivist_agent

<!-- gh-comment-id:2825824170 --> @lamusmaser commented on GitHub (Apr 24, 2025): Can you provide the exact versions of Plex and Scanner/Agent you are running? I'm currently only concerned about this line: > 2025-04-17 19:25:48,151 (7217462deb38) : ERROR (model:205) - Cannot read model from /app/config/Plex Media Server/Metadata/TV Shows/c/a95b20c533a9171dff820f98024cc35f888e22a.bundle/Contents/com.plexapp.agents.tubearchivist_agent
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

Yep.

Plex: 1.41.7.9717
Scanner: commit 59d7f9e633f2e40f45ef2aea2f0c7e4e33a29bc2 (HEAD -> main, tag: v0.1.7, origin/main, origin/HEAD)

<!-- gh-comment-id:2825865978 --> @imajes commented on GitHub (Apr 24, 2025): Yep. Plex: `1.41.7.9717` Scanner: `commit 59d7f9e633f2e40f45ef2aea2f0c7e4e33a29bc2 (HEAD -> main, tag: v0.1.7, origin/main, origin/HEAD)`
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

Specifically, it seems like that individual episode data (via the scanner) is OK, however i cannot match any new channel.

<!-- gh-comment-id:2825870420 --> @imajes commented on GitHub (Apr 24, 2025): Specifically, it seems like that individual episode data (via the scanner) is _OK_, however i cannot match any new channel.
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

Thanks for the information. I won't be able to test until later this week, but I will make sure it gets done soon.

<!-- gh-comment-id:2825892781 --> @lamusmaser commented on GitHub (Apr 24, 2025): Thanks for the information. I won't be able to test until later this week, but I will make sure it gets done soon.
Author
Owner

@Xocko12 commented on GitHub (Apr 24, 2025):

It's happening to me too. I was so happy after being able to enable the subtitles but now they're not available for new videos. New channels can't get any new info and videos don't have the proper metadata. I can't seem to find the Agent's log inside the directory where it should be.

Image
<!-- gh-comment-id:2826913968 --> @Xocko12 commented on GitHub (Apr 24, 2025): It's happening to me too. I was so happy after being able to enable the subtitles but now they're not available for new videos. New channels can't get any new info and videos don't have the proper metadata. I can't seem to find the Agent's log inside the directory where it should be. <img width="1440" alt="Image" src="https://github.com/user-attachments/assets/a9fbbdce-f33e-415a-aa07-6ea55dfe9f24" />
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

thanks @lamusmaser -- i know this is probably the sort of frustration that just makes it no fun!

<!-- gh-comment-id:2827864648 --> @imajes commented on GitHub (Apr 24, 2025): thanks @lamusmaser -- i know this is probably the sort of frustration that just makes it no fun!
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

I will need to wait until 1.41.7.9717 is available for me as a Docker image since that is where my testing instance is available. Current image availability is showing 1.41.6.9685-d301f511a as the latest version available. I'll keep checking back to see when it gets released so I can figure out what is happening on this side.

<!-- gh-comment-id:2828314836 --> @lamusmaser commented on GitHub (Apr 24, 2025): I will need to wait until `1.41.7.9717` is available for me as a Docker image since that is where my testing instance is available. [Current image availability](https://hub.docker.com/r/plexinc/pms-docker/tags) is showing `1.41.6.9685-d301f511a` as the latest version available. I'll keep checking back to see when it gets released so I can figure out what is happening on this side.
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

I will need to wait until 1.41.7.9717 is available for me as a Docker image since that is where my testing instance is available. Current image availability is showing 1.41.6.9685-d301f511a as the latest version available. I'll keep checking back to see when it gets released so I can figure out what is happening on this side.

@lamusmaser do you have a plexpass? and if so, have you tried hotio's image? that's what i use...

<!-- gh-comment-id:2828318735 --> @imajes commented on GitHub (Apr 24, 2025): > I will need to wait until `1.41.7.9717` is available for me as a Docker image since that is where my testing instance is available. [Current image availability](https://hub.docker.com/r/plexinc/pms-docker/tags) is showing `1.41.6.9685-d301f511a` as the latest version available. I'll keep checking back to see when it gets released so I can figure out what is happening on this side. @lamusmaser do you have a plexpass? and if so, have you tried hotio's image? that's what i use...
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

Yes, the other parts are not going to be an issue.

Hotio is showing that the latest version is release-1.41.6.9685-d301f511a. If you are pulling it from elsewhere, let me know.

<!-- gh-comment-id:2828323069 --> @lamusmaser commented on GitHub (Apr 24, 2025): Yes, the other parts are not going to be an issue. [Hotio](https://hotio.dev/containers/plex/) is showing that the latest version is `release-1.41.6.9685-d301f511a`. If you are pulling it from elsewhere, let me know.
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

Are you running a PLEX_BETA_INSTALL?

<!-- gh-comment-id:2828326193 --> @lamusmaser commented on GitHub (Apr 24, 2025): Are you running a `PLEX_BETA_INSTALL`?
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

Are you running a PLEX_BETA_INSTALL?

Ah, yes I am.

<!-- gh-comment-id:2828331557 --> @imajes commented on GitHub (Apr 24, 2025): > Are you running a `PLEX_BETA_INSTALL`? Ah, yes I am.
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

of course, the beta release notes don't give much insight:

Plex Media Server 1.41.7.9717 is now available to Plex Pass users in the Beta update channel.

FIXES:

(Continue Watching) Always return ancestor guids for in-progress items (PM-3303)
(Filters) The DOVI filter would result in an error when applied to a show library (PM-3272)
(Transcode) Transcoding High Bitrate EAC-3 could result in choppy audio. (PM-691)
(Transcodes) Some transcodes could result in larger than required bitrates (PM-2772)
<!-- gh-comment-id:2828334655 --> @imajes commented on GitHub (Apr 24, 2025): of course, the beta release notes don't give much insight: ``` Plex Media Server 1.41.7.9717 is now available to Plex Pass users in the Beta update channel. FIXES: (Continue Watching) Always return ancestor guids for in-progress items (PM-3303) (Filters) The DOVI filter would result in an error when applied to a show library (PM-3272) (Transcode) Transcoding High Bitrate EAC-3 could result in choppy audio. (PM-691) (Transcodes) Some transcodes could result in larger than required bitrates (PM-2772) ```
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

The difficulty is going to be if it is in that specific version or any of the 1.41.7.XXX releases that causes the issue.

<!-- gh-comment-id:2828340089 --> @lamusmaser commented on GitHub (Apr 24, 2025): The difficulty is going to be if it is in _that_ specific version or any of the `1.41.7.XXX` releases that causes the issue.
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

Looks like this is absolutely an issue on the Plex side.

https://forums.plex.tv/t/legacy-agents-removed-already-in-pms-1-41-7-9717-2025-04-23/914518/12

<!-- gh-comment-id:2828966741 --> @lamusmaser commented on GitHub (Apr 24, 2025): Looks like this is absolutely an issue on the Plex side. https://forums.plex.tv/t/legacy-agents-removed-already-in-pms-1-41-7-9717-2025-04-23/914518/12
Author
Owner

@Xocko12 commented on GitHub (Apr 24, 2025):

I can confirm that the agent does work after rolling back PMS version. I was running the same version as @imajes but I'm on the public releases.

I hope they're willing and able to fix what they've messed up on Plex's side.

<!-- gh-comment-id:2828987981 --> @Xocko12 commented on GitHub (Apr 24, 2025): I can confirm that the agent does work after rolling back PMS version. I was running the same version as @imajes but I'm on the public releases. I hope they're willing and able to fix what they've messed up on Plex's side.
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

As noted in the forum reference, they already have an internal fix and do not expect this to be a removal, but is just a bug that was identified after release.

<!-- gh-comment-id:2828990704 --> @lamusmaser commented on GitHub (Apr 24, 2025): As noted in the forum reference, they already have an internal fix and do not expect this to be a removal, but is just a bug that was identified after release.
Author
Owner

@imajes commented on GitHub (Apr 24, 2025):

nice, at least that has been tracked and is cued for release (though, plex's release engineering seems super (overly?) complex).

@lamusmaser feel free to close this whenever you feel ready! Thanks for helping us track it down.

<!-- gh-comment-id:2829002936 --> @imajes commented on GitHub (Apr 24, 2025): nice, at least that has been tracked and is cued for release (though, plex's release engineering seems super (overly?) complex). @lamusmaser feel free to close this whenever you feel ready! Thanks for helping us track it down.
Author
Owner

@lamusmaser commented on GitHub (Apr 24, 2025):

We'll close it when the fixed beta comes through.

<!-- gh-comment-id:2829007003 --> @lamusmaser commented on GitHub (Apr 24, 2025): We'll close it when the fixed beta comes through.
Author
Owner

@NightHawkATL commented on GitHub (Jun 9, 2025):

I just noticed this is not working for me in Plex recently also. I am on Version 1.41.8.9834 of Plex in Docker on TrueNAS Scale DragonFish.

Image

Image

<!-- gh-comment-id:2954689901 --> @NightHawkATL commented on GitHub (Jun 9, 2025): I just noticed this is not working for me in Plex recently also. I am on Version 1.41.8.9834 of Plex in Docker on TrueNAS Scale DragonFish. ![Image](https://github.com/user-attachments/assets/195f661d-c3ce-4572-95de-775c335d571d) ![Image](https://github.com/user-attachments/assets/776eb9fe-1472-495f-ab88-3cdff52d97d3)
Author
Owner

@lamusmaser commented on GitHub (Jun 9, 2025):

@NightHawkATL is this because of Issue #103 or is this still an issue with the Beta Release?

<!-- gh-comment-id:2956328627 --> @lamusmaser commented on GitHub (Jun 9, 2025): @NightHawkATL is this because of Issue #103 or is this still an issue with the Beta Release?
Author
Owner

@NightHawkATL commented on GitHub (Jun 9, 2025):

@NightHawkATL is this because of Issue #103 or is this still an issue with the Beta Release?

I believe mine was the same as this issue and not #103. I have just updated to the latest just released (v0.1.8) and it is now scanning and adding new media to Plex. Great Work!

<!-- gh-comment-id:2956902404 --> @NightHawkATL commented on GitHub (Jun 9, 2025): > [@NightHawkATL](https://github.com/NightHawkATL) is this because of Issue [#103](https://github.com/tubearchivist/tubearchivist-plex/issues/103) or is this still an issue with the Beta Release? I believe mine was the same as this issue and not #103. I have just updated to the latest just released (v0.1.8) and it is now scanning and adding new media to Plex. Great Work!
Author
Owner

@lamusmaser commented on GitHub (Jul 15, 2025):

Can confirm that this works on a more recent release of 1.41.9.9961.

<!-- gh-comment-id:3074342437 --> @lamusmaser commented on GitHub (Jul 15, 2025): Can confirm that this works on a more recent release of `1.41.9.9961`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/archived-tubearchivist-plex#42
No description provided.