"Playback was terminated by the server" on everything now.

I’m running the latest PP release on my Synology DS415+. It’s been running fine for a couple years. Then a few weeks ago it starts giving me this error whenever I try to play a movie. For some reason TV show generally playback just fine. Now it’s happening on every movie I try to play, even films I’ve watched before that I know work. It makes Plex unusable. Here’s the error I get:

Playback was terminated by the server.
Conversion failed. The transcoder crashed or failed to start up.
OK

I’ve tried restarting the server, restarting Plex, upgrading Plex. Nothing’s worked to fix this. Any help is greatly appreciated! I’m having to resort to using DS Video to playback movies…

Thanks!

Please repeat a failure, wait about 30 seconds for everything to calm down, go to Settings - Server - Help - Download Logs.

Upload the ZIP file it gives you here with your next post. I will look at it.

Hi Chuck - Thanks! Here’s the log file (zip). Thanks again!!

Looks like you got it. :slight_smile:

The document attach ^^ or photo attach work as well as Drag & Drop.

As for what’s happening, You’re getting this:

Jun 03, 2017 15:32:24.056 [0xea911b40] DEBUG - MDE: analyzing media item 33859
Jun 03, 2017 15:32:24.056 [0xea911b40] DEBUG - MDE: Force Majeure (2014): no direct play video profile exists for http/mkv/h264
Jun 03, 2017 15:32:24.057 [0xea911b40] DEBUG - MDE: Force Majeure (2014): no direct play video profile exists for http/mkv/h264/dca
Jun 03, 2017 15:32:24.057 [0xea911b40] ERROR - get - invalid frameRate value: 23.976
Jun 03, 2017 15:32:24.058 [0xea911b40] DEBUG - MDE: Force Majeure (2014): selected media 0 / 33859

This is a perfectly valid frame rate so either the detected frame rate and the stored frame rate don’t match (from last time it was analyzed) or there’s a codec issue.

I recommend the following next steps:

  1. Analyze the video again
  2. Attempt to play
  3. If failure, delete everything under Plex/Library/Application Support/Plex Media Server/Codecs
  4. Analyze the movie again so it grabs new codec
  5. Play it.
  6. If failure, grab a new set of logs. It will be either an actual media problem or a networking problem which appears to be manifesting in a ‘kinda sorta’ way.
  7. Also, if failure gain, grab me a fresh set of logs with the new error message(s)

So, I should note that I’m not having this issue when I playback movies in the web client, only from my Apple TV and Amazon Fire TV boxes.

I just started to go through your instructions and noticed that the folder you pointed me to (Plex/Library/Application Support/Plex Media Server/Codecs) has one file in it, which is .device-id, which is 36 bytes, and created 2016-06-
13. I’m guessing there should be more files there? There are files and folders in the “Plex Media Server/Codecs” folder, if that helps at all…?

Also not sure how to force a new analysis from the Apple TV or Fire TV interface?

Thanks again

Yes, that’s the problem. You have no codecs.

You should see files like this:

sh-4.3# ls -laR Codecs
Codecs:
total 16
drwx------+  3 plex users 4096 Jun  2 15:27 .
drwx------+ 10 plex users 4096 Jun  3 18:59 ..
drwx------+  2 plex users 4096 Jun  3 19:01 5405850-1232-linux-ubuntu-x86_64
-rwx------+  1 plex users   36 Jun  2 15:27 .device-id

Codecs/5405850-1232-linux-ubuntu-x86_64:
total 3428
drwx------+ 2 plex users    4096 Jun  3 19:01 .
drwx------+ 3 plex users    4096 Jun  2 15:27 ..
-rwx------+ 1 plex users  338808 Jun  3 19:01 libaac_encoder.so
-rwx------+ 1 plex users  423976 Jun  3 19:00 libdca_decoder.so
-rwx------+ 1 plex users 1476904 Jun  3 18:58 libh264_decoder.so
-rwx------+ 1 plex users 1253704 Jun  3 19:00 liblibx264_encoder.so
sh-4.3# 

which looks like this in File Manager

The question now is why you aren’t getting them.

What version of PMS did you originally build the library with?

I’m not sure, and I don’t know if I would even be able to tell. I initially installed it over 2 years ago. I’m sensing that I may have to completely rebuild my library?

It is strange though that I can play movies in the web client, and for the most part TV shows play in Plex on any client, if I truly have no codecs… It doesn’t seem to fit, if that’s the case.

Here’s the confusion point.

  1. There is no DirectPlay target as shown in your logs. This mandates either the audio or the video needs a codec.
  2. If it previously worked without extra codecs (entirely possible), what setting(s) changed causing this previously-valid video to now require transcoding?

If you don’ t mind conducting a test, which will keep your existing Library fully intact, I would like to.

The procedure is very simple

  1. Stop Plex
  2. Open File Station and navigate to the Plex share. Open it.
  3. Rename Library to Library.SAVE
  4. Start Plex
  5. Go through setup, but only create a very small test library (don’t need the whole thing)
  6. When it’s finished, repeat the playback test.
  7. If Codecs are required, we will be in a known library & database state when attempting to play.

Ok, I’ve done all of those steps. I first created a library with just one movie, since it’s the one I’m trying to watch this morning. That played back. Then I created a library from a folder with around 20 films, including the one I tried to playback yesterday and it failed. I then played that, and it played fine.

I’ll attach the log zip.

Thanks again for the help Chuck!

I see you’re on your way to rebuilding.

I recommend making sure you spend the minute to finish enabling the automatic maintenance tasks in Scheduled Tasks.

Also I recommend, as you add new sections, before creating the next section, optimize the DB then create the next. It clumps the sections together right up front. Makes for a super-tight DB

When you’re happy, you can delete Library.SAVE from earlier

Great, I’ll do that. Thanks for your help and time Chuck, I appreciate it!

One last question - can I rename the library to be the same as before, or will that mess things up?

When a new Library directory is created at the top of the Plex share, it is completely independent and self contained. You can fully replicate everything you had before (makes the most sense).

Since you’re now running in the new Library successfully whereas the old did not. I don’t recommend going back to it. It’s corrupted down deep somewhere.

I therefore recommend deleting Library.SAVE and moving on.

As a point of order though, enabling backups of your database (Scheduled Tasks) is a good idea :slight_smile:

Thanks Chuck, I had exactly the same issue to a point that watching anything became impossible with Plex… After creating a new small test library and see that everything is working I am now rebuilding the complete library and following your steps…

I must have been using the same library for over 4 years, so things can get messy

With all the schema changes over the past 4 years, while I’m not surprised, I am a bit surprised. It implies the migration tool is missing something or the new columns added to the tables just need 100% valid data which wasn’t available in the older database. If I look back 4 years, the schema has changed immensely since then.

EDIT… Wrong entry

Any update to this problem?

Plex is useless this way

@livingonline8 said:
Any update to this problem?

Plex is useless this way

Context please? The OP has marked the problem as answered and this is your first post in this thread.

A post was split to a new topic: Playback was terminated by the server” on everything now