Latest Plex server version (1.24.5.5160) gives playback error on some devices

Server Version#: 1.24.5.5160
Player Version#: Plex Web 4.63.0, Plex Xbox 5.25.2

After the latest update some Plex clients have been unable to play content from the Plex server. I’ve tested it from different Plex clients and some work and some don’t.

When I try to play from Plex web or from the Plex client on Xbox they get the following error message:
Plex web: Playback error. An error occurred loading items to play.
Plex Xbox: Playback error. An unexpected playback error occured.

When I test it from Plex client on Android, Samsung Smart TV and LG Smart TV everything is fine and work as normal.

I have tried to uninstall the latest version completely and then reinstall it, but without any luck to fix the problem. I have also tried the repair guide for Plex databases (Repair a Corrupted Database | Plex Support) provided by Plex but that hasn’t solved the problem either.

If I roll back to the previous Plex Media Server version everything works fine on all clients.
Has anyone else experienced the same issue after the latest update?
Does anyone know how to fix this so it will work for all clients on the latest Plex Media Server version?

check and try the following
go to plex.tv into your account, Settings - Transcoding, find Disable video stream transcoding and unmark it

That is already unmarked. Have never had it on.

I’m having the identical issue. It seems random - won’t work on web browsers, but will work on some android devices and embedded plex versions in different tv’s but then not the roku. . . it’s odd.

Same problem, web browser playback is intermittently quitting with an error. Edge Firefox and Chrome all are problematic.

FireTV and Roku TV players are fine.

Regressed to previous server version and all good again.

I have the same issue found downgrading to 1.24.3.5033 worked for me

Linux VM - Ubuntu 20.04 LTS
8 GB Ram
4 vCPUs

1 Like

Yes, the problem didn’t exist in previous version so downgrading will solve the problem temporarily. I rolled back to 1.24.4.5081 and everything works fine again. The issue is in the latest version, 1.24.5.5160.

1 Like

Tested the new version today, 1.24.5.5173, still same issue. Also tried to add a new library using a different name with files from the same folders, still get the error.

Playback error. An error occurred loading items to play.

Thanks for the update, I’ll continue to wait.

So after searching the internet and looking at various sites and reading tips and tricks, here is a guide on how to solve this problem:

  1. Shut down Plex Media Server so that it is not running.
  2. Go to File Explorer and find the hard drive that your Plex database is stored on.
  3. Right click on the hard drive and click on Properties.
  4. Click on the tab named Tools.
  5. In the error checking box click on the Check-button.
  6. If Windows find something wrong, just follow the instructions and Windows will fix it.
  7. Open a Command Prompt window and go the drive and location where your Plex database is located. Example, if your database is stored on drive N:\ and you have a folder named Plex, then the command you type would look like this
cd "N:\Plex\Plex Media Server\Plug-in Support\Databases"

or if you haven’t changed the path and it’s stored in the default location you just do this

cd "%LOCALAPPDATA%\Plex Media Server\Plug-in Support\Databases"
  1. First we’ll make a copy of your database just in case.
copy com.plexapp.plugins.library.db com.plexapp.plugins.library.db.original
  1. Check if your database have corruption. (change the file path if you do not have Plex installed with default path)
"C:\Program Files (x86)\Plex\Plex Media Server\Plex SQLite.exe" com.plexapp.plugins.library.db "PRAGMA integrity_check"
  1. Even if the integrity check doesn’t return errors, it can still sometimes help to try and repair the database. With the Plex SQLite interpreter, you can easily attempt a repair with 1 command. The following command will attempt an automatic repair and store the result in a file named recover.out.
"C:\Program Files (x86)\Plex\Plex Media Server\Plex SQLite.exe" com.plexapp.plugins.library.db ".output recover.out" ".recover"

The above command will reassemble your database with all the valid data it can find in your file.

  1. Restart your computer and see if this solved the problem. If the problem persist after this then I’m sorry to tell you that you’ll need to do a completely fresh install of Plex Media Server and a completely new database, so continue to next step.

  2. First shut down Plex Media Server so that it is not running.

  3. Open a Command Prompt window and go the drive and location where your Plex database is located. Example, if your database is stored on drive N:\ and you have a folder named Plex, then the command you type would look like this

cd "N:\Plex\Plex Media Server\Plug-in Support\Databases"

or if you haven’t changed the path and it’s stored in the default location you just do this

cd "%LOCALAPPDATA%\Plex Media Server\Plug-in Support\Databases"

Just like you did before in step 7.

  1. Now we’re going to backup your settings, watched/unwatched, view progress, and ratings into a file named settings.sql
"C:\Program Files (x86)\Plex\Plex Media Server\Plex SQLite.exe" com.plexapp.plugins.library.db

The command line should now start with sqlite>

sqlite> .output settings.sql
sqlite> .dump metadata_item_settings

And hit enter. When it’s finished you will see sqlite> again. Then click CTRL + C.
15. If you copy the path you’re seeing in Command Prompt and open that one up in a File Explorer window you should now see a file named settings.sql there.
16. Copy or move this file somewhere safe.
17. Uninstall Plex Media Server from your computer.
16. Delete the folder named Plex Media Server. This will delete your entire database and everything it has stored like posters, thumbnails and so on.
17. Install the latest Plex Media Server version. Do not launch Plex Media Server after install if you want the database stored on a different hard drive than the default (default is C:). If you want to store the database on a different drive then follow this guide
18. Launch Plex and add your libraries. Let it finish with scanning and adding media. For huge databases this will take a while, so go and do something else and continue when Plex Media Server is done.
19. When Plex Media Server is done with all your libraries, shut it down.
20. Now it’s time to copy settings.sql back into the Plex Media Server/Plug-in Support/Databases/ folder. From the Command Prompt terminal in that folder you run the following code

"C:\Program Files (x86)\Plex\Plex Media Server\Plex SQLite.exe" com.plexapp.plugins.library.db

And to insert your settings the following:

sqlite> .read settings.sql
  1. Start Plex Media Server back up again. Your settings, watched status and so on should now be back and everything is now working again, but you are now using the newer and smarter database which Plex added earlier this year (2021).

And this is the solution people, the only one that actually works. Unfortunately for me I had to go all the steps. My database was more than 7 years old and probably had a lot of crap and bugs from previous versions of Plex Media Server throughout the years. At least now I have a clean and new database which is supposedly much smarter and faster than before. :slightly_smiling_face:

I hope this helps everyone else experiencing this issue. Maybe some Plex moderators could put all this into an article on their site. Good luck!

1 Like

Thanks for the solution ! I rebuilt my database, but when I want to use my settings.sql to restore the history, I have this message:

table metadata_item_views has 15 columns but 14 values were supplied

Do you have a solution?

Hey. Well, I have some bad news about that.

I ran into the same problem. It turns out that in one of the updates of the recent versions of Plex they have changed the structure of the table metadata_item_views. I looked at the data that I had in the file and the table structure as it is now, the structure is completely different.

I haven’t found a way to convert the old table structure to the new one, but Plex have done this in one of the earlier versions.

One solution might be to install different previous versions of Plex until you find one that has the table structure of 14 columns, import the file and then try to upgrade to the latest version.

Or you can just do as I ended up doing, not importing it and try to remember where I was on different stuff.

I just tried this official method and, it worked !

I now have my new database, with the watch history :smiley:

@couquino Congratulations! I’m happy it worked for you :smiley:

That did not work for me, but it’s fine. At least the database and everything is up to date and working fine now. And my database is now 77.1 GB smaller than before I did a clean install, so I guess from 2014 until 2021 there was a lot of crap existing from previous Plex updates through the years. :blush:

1 Like

I figured out what I did wrong and have now corrected the solution. Thank you @couquino, after I looked at it again with the page you linked and a little Google search I now have my watched status back. :smiley:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.