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.

Plex is losing my library

Featured Replies

Every time I reboot my server, my plex acts like it's the initial setup. I have to re-add my libraries. I have the transcoding going to my ram, the appdata going to an unassigned device ( a m.2 drive) and the config going to the default the docker set. Any help would be appreciated.

Your template settings are wrong.  You've got the appdata path or /config path going to a host path of /config/Library/Applications Support/Plex Media Server

 

This location is in RAM and will be lost at every reboot.  The entries for /config are automatically adjusted by the system to reflect the base path of whatever you have set in Settings - Docker, Default appdata path, so it would appear that you've gone to show more settings and manually changed it yourself.  This should be something akin to /mnt/user/appdata/Plex

image.thumb.png.75e6ed47ef7b6601f01215c15d30fd4e.png

 

Also, for your /transcode path you want to set this to be a subdirectory off of /tmp (ie: /tmp/transcode or /tmp/plex etc)  Doing it that way you have it (currently mapped to /tmp), Plex has full control over that directory, and if it decides to delete stuff in it (which it does) that was placed there by the OS, weird problems will results across the entire GUI

  • Author

Is the metadata stored in the /config or the /data? I'm trying to store my library and metadata to my m.2 drive which is an unassigned drive

 

/config stores all of the appdata (library etc).  Plexinc has added in another mapping of /data which you could use to point to your library itself (ie: /mnt/user/media) to make your life a little easier.

  • Author

Wouldn't I need to direct the plex appdata to my m.2 drive so my library info (metadata) is on my m.2 drive where I want it?

 

Edited by Pendragon1
mistake

Yes, that's entirely up to you.  How you had it is storing it in RAM.  Just give it the appropriate path

  • Author

Would "/mnt/disks/appdata/Plex-Media-Server" be the right path for what I want to do? /disks being my unassigned m.2 drive

 

Edited by Pendragon1
mistake

  • Community Expert
18 minutes ago, Pendragon1 said:

Would "/mnt/disks/appdata/Plex-Media-Server" be the right path for what I want to do? /disks being my unassigned m.2 drive

 

Not quite - you have missed out the UD mount point under /mnt/disks (so it should be something like "/mnt/disks/UDmountpoint/appdata/Plex-Media-Server" )

Instead of typing the paths (which is quite possibly how you got into this situation, simply hit EDIT and click the host path and use the dropdown to navigate to the correct paths)

  • Author

I used the dropdowns but when I try to send the appdata to my m.2 drive, I get a "refused to connect" message.

Just now, Pendragon1 said:

"refused to connect"

Post a screen shot

  • Author

Web capture_30-1-2022_54325_192.168.1.201.jpeg

Web capture_30-1-2022_5441_192.168.1.201.jpeg

Give it a couple of minutes.  If it still doesn't pop up on the access mode for that path it should in theory be set to Read/Write:Slave

  • Author

It didn't work. I even set r/w to slave.

 Do the logs offer anything interesting? (Click the icon and select Logs)  What is the format of the unassigned device? (btrfs / xfs or something else)

  • Author

I got it all up and running... thank you guys

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.