Prior to restarting your Plex Media Server, you should also delete (or backup and move elsewhere) the following two files if they exist alongside the original database: .db-shmĬom.-wal Start Plex and Check sudo service plexmediaserver start Run the following commands in the Command Prompt in order. In order to try and “repair” the database, you can perform a dump followed by a restore to get it back to normal. Sudo sqlite3 .db "PRAGMA integrity_check" Run Database Repair Even if the integrity check doesn’t return errors, it can still sometimes help to try and repair the database. Sudo sqlite3 .db "DELETE from schema_migrations where version='20180501000000'" Sudo sqlite3 .db "DROP index 'index_title_sort_naturalsort'" Even if the results come back “OK”, it’s still possible for there to be issues with a database, though. You can run commands to check how corrupt the database might be. This does require you have sqlite3 installed and ready to use. Now that plex is stopped we can check the database. var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases Tip!: It’s always a good idea make a backup copy of the database file before doing any work on it.įirst we need to stop the Plex Media Server and locate the database sudo service plexmediaserver stop Database location (ubuntu) In such a situation, you can attempt to repair the database. For instance, it might happen if the computer is turned off without first quitting Plex Media Server. It is possible for your main Plex Media Server database to become corrupted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |