We will need these values for Step 3 and Step 4. Also, note Plex’s Home Directory where my example shows ::var/lib/plexmediaserver. You will want to note the what numbers appear where my example shows :123:456: as that will be plex’s User ID and Group ID. Which should respond with something that looks like this: plex:x:123:456::/var/lib/plexmediaserver:/bin/bash Run this command to have the system show the details for the plex user: sudo less /etc/passwd | grep plex Without giving the plex user access, it causes issues with Plex writing and doing other operations with these files. Plex Media Server has it’s own user that interacts with the shared drive, and we need to allow that user to access. Step 1: Find out the User and Group ID of the plex user Both machines have their own Reserved IP/DHCP Addresses on my local network. My specific setup is using an old-ass Intel LGA 775 Dell running Ubuntu 16.04 LTS and a 4 Bay QNAP NAS that has a protected shared folder with the default properties. You don’t blame me if you mess up, as the following procedure can easily brick your Ubuntu machine if the changes to the /etc/fstab file we will be editing is done incorrectly.You are comfortable enough using Terminal to perform this operation.Plex Media Server is installed and running on Ubuntu.You have a NAS or Server already sharing a network drive that requires a username and password to access, and it’s available on the local network at a static IP.You will need to be comfortable with using Terminal and the command line for this option.Setting up Plex on Ubuntu and want it to be able to use files from a local Server or NAS? A beginner’s guide to getting a network drive loading in a place that Plex (running on Ubuntu 16.04) can access it.įinally putting this guide up here since I’ve constantly have forgotten how to do this, and there hasn’t been a single place with all of this info together. If the backup is not corrupt, you can then re-scan your libraries to pick up any additions since the date of the backup. If you’ve a backup of the database you can try restoring it. Your media is not touched during the process. If you delete the database you will have to re-create your libraries and re-share them with any users. If the database is corrupt, you’ve three choices: repair, restore from a backup, or delete & start over. Some examples: 19:36:56.959 ERROR - SQLITE3:(nil), 11, database corruption at line 64817 of ġ9:36:56.959 ERROR - SQLITE3:(nil), 11, statement aborts at 10: database disk image is malformedġ9:36:56.978 ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed Look for error messages indicating database corruption, such as those containing ERROR - SQLITE3 or ERROR - Database corruption. Unzip the file and open the Plex Media Server.log file with a text editor/reader. Uncheck the box next to Enable Plex Media Server verbose logging. Check the box next to Enable Plex Media Server debug logging. See Settings → Server_Name → Settings → General. Settings → Troubleshooting → Download Logs.įYI, your server should be set for debug, not verbose, logging. Pull the log files from your Plex Media Server. This sometimes happens if the Plex database is corrupted.
0 Comments
Leave a Reply. |