I’ve had a problem for a while with my Home & TV recommended page loading quite slowly, but the latest version upgrade (1.25.9.5721-965587f64) of Plex completely broke my TV recommended page and also broke several shows so that I cannot watch them.
I have relatively succinct logs of the different problems happening with both Plex versions that hopefully help to pinpoint what is different between the two versions.
logs_to_share.zip (116.1 KB)
Older Server Version: 1.25.7.5604-980a13e02
Player (Web): 4.78.4 (though this also happens on iOS or ShieldTVs)
Behavior Observed:
- TV recommended page loads very slowly (15+ seconds) or fails to load, but when I click “reload” on the recommended page, it will eventually reload the recommendations.
- All TV shows play fine
Frequent Errors Observed in Logs (older version) When TV Recommend Pages are Trying to Load
QueryParser: Invalid field 'sectionID' found, ignoring.
QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
###Newer Server Version: 1.25.9.5721-965587f64
Player (Web): 4.78.4 (though this also happens on iOS or ShieldTVs)
Behavior Observed:
- I can not load my TV recommended page at all. (“Something went wrong”)
- Also, various shows fail to play completely. (an attempt to play 1883 is in the logs along with the resulting errors)
- If I downgrade back to the older version above, I can again play the shows like 1883 that fail, and my library recommended pages will load, albeit slowly.
Frequent Errors Observed in Logs on Latest Plex Version While Attempting to Load Recommended TV page:
ERROR - Unknown metadata type: folder
WARN - QueryParser: Invalid field 'sectionID' found, ignoring.
QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
WARN - [DatabaseFixups] Held transaction for too long (E:\jenkins\server\3589017872\Library\MetadataCollection.cpp:479)
Subscription: Error refreshing sub: Could not find providers for subscription
And then this long error which directly precedes the library recommend page failing to load, as well as when I try to play :
Note that I’ve checked my database and the indexes mentioned do seem to exist.
Apr 11, 2022 16:42:37.475 [12836] ERROR - SQLITE3:0x724432f3, 1, no such index: index_metadata_item_views_on_guid in "select grandparents.id,metadata_item_views.originally_available_at,metadata_item_views.parent_index,metadata_item_views.`index`,max(viewed_at),grandparents.
Apr 11, 2022 16:42:37.478 [12836] ERROR - Soci Exception handled: sqlite3_statement_backend::prepare: no such index: index_metadata_item_views_on_guid for SQL: select grandparents.id,metadata_item_views.originally_available_at,metadata_item_views.parent_index,metadata_item_views.`index`,max(viewed_at),grandparents.library_section_id,grandparentsSettings.extra_data from metadata_item_views indexed by index_metadata_item_views_on_guid join metadata_items as grandparents indexed by index_metadata_items_on_guid on grandparents.guid=grandparent_guid join metadata_item_settings indexed by index_metadata_item_settings_on_account_id on metadata_item_settings.guid=metadata_item_views.guid and metadata_item_views.account_id=metadata_item_settings.account_id join metadata_item_settings as grandparentsSettings indexed by index_metadata_item_settings_on_guid on grandparentsSettings.guid=metadata_item_views.grandparent_guid and metadata_item_views.account_id=grandparentsSettings.account_id where metadata_item_views.library_section_id=? and viewed_at > '2022-02-21 15:42:37' and metadata_item_settings.view_count>0 and metadata_item_views.account_id=? group by grandparents.id order by viewed_at desc
What I’ve tried:
- Checking database for corruption and repairing it. There was non reported but I ran the repair anyway.
- Resetting all view customizations, no change
- Testing with different managed users on my account, these problems seem to be isolated to my user. This feels important but I’m not sure what would be causing this to troubleshoot further.
- Checked my hardware the library is on for performance. It is a high performance NVME drive showing no signs of failure (all other libraries load quite quickly, just not TV)
Hopefully these details will help troubleshoot what is going on with my library. I’m reasonably proficient with the SQL DB so if I need to manually update something to fix whatever is broken, I can do so.
Help would very much be appreciated. Thank you!