Server Version#: 1.24.1.4931
Player Version#: 4.64.3
Hello,
TL;DR
My com.plexapp.plugins.library.db grew from 900MB to 10GB in 2 weeks and ended up corrupted. Plex reverted to the last backup (unfortunately 2 weeks old), but the DB is now slowly growing in size again. I believe this is the cause of the slow loading & UI I’m experiencing.
I’m sharing this incase others are experience similar issues, and also to get some help from staff to try and resolve this (or file it as a bug).
Problem
In the past few weeks my server has experienced some slowness. For example when I navigate to a TV Show in the Apple TV client it takes 5+ seconds for the screen to load. Similarly when I use the Plex Dash app on iOS it is taking much longer to load everything.
My Apple TV is plugged via ethernet and I’m on a 500Mb connection, my server is remote but has a 40Gb connection and I never experience any playback buffering (just trying to rule out the obvious reasons for you).
I had a server crash recently, I restarted the server and everything was in tact. The next morning I noticed that some already existing movies had been re-added and some viewing history was missing. I went to Library/Application Support/Plex Media Server/Plug-in Support/Databases and that is when I noticed a 10GB com.plexapp.plugins.library.db.broken file. Plex had reverted to a backup from 2 weeks prior (only 900MB). This happened around 5am which is within my server’s scheduled tasks window.
I decided after trying some of the repair steps from the Support page to not bother and just go about my day with the 2 weeks of metadata loss, no biggie. The issue is I think my DB is still tainted somehow, as if you look at the size of the com.plexapp.plugins.library.db file on my server it is growing at a weirdly rapid rate. 28/08/21 it was 909MB, 31/08/21 it was 1.83GB, 1/9/21 it is 3.65GB.
What are my options here? I’d like to avoid the nuke option of just deleting com.plexapp.plugins.library.db and letting the server build everything from scratch. Especially if this is being caused by a software bug and it’ll just reappear again.
Thanks for the help and let me know if I can provide anymore information.