Server Version#: 1.40.0.7998
Player Version#: Web client 4.125.1 (but all clients affected iOS / Android / Samsung TV etc)
I’m seeing a bunch of ‘no such column: metadata_items.slug’ errors in the console when I try to view the homepage or a particular library after upgrading my server to the latest version.
Here’s a full example of the error messages I’m getting from the logs:
[Req#17a6] SQLITE3:0x7fa8086bd0, 1, no such column: metadata_items.slug in "select media_items.id as 'media_items_id', media_items.library_section_id as 'media_items_library_section_id', media_items.section_location_id as 'media_items_section_location_id', media_items.metadata_item_id as 'media_items_metadata_item_id', media_items.type_id as 'media_items_type_id', media_items.width as 'media_items_width', media_items.height as 'media_items_height', media_items.size as 'media_items_size', media_items.duration as 'media_items_duration', media_items.bitrate as 'media_items_bitrate', media_items.container as 'media_items_container', media_items.video_codec as 'media_items_video_codec', media_items.audio_codec as 'media_items_audio_codec', media_items.display_aspect_ratio as 'media_items_display_a
And the UI displays this error message:
I’ve tried refreshing metadata for libraries and also adding in new libraries pointed at the same directory without any luck.
And I’ve also checked the database for errors with ChuckPa’s db repair tools: GitHub - ChuckPa/DBRepair: Database repair utility for Plex Media Server databases which found no issues.
It seems like maybe a migration didn’t run as expected during the upgrade and now a column’s not there that should be.
Does anyone know how to fix this?
Here’s a full copy of the server logs as well:
