# Playback error: An error occurred loading items to play

**URL:** <https://forums.plex.tv/t/playback-error-an-error-occurred-loading-items-to-play/918792>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [May 15, 2025, 10:14pm UTC](https://forums.plex.tv/t/playback-error-an-error-occurred-loading-items-to-play/918792 "2025-05-15T22:14:50Z")\
**Posts on this page:** 1\
**Showing post:** 73

<div class="post-metadata">

**Author:** ![ThatTallGuy21](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@ThatTallGuy21](https://forums.plex.tv/u/ThatTallGuy21)\
**Post date:** [October 24, 2025, 3:08am UTC](https://forums.plex.tv/t/playback-error-an-error-occurred-loading-items-to-play/918792/73 "2025-10-24T03:08:54Z")

</div>

A few other addition details..

Full disclosure, I used ChatGPT to help me work through this issue and it was incredibly helpful. Of all the things I noted, I believe this script to clean up the Plex DB was ultimately the most important thing that got me back up and running. I got it from this [Reddit](https://www.reddit.com/r/PleX/comments/1lorz4p/an_error_occurred_loading_items_to_play_and/) post. It appears to drop tables from the DB and recreate them. ChatGPT rewrote it to work in Unraid. I posted this on [Pastebin](https://pastebin.com/8hxVkjpi).

Additionally, please note I’m using the official Plex docker and the UID=99 and GID=100. This can be checked when editing your Plex container. As noted in my previous post, I went through the additional effort of setting the name of my container and appdata to plexmediaserver and pointed to /mnt/user/appdata/plexmediaserver beforehand and believe this helped to at least standardize things as well.

If you’re still having permission issues afterward running the above script then consider trying this [additional script](https://pastebin.com/sUMP2Tju) that I also got from ChatGPT that goes through and sets the permissions.

Let me know if you have any questions and I’ll try my best to help. So far, so good though for me now.

---

_[View the full topic](https://forums.plex.tv/t/playback-error-an-error-occurred-loading-items-to-play/918792)._
