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.

Cache Drive failure. Appdata restored. PLEX errors.

Featured Replies

 

I’ve been running PLEX on my unraid server for several years and have grown to depend on it as my “go to” place for my personal content. 

 

A week after completing my first backup using “CA Backup / Restore Appdata”, my single cache drive failed. I replaced the drive with a spare SSD (smaller, slower, as it was what I had on hand) and installed it in the system.  I Configured it as my cache drive, formatted it and restarted the array…    My appdata share still existed. I re-created a new “docker.img” file, and then proceeded to restore my appdata.    After about 19.5 hours, the restore was complete… (whew!)

 

I re-installed my PLEX docker.   The configuration looked good (as it reflected my mappings prior to the cache drive failure) and the docker was installed…

 

I was able to start the PLEX docker, but was not able to connect via the WebUI.    After a period of time, the docker was marked “Unhealthy”.   I reviewed the PLEX logs, I see the following message, repeats many times over…

Starting Plex Media Server.
Error: Unable to set up server: sqlite3_statement_backend::prepare: malformed database schema (5) - orphan index for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Plex Media Server.
Error: Unable to set up server: sqlite3_statement_backend::prepare: malformed database schema (5) - orphan index for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

 

Any suggestions would be appreciated…     I’d really like to recover/restore Plex to its previous glory without having to re-create my playlists and other features…

 

Thanks in Advance,

  • Community Expert

Nothing obvious with your Unraid configuration. Which plex docker are you using? Seems like a plex problem. Have you checked the plex forums?

  • Author

I'm using the PLEX docker from CA  (plexinc/pms-docker).  I did a few high-level searches in the PLEX forum for the error message, but nothing definitive came up.   I also posted a similar message in the PLEX forums.   I was hoping (and praying) that the CA Appdata backup/restore world save my bacon.    Looks like I may have to start over from scratch , though I'm not ready to give up quite yet...   Thanks for your assistance.    Happy Holidays!

  • Community Expert
1 hour ago, glennl said:

PLEX docker from CA

There are several plex dockers in CA. That one happens to be the "official" one from plex, which has no support thread on this forum.

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.