diff --git a/Frequently-Asked-Questions-(FAQ).md b/Frequently-Asked-Questions-(FAQ).md index 806e468..3ed78b7 100644 --- a/Frequently-Asked-Questions-(FAQ).md +++ b/Frequently-Asked-Questions-(FAQ).md @@ -181,7 +181,7 @@ Otherwise, you may have to set secure connections to "Preferred" in your Plex se **A:** The easiest way to fix this would be restoring an older version of the database from the backup directory. If you are using Windows or Mac OS, then you can try to fix it using the steps below. Alternatively, you can try using the [SQLite command line instructions here](http://froebe.net/blog/2015/05/27/error-sqlite-database-is-malformed-solved/). 1. Backup your PlexPy database (`plexpy.db`) by making a copy and saving it somewhere safe. -2. Open your database with [DB Brwoser for SQLite](http://sqlitebrowser.org/). +2. Open your database with [DB Browser for SQLite](http://sqlitebrowser.org/). 3. Go to the "Execute SQL" tab and run `pragma integrity_check;` ([screenshot](http://i.imgur.com/06CBhMc.png)). If it does not say "ok" then you need to repair your database. 4. Go to "File > Export > Database to SQL file..." 5. Check the box that says "Multiple rows (VALUES) per INSERT statement ([screenshot](http://i.imgur.com/3GXfQw6.png)). @@ -249,7 +249,7 @@ If the item can't be found then you can flush the temporary sessions database in 1. Create a backup of your PlexPy database (`plexpy.db`) by going to Settings > General > Backup Database 2. Shutdown PlexPy. -3. Open your database with [DB Brwoser for SQLite](http://sqlitebrowser.org/). +3. Open your database with [DB Browser for SQLite](http://sqlitebrowser.org/). 4. Go to the "Execute SQL" tab and run the following SQL: DELETE FROM session_history WHERE id NOT IN (SELECT id FROM session_history_metadata);