Server Version#: 1.14.1.5488
Platform: macOS 10.14.3
There’s a particular item in my library that seems to always have a problem when accessing it. Interestingly this seems to be the very first item I added to my Movies library. There’s no problem in my TV library. On the Plex web view, I get this error message when clicking on it: “There was an unexpected error loading this item. Please visit our forums if you continue to experience problems”.
I can also reproduce the same problem by running the Plex Media Scanner directly. If I run this command Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Scanner -c 5 --tree
It returns normal results until it encounters the corrupted item. It ends by displaying something like this:
...
* My-Corrupted-Library-Item [2016]
****** PLEX MEDIA SCANNER CRASHED, CRASH REPORT WRITTEN: A8FFAD6E-4EDA-4659-BEC1-B59F878C1DD6
Repairing the database multiple times as explained here does not fix the problem. Everything, in general, seems to work fine except when I try to interact with that one particular item. Sadly I can’t delete it either. All actions on this item seem to fail.
Turning on logging (not verbose logging) doesn’t seem to reveal much either. Plex Media Server.log doesn’t offer any clues. 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. The Scanner’s logs 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
The crash dump is being uploaded to Plex’s servers directly. But I can collect one as well if that would help.
Any ideas on how to fix this? I wish I could just manually remove this item entirely from my library but not sure how. The com.plexapp.plugins.library.db schema seems pretty complex so not sure how to manually edit it to remove an item.
Would love some tips on how to fix this! Any ideas? I really don’t want to have to delete and then re-scan my entire library, but I know that would probably work as a last resort. Thanks!