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.

Help moving from a Plex plugin to a docker and retaining all history and config.

Featured Replies

  • Community Expert

Hi All,

I tried to find an answer in the posts here but did not have a lot of success. found one close to my issue in the Plex forums and tried those steps.

 

Objective: Migrate my Plex plugin (PhAzE's plugin) to a docker (any docker is fine but I tried with the LinuxServer one) while retaining the history and the configuration.

 

I backed up the Plex folder from my cache/appdata/ folder (screenshot below),

b5gm4h.jpg

then installed the docker with the settings below

2cqld88.jpg

and copied over the old plex directory to the /config location and started the container. But I'm not getting the old settings and library migrated over. Instead i'm getting a fresh config - Add a Library - in the WEB UI.

2z85383.jpg

What am I doing wrong?

All help is appreciated. Thanks in advance for all suggestions.

 

P.S: I delayed migrating till now because of this issue of having to start setting up everything again in Plex and loosing all my viewing history and configuration. I have my Trakt account linked to Plex - so maybe it isn't as hard as I think it would be.

 

Also does any one know whether the support for Phaze's plugins has ended? I loved using the Plugin but it is not updating to the latest version of Plex anymore - the update script errors out with 

"Unable to obtain download url"

 

  • Community Expert

Just compare the folder structure of the appdata the plugin made to the folder structure of the appdata the docker made and you may be able to see what goes where and adjust the mapping in the docker.

 

I helped another user through just this process. The relevant portion of the thread starts here:

 

https://forums.unraid.net/topic/77260-solved-having-trouble-updating-unraid/?do=findComment&comment=714266

 

  • Community Expert

And while we're at it, since you let things get so out-of-date, which version of Unraid are you running?

  • Author
  • Community Expert

Sorry for the late reply - been out on work. Thanks for that link - referring to it now. Funny i did not find that thread while searching the forum.

 

I am on the most up-to-date stable version of Unraid 6.6.7

 

 

  • Author
  • Community Expert

Tried reading through - not sure I understand the fix.

 

Quote

Host path 2 as it is in the screenshot is going to make your /mnt/user appear as /media inside the plex container, but the database you already have is expecting your media to be at /mnt/user. So you need to edit that mapping and change the container path to /mnt/user. 

Not understanding this - is this relevant to my docker setup - if it is then please explain what am I changing the existing Media mapping to?

Edited by abhi.ko

  • Community Expert
1 hour ago, abhi.ko said:

Tried reading through - not sure I understand the fix.

 

Not understanding this - is this relevant to my docker setup - if it is then please explain what am I changing the existing Media mapping to?

Just like it says. 

  • Community Expert
2 hours ago, trurl said:

Just like it says. 

Was on mobile before so I will elaborate.

 

Plugins don't have mappings. Your plex plugin was using the paths just as they are in Unraid. Dockers have mappings, which allows you to specify a path inside the container, and have that path "mapped" to a different path in the host.

 

Since your plex library was created with the plugin, the library expects the media files to be located at the Unraid paths. So you need the docker mapping to be a direct mapping to the Unraid paths.

 

Edit the Media mapping so that the host path /mnt/user is mapped to the container path /mnt/user instead of /media.

  • Author
  • Community Expert

Thank You! Trying this now. I am starting with a new docker image.

 

Here is what I updated the media mapping to look like:

2duy3k1.jpg

 

Question - what all files from the old appdata/plex (plugin) folder should I copy over to the new docker folder appdata/PlexNew?

  • Community Expert
28 minutes ago, abhi.ko said:

Question - what all files from the old appdata/plex (plugin) folder should I copy over to the new docker folder appdata/PlexNew?

None if you have configured the docker container to use the same appdata folder as the plugin was using.

  • Author
  • Community Expert
57 minutes ago, itimpi said:

None if you have configured the docker container to use the same appdata folder as the plugin was using.

Thanks! Tried that - docker mappings below.

 

34j3q01.jpg

 

Changed the /config folder to the same location as the plugin folder appdata/plex. Edited the container mapping as trurl suggested - both container and hot mapping is now pointing to /mnt/user/.

 

Still Plex does not get old settings, plugins and library - it starts up as a fresh brand new install and asks to add libraries.

Edited by abhi.ko

  • Community Expert

Did you do this?

On 4/19/2019 at 11:42 AM, trurl said:

compare the folder structure of the appdata the plugin made to the folder structure of the appdata the docker made and you may be able to see what goes where and adjust the mapping in the docker.

  • Community Expert

From looking at the screenshot you posted of the plugin, it might be that the appdata the plugin makes is actually in appdata/config. I don't recall how that plugin worked, it has an install folder and a config folder below that.

  • Author
  • Community Expert
1 hour ago, trurl said:

From looking at the screenshot you posted of the plugin, it might be that the appdata the plugin makes is actually in appdata/config. I don't recall how that plugin worked, it has an install folder and a config folder below that.

Tried pointing the /config to /appdata/plex/config/ but no luck still the same.

30k7j8p.jpg

 

1 hour ago, trurl said:

Did you do this?

Since I'm now pointing the docker to the same Plex folder that the plugin had created, based on itmpi's suggestion - they would be the same, right?

 

After testing the docker and seeing that it is asking me to start from scratch, I stop it and revert back to the plugin by starting it and everything works flawlessly.

 

No idea what is going on. Thanks for all your help so far.

  • Community Expert

Make a new plex docker and point it to a different place for appdata. Then you can compare the appdata the new one creates to the appdata from the plugin.

Archived

This topic is now archived and is closed to further replies.

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.