Help me fix my plex?

I had been successfully running plex for over a year when about 3-4 months ago I ran into issues. It started with library update issues resulting in titles being removed from my library and later being re-added, which resulted in the recently added section showing movies that had been in my library from months ago. It now has resulted in Roku streaming errors and general issues running plex interface on the roku. Everything is hardwired via ethernet into the same Dell PowerConnect Gigabit switch.

I have a Synology NAS as my storage and a Late 2012 Quad Core 2.3 GHZ with 16GB Ram mac mini running my Plex server. I have the synology mounted as a network drive on the Mac Mini via AFP.

Can any offer some suggestions?

It sounds like your computer is losing it’s network connection to the Syno. If PMS doesn’t have a stable connection (the media isn’t present/can be connected to) when it scans its library, it will be removed. Later, when the connection is restored, it is added back.

I would need to see your Logs from a situation when/as this happens. Asking about it 3-4 months later is of no help.

If you’re having streaming errors AND your media has been frequently removed and added back, it’s very possible your database has become fragmented. This can result in very erratic behavior. A simple “Optimize Database” (left side panel, top) will correct it.

If this does not, please gather the Plex Media Server logs in a zip or tar file and attach them here with with a post and we’ll take a look

Thanks for responding. I tried the optimize DB option without success. Here are my log files:

I have found some errors. If you look at “Plex Media Scanner.log” you’ll see where it had different counts. It had tried to match 18, but ultimately wasn’t able to lock (80%+ certainty) On subsequent scans it lost that ‘lock’ and it dropped out.

A pass using a tool, such as FileBot, will help you put everything in order and this will be behind you. I recommend FileBot because as you drop in files to be renamed, it performs the lookup, constructs a proposed name, and allows you to verify this is correct before actually performing the renaming. If it can’t get a solid match from the names you’ve supplied, it asks. This is key. Since it shows you the resultant file’s path for each, you can verify everything is named as it should be for Plex.

Here’s one,

