Porting Settings BEtween Windows And Linux

i have the latest version of plex in both win 10 and kde neon and would like to know if i can port my settings for windows to neon? i have my plex data for windows on a secondary drive as per instructions i got from here and it runs perfectly. ok just out of curiosity i just logged into plex in neon and went to settings, and do not see where i can point it to the data file on the secondary drive. any and all help with this so i don’t have to setup all my libraries again would be greatly appreciated. thanks

https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

1 Like

Unless you’re able to drag the Windows directory into the Linux instance and have all associations still work, that link doesn’t really help for migrating between Windows to Linux.

I am facing the same issue, and the help article doesn’t really make it clear if that’s how the process works. I’ve been asking around and it doesn’t seem like anybody has a straightforward answer.

As it states:

  1. Copy From the Source System

You’ll want to make a copy of the content in the directory listed below for your operating system.

(Windows has registry key information to extract).

  1. Place on the Destination System

Using the copy of the content you previously made, place it in the location specified for your operating system.

On Linux, the default location is /var/lib/plexmediaserver

  1. Correct ownership

For Linux/NAS systems, make sure that the directories and contents are all owned by plex:plex (or whichever user you have running Plex Media Server under).

  1. Start the Plex Media Server

Start/launch the Plex Media Server on the destination system now that your old data is in place.

  1. Launch Plex Web App

Open your Plex Web App and you should see your libraries, though your content is unlikely to work yet.

It is quite clear.

Please do understand Linux is a Command Line oriented OS. “Drag and drop” is not the norm by any means. If you are not prepared for this, perhaps other options should be considered

1 Like

So, brushing past the usage of “drag and drop” as a metaphor for copying folders, it sounds like what needs to be done is copy the %localappdata%Plex Media Server folder contents into /var/lib/plexmediaserver and make sure that permissions are correct for the user the service is running under.

Please correct me if I am mistaken.

I appreciate the assistance.

1 Like

One moment please… I will fire up my Windows VM and verify exact source location (I am the Linux guy)

Ok.

Here’s the sequence.

  1. Zip C:/Users/-Yourname-/AppData/Local/Plex Media Server
    You want everything starting with “Plex Media Server” and below. You don’t want anything above it.

  2. On Linux

a. Install PMS
b. Let it start once
c. Stop it
d. Open the terminal window
e. ‘sudo sh’ (you now have admin priv)
f. cd "/var/lib/plexmediaserver/Library/Application Support"
g. rm -rf "Plex Media Server" (you won’t need this because you’re bringing the windows one
h. UnZIP the file you brought over.
i… The full final path should be /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/ — all the other files here —
j. Now you fix ownership: chown -R plex:plex /var/lib/plexmediaserver (takes a moment)
k. Start PMS
l. Open the browser
m. http://127.0.0.1:32400/web
n. Be greeted by the sign in and setup wizard (expected and normal)
o. Start this process HOWEVER do not create new library sections… You just brought them with you
p. Continue through to the end (Finish)
q. Once you get to the Dashboard, Edit each Library section and have the media folders updated to point to the new location(s) for your media. (Linux pathnames and Windows pathnames are incompatible.
r. As you finish each section, PMS will start scanning and finding everything.

4 Likes

Sounds very straightforward. Thank you very much for the detailed response.

You’re welcome.

Here is the directory listing from my Linux machine so you have a comparison to validate what you bring over.

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server
[chuck@lizum Plex Media Server.127]$ ls
Cache/   Crash Reports/  Logs/   Metadata/  Plug-in Support/
Codecs/  Diagnostics/    Media/  Plug-ins/  Preferences.xml
[chuck@lizum Plex Media Server.128]$ 

1 Like

trolling the tread doesn’t help me. now that said all i really wanted to know is if like chrome and firefox if the main code is the same. you know like when you install linux and install firefox or chrome you can use you profile for each from windows. if not it’s not a huge deal, just need to know where the data folder or whatever it’s called is stored in linux.

that’s pretty straight forward, very nice. thanks a lot, much appreciated

As followup here.

The text I wrote above has been forwarded and is already in draft form for the new support page.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.