Server Version#: 1.14.1.5488
Platform: macOS 10.14.3
Hi there,
I’m trying to track down an issue in Plex where a particular media item is corrupted, but sadly I can’t find any crash logs. I can simply demonstrate the problem by running this command:
Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Scanner -c 5 --tree
It returns normal results until it encounters the corrupted item, then it displays something like this:
....
* My-Corrupted-Library-Item [2016]
****** PLEX MEDIA SCANNER CRASHED, CRASH REPORT WRITTEN: A8FFAD6E-4EDA-4659-BEC1-B59F878C1DD6
Despite the message, no crash reports appear to be logged. From looking at other forum posts it seems like the media scanner often returns the full directory path but it’s not in this case.
I’m on a Mac and I see nothing when I try to look where the crash reports should be:
➜ pwd
/Users/chris/Library/Application Support/Plex Media Server/Crash Reports
➜ tree
.
├── 1.13.9.5456-ecd600442
│ ├── PLEX\ DLNA\ SERVER
│ ├── PLEX\ MEDIA\ SCANNER
│ └── PLEX\ MEDIA\ SERVER
├── 1.14.0.5470-9d51fdfaa
│ ├── PLEX\ DLNA\ SERVER
│ ├── PLEX\ MEDIA\ SCANNER
│ └── PLEX\ MEDIA\ SERVER
└── 1.14.1.5488-cc260c476
├── PLEX\ DLNA\ SERVER
├── PLEX\ MEDIA\ SCANNER
└── PLEX\ MEDIA\ SERVER
12 directories, 0 files
~/Library/Logs/DiagnosticReports/ and ~/Library/Logs/CrashReporter/ has no Plex crash reports either.
Turning on logging (not verbose logging) doesn’t seem to reveal much either. The ‘Plex Media Scanner.log’ file seems to cut out right before encountering the corrupted file. None of the other logs seems to hint at the problem either. It just shows this:
Feb 04, 2019 13:42:43.857 [0x700001144000] INFO - Plex Media Scanner v1.14.1.5488-cc260c476 - Apple Mac x86_64 - build: darwin-x86_64 - GMT -08:00
Feb 04, 2019 13:42:43.857 [0x700001144000] INFO - MacOSX version: 10.14.3, language: en-US
Feb 04, 2019 13:42:43.857 [0x700001144000] INFO - Processor Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Feb 04, 2019 13:42:43.857 [0x700001144000] INFO - /Applications/Plex Media Server.app/Contents/MacOS/Plex Media Scanner -c 5 --tree
Feb 04, 2019 13:42:43.851 [0x114ceb5c0] WARN - Default locale is invalid; falling back on classic+UTF-8
Feb 04, 2019 13:42:43.865 [0x114ceb5c0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.13.0, threadsafe=1
(to get back to my original problem, repairing the database multiple times as explained here does not fix it. Everything, in general, seems to work fine except when I try to interact with one particular item. Sadly I can’t delete it either. I figure fixing crash reporting will be a good first step)