Hello,
I have a Plex server (version 1.41.4.9463) running as a Docker container on an UnRaid system. Everything was working perfectly until two days ago. Since then, Plex no longer updates the database.
When I add a new movie file, it does not appear in the library. I also tried deleting a movie file, but the same issue occurs: the movie still appears in the library. When I try to play it, I get an error saying the file is missing from the hard drive. However, when I go back to the library overview, the movie is still listed.
I have already tried the following:
Refreshing library files
Analyzing the library
Updating all metadata
Optimizing the database
Cleaning up bundles
I have also restarted the server and restarted Plex, but nothing has helped.
I have no idea what the issue could be. Any help would be greatly appreciated!
OK. I’ve tried a few things on the Plex server. I actually found out that the database is broken. I then tried to repair it. That didn’t really work. I then tried a lot of things. Since moving the files back and forth via the terminal was too much work for me, I created a share in Unraid for my user for the Plex system files.
I noticed that Plex had changed the storage behavior from array to cache on all system folders. I can’t say why. It’s interesting that it only happens in the system folders. Not in my own shares. It still said array.
From my layman’s point of view, that of course explains the problem with the corrupt database. I set the system folders back to array, loaded a backup file of the database and now everything works again.
I can’t say why Unraid behaved like that. I’ve already tried to find out whether an update is to blame, but I haven’t found anything. To explain, I don’t have a cache drive or mover or any other bells and whistles. The data is always written directly to the drives from the start. So I don’t understand why UnRaid changes that.