Hi, I followed the steps on this post Recovering Corrupt Plex Server Database on nVidia Shield (I had to copy the database to my PC so I guess it will be the same procedure as you’d follow). You’ll need to download SQL Lite, you’ll find a link in the instructions.
Good luck.