There was an unexpected error loading the dashboard

Im getting this error message:

There was an unexpected error loading the dashboard Please visit our forums if you continue to experience problems.

Im having all sorts of issues, including sync issues, unable to mark items as watched. And the error when i click on the local server.

Sounds like you have a bad database. First, try optimizing the database and see if that helps. Second option is to try and fix the database, https://support.plex.tv/articles/201100678-repair-a-corrupt-database/. Third, you can try restoring a backup if you have it, https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/.

Thanks, corrupt database seems to be the culprit. Restored a backup and so far so good.

In follow up, nothing seems to want to sync to my iOS devices. Sync shows “waiting for server” and the individual shows say “waiting”

There seems to be no outstanding conversions taking place.