Just to update you all and know that somebody is looking into this, so far I’ve come across 3 or 4 different causes for the agents to not find any matches.
- Database issues. The database is slow and/or there is a separate issue during startup causing the database to lock up and not be able to update the metadata agents tables.
- The request to our metadata backend services is timing out (408 errors). I cannot tell what’s causing this. You may have been really unlucky and hit a service outage exactly when you were starting your server, or there is something causing an issue on your local internet connection.
- A very rare deadlock condition. I’ve seen 2 logs hinting at this happening. I have not been successful in reproducing this issue but it is being looked into and I’ll probably have a custom PMS build for those affected to try out next week.
- Issues with the legacy agents - as these are no longer being maintained I’m unfortunately not going to include this in this investigation. There was a known issue where it was completely broken in one beta build but that has been fixed. Other than that, please test with the default Plex agents only if reporting issues here.
For points 1 and 2, I’m going to make some changes to make the process of discovering the agents more resilient, this should hopefully allow things to work correctly even when there are very long database locks (you may just have to wait a bit longer).
As for point 3 I’ve said I’ll try to provide a test build to some folks next week with some changes that should help that.
Feel free to post more logs if you’re seeing issues using the default Plex agents.