Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issues with Plex on unRAID — Can't add any new files, can't delete some old ones, can't play some files, can't fix matches, can't empty trash... thinking database corruption, but also can't restore DB backup

Featured Replies

My PMS is on an unRAID docker container (obviously)

 

I will provide some backstory below, please bear with me, this will be lengthy... 

 

This problem started when I was adding dozens of new TV series through Sonarr (hundreds of episodes) at one time. Everything has been working fine up to this point. 

 

I noticed the problem when there was a bad match, I tried to fix it, but Plex would not update it with the correct show. I tried to delete it, but I get a "There was a problem deleting this item" error. I tried to add a movie (different library), Plex is set to auto scan, and it will scan and see the movie, but it does not show up in the library. 

 

After a bit of searching, I see a few forum posts that says database corruption is fairly common on unRAID dockers. So I try to restore from a backup following the steps here, but when I stop the server, the -shm and -wal files disappear (I see them while the server is running). I did the rest of the process anyway, but when I start the server again, it never actually comes online. I waited about 30 minutes, but then I just restored the original corrupted files so that it would come back online again. 

 

I posted on Reddit about this same issue, someone said they suspect I filled the cache drive and it corrupted the docker image. This makes sense, especially since I do remember getting cache drive warning through the UR UI.

 

Well, after a reboot at one point, one of the HDDs was just unavailable and being emulated. Thinking the HDD was fine and the SATA cable was bad, I connected all HDDs to a SAS controller and removed all SATA cables (except for two cache SSDs), which was something I had been planning to do anyway, due to several issues with SATA cables in the past. 

 

UR came back up with a valid configuration, then I started the data rebuild process, but at some point in the process everything stopped working, the Log memory was at 100%, one of the HDDs (a different one than above) was recording constant errors, and the transfer rate slowed to KB/second. I stopped that process, rebooted, came back up as valid, but there was no 'Start' button, completely missing. Rebooted again, 'Start' button came back, started the data rebuild process, and everything seems to be working okay this time. Currently at about 90% and about 1.5 hours remaining. No drive errors at all. 

 

This is where I am currently at and I'm not sure exactly how I should proceed. Once the data rebuild is done, I'm just going to fire everything up and see if replacing the cables magically fixed everything, but if not, I'm not sure what I should do next. Delete the PMS docker container and re-add it? Restore an older database file? 

 

Any help is appreciated!

Edited by 96dpi
added hyperlinks

  • Community Expert

I can't help you with Plex issues but I can tell that the Gurus are going to need your Diagnostics file.      Tools    >>>   Diagnostics   

 

Post up the file in a NEW post!   (By the way, ALWAYS try to get the Diagnostics before you reboot.  (Anything that happened prior to that reboot Will be lost, especially what happened to require you to reboot..)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.