The correct structure and naming should be Happy Days/Season 5/Happy Days - S05E01 - Hollywood (1).avi
Aug 16, 2016 22:29:15.177 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 1 - Hollywood (1).avi
Aug 16, 2016 22:29:15.187 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 10 - My Fair Fonzie.avi
Aug 16, 2016 22:29:15.196 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 11 - Bye Bye Blackball.avi
Aug 16, 2016 22:29:15.206 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 12 - Requiem For A Malph.avi
Aug 16, 2016 22:29:15.215 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 13 - Nose For News.avi
Aug 16, 2016 22:29:15.224 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 14 - Grandpa’s Visit.avi
Aug 16, 2016 22:29:15.233 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 15 - Potsie Gets Pinned.avi
Aug 16, 2016 22:29:15.244 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 16 - Joanie’s First Kiss.avi
Aug 16, 2016 22:29:15.254 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 17 - Marion’s Misgivings.avi
Aug 16, 2016 22:29:15.264 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 18 - Richie Almost Dies.avi
Aug 16, 2016 22:29:15.274 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 19 - Spunkless Spunky.avi
Aug 16, 2016 22:29:15.283 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 2 - Hollywood (2).avi
Aug 16, 2016 22:29:15.315 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 20 - Be My Valentine.avi
Aug 16, 2016 22:29:15.325 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 21 - Our Gang.avi
Aug 16, 2016 22:29:15.334 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 22 - My Favourite Orkan.avi
Aug 16, 2016 22:29:15.344 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 23 - 4th Anniversary Special.avi
Aug 16, 2016 22:29:15.354 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 24 - Do You Want To Dance.avi
Aug 16, 2016 22:29:15.364 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 25 - Second Wind.avi
Aug 16, 2016 22:29:15.373 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 26 - Rules To Date By.avi
Aug 16, 2016 22:29:15.383 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 27 - Fonzie For The Defense.avi
Aug 16, 2016 22:29:15.393 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 3 - Hollywood (3).avi
Aug 16, 2016 22:29:15.402 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 4 - Hard Cover.avi
Aug 16, 2016 22:29:15.412 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 5 - My Cousin, The Cheat.avi
Aug 16, 2016 22:29:15.421 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 6 - Fonsillectomy.avi
Aug 16, 2016 22:29:15.431 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 7 - The Apartment.avi
Aug 16, 2016 22:29:15.440 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 8 - Fonzie And The Leather Tuscadero (1).avi
Aug 16, 2016 22:29:15.449 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 9 - Fonzie & The Leather Tuscadero (2).avi
Aug 16, 2016 22:29:15.459 [0x7fff766ac000] DEBUG - Adding file for scanner: /Volumes/video/TV/Happy Days/Happy Days Season 5/Torrent_downloaded_from_Demonoid.com.txt
Aug 16, 2016 22:29:15.476 [0x7fff766ac000] DEBUG - Directory had 27 files, database had 18 files, can’t skip.
Aug 16, 2016 22:29:15.525 [0x7fff766ac000] DEBUG - * Scanning Happy Days Season 5 Episode 10
Aug 16, 2016 22:29:15.525 [0x7fff766ac000] DEBUG - Looking for path match for [/Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 10 - My Fair Fonzie.avi]
Aug 16, 2016 22:29:15.527 [0x7fff766ac000] DEBUG - Path matched, we’re reusing media item 120353
Aug 16, 2016 22:29:15.527 [0x7fff766ac000] DEBUG - * Scanning Happy Days Season 5 Episode 11
Aug 16, 2016 22:29:15.527 [0x7fff766ac000] DEBUG - Looking for path match for [/Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 11 - Bye Bye Blackball.avi]
Aug 16, 2016 22:29:15.529 [0x7fff766ac000] DEBUG - Path matched, we’re reusing media item 120354
Aug 16, 2016 22:29:15.530 [0x7fff766ac000] DEBUG - * Scanning Happy Days Season 5 Episode 12
Aug 16, 2016 22:29:15.530 [0x7fff766ac000] DEBUG - Looking for path match for [/Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 12 - Requiem For A Malph.avi]
Aug 16, 2016 22:29:15.531 [0x7fff766ac000] DEBUG - Path matched, we’re reusing media item 120355
Aug 16, 2016 22:29:15.531 [0x7fff766ac000] DEBUG - * Scanning Happy Days Season 5 Episode 13
Aug 16, 2016 22:29:15.531 [0x7fff766ac000] DEBUG - Looking for path match for [/Volumes/video/TV/Happy Days/Happy Days Season 5/Episode 13 - Nose For News.avi]
Aug 16, 2016 22:29:15.533 [0x7fff766ac000] DEBUG - Path matched, we’re reusing media item 120356

Here’s an example of how FileBot can use both the current structure (to give hints) along with the name, and come up with matches. At no point did I have to help it.

To recommend the renaming rules for you to use in FileBot (Right click on ‘Match’, select “Edit Format”, switch to “Episode Mode”) which matches what appears to be your established theme,

/Volumes/video/TV/{n}/Season {s}/{n} - {s00e00} - {t}

I received the following error via my Roku today: Plex Server Connection State: Unauthorized. After allowing an unauthorized connection the Roku connected to Plex Server

You just enabled security after having used it all this time?

You can select “on same network” to continue. If your PMS exists on wired but Roku is on wifi with a different subnet ID, this can happen… Simply select “Always” after trying “On same network”

I made no changes to security etc. I have no idea why that message popped up after successfully using PMS for over a year. ANy ideas?

The security changes, implemented with 0.9.17.0, were of huge impact. The default is Preferred.

Making a large version upgrade from 0.9.16.6 or the 3.5.x (old) Roku client to current versions would explain what you are seeing.

Also, changes in router firmware or network config (wifi spanning/merging with wired) can also impact this.