Server Version#: 1.16.0.1226
Player Version#: 3.95.2
CentOS 7 64 bit Linux 3.10.0-957.10.1.el7.x86_64
I am getting this error “There was an unexpected error loading this library category” in some library all of a sudden. I have done “Optimize Database” , “Clean Bundles”, “Refresh All Metadata” but the problem still persists. Also in the “Status” it says “Unable to load statistics” and in the “Home” it says “There was an unexpected error loading the dashboard”. Please help me.
Please disable ‘verbose’ logging. It is the opposite of helpful.
Your database is damaged.
Jun 29, 2019 15:22:27.843 [0x7fdf10f89700] ERROR - SQLITE3:(nil), 11, database corruption at line 79051 of [bf8c1b2b7a]
Jun 29, 2019 15:22:27.843 [0x7fdf10f89700] ERROR - SQLITE3:(nil), 11, statement aborts at 11: [select id from metadata_items where metadata_type=? and library_section_id=? and absolute_index is not null] database disk image is malformed
Thanks a lot for your quick answer. I have followed your instruction but at the end I got an error:
[root@plex Databases]# sqlite3 com.plexapp.plugins.library.db < dump.sql
Error: near line 1647543: PRIMARY KEY must be unique
Error: near line 1647544: PRIMARY KEY must be unique
Error: near line 1647545: PRIMARY KEY must be unique
Error: near line 1647546: PRIMARY KEY must be unique
After that when I tried to start the Plex service it did not start.