Sorry for being a pain in this forums but my files will still not update within my library. I’ve deleted the entire library and then tried to reload it but now it won’t load anything. It won’t load anything new since last week. This is getting insane, I’ve heard of something called a deep scan but no clue where to find the option. Please help
Which operating system? Where are the files stored?
(Synology’s DSM loves to silently ‘drop’ permissions and PMS sits there totally daft until I realize DSM is being silly)
I’m using a mac and my files are on a external hard drive
I use Linux. Since OS X came from BSD, which came from Unix just like Linux did. You’ve probably got permission problems accessing the drive.
Remember, just because you can see the files, doesn’t mean user plex can. External USB drives also move around. When this happens, the OS/File Manager will mount them for you. In Linux, it will grant you exclusive access. This action, locks out PMS and denies it access (default security rules)
What you need to do (I don’t have the knowledge / commands to make it happen in OS X) is, based on the ‘Label’ assigned to the drive.
- Create a directory somewhere to mount to. e.g.
/disks/disk1 - make yourself the owner of those directories
- change the permission of those directories to
755(so PMS can read them) - Add the entire in
/etc/fstab(creating it if needed) to mount the partition.
Here’s a link which is what I’m trying to show you but can’t verify before doing so.
Your goal is to specify the specific parition (by Label) to mount at /disks/disk1.
The last step, and most important, is to guarantee PMS has read access.
sudo find /disks/disk1 -type d -exec chmod 755 {} \;
sudo find /disks/disk1 -type f -exec chmod 644 {} \;
this keeps ownership rights for you but read-only to pms.
now point PMS at /disks/disk1 for the appropriate library.
Add/edit disks/names as needed.
What’s funny is I never had to do this before it’s been running great for 3 years why now this all has to happen?
That’s what I’d like to find out.
I’ve done some checking since my post. I’m told ‘fstab’ (the way to Linux/Unix/OSX how to mount disks) method has been deprecated in OS X. The ‘new’ method is the automount and autofs.
That having been said and before you open another thread (yes, I see the one you just did), Logs please?
What is the external drive formatted as? have you looked at the Plex Media Scanner.log
it’s in Settings>Server>Help>download logs the scanner one is what shows what happens when it reads in files. if it cannot see them at all it is a likely a permissions issue like ChuckPa is hinting at
Guys I’ve downloaded the log I have no clue what I’m looking at. It’s a bounce of files with numbers how is this gonna help? This makes no sense it worked a week ago with out any of the settings being different. The hard drive is formatted for a mac again I’ve used this drive with plex for 3 years never had a problem. As for changing the permission great I see what your typing but have no clue how to do that. Not trying to be a dick I know your trying to help but it makes no sense
We know how to read the log files. If there are permissions issues / other obvious problems as catastrophic as you’re having, they should be in there for us to trip over.
Please attach them (the zip file) to your next post. Click the document icon at the top of the reply area and then select the zip file… it will automatically upload. Wait for it to complete and then click Post Comment.
here ya go
https://support.plex.tv/hc/en-us/articles/201100678-Repair-a-Corrupt-Database
you log shows corruption you need to do this. it is just copy pasting commands in terminal.app
Thanks. Just as we thought, easy to find.
Your database is damaged. (a rude and ungraceful shutdown can cause it)
Here is how to take care of it. https://support.plex.tv/hc/en-us/articles/201100678-Repair-a-Corrupt-Database
You can copy/paste each of those command sequences into the terminal window.
If those don’t repair it, you’ll unfortunately need to delete the Library and start from scratch because the database is too far gone.
i dont mind redoing it would i have to delete each library i have?
ok it looks like i have to delete the database, how can i do that within the terminal?
redoing each library won’t cure the core problem. You have to nuke the whole instance.
-
Stop PMS.
-
In your GUI file browser, Open ~/Library/Application Support
-
Now delete
Plex Media Server -
Start PMS
Now you’ve got a clean slate to work with.
stupid question where is GUI file browser on a mac?
sorry guys i know its late but still clueless
Got it thanks figured it out