

More I use this OS more I fall in love with. Below are the steps to restore from one of those backups sudo mv .db . Server Introduction - OpenMediaVault (OMV) is a Debian based headless Operating System (OS). You can also use Tautulli to view current activity on your server, send out newsletters when you upload content, and manage your server’s synced content. One of the many Scheduled Tasks that a Plex Media Server performs is to make regular backups of the core database, which holds things such as your viewstate information and media matching details. Tautulli gives you a concise and easy-to-read overview of your Plex server statistics, including simple graphs that help you measure your stats. Stop plex again using the steps above and move to the last resort to restore the backup Last Resort – Restore Plex Database from backup In some cases, the repair process does not fix the problem and a database restore might be required to restore plex. Now the plex database has been repaired and can be tested. 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'" the plugin jail shell from the Jail page and type tail /var/log/messages to see. Even if the results come back “OK”, it’s still possible for there to be issues with a database, though. In the example shown in Figure 13.1.2, Plex Media Server is selected for. 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) Like a lot of streaming media servers, your Plex server has support for plug-ins. In such a situation, you can attempt to repair the database. If your Plex server is on a secure VPN, you can follow our guide to allow streaming through it. 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.
