Server Version#: 1.24.5.5173
Player Version#: 4.63.0
Recently built a new box and am trying to migrate my server from the old (Windows) to new (linux)
Followed the guide found here
we have tried the steps of that guide probably half a dozen times at this point. have confirmed that ownership and permissions are correct. the server is not recognizing or reading the existence of the DB files at all.
every guide/FAQ i find just jumps to “edit your libraries to add the new destination” but i don’t have any libraries to edit because the PMS isn’t recognizing they exist??
please help, I have been fighting with this for DAYS and am going mad
This guide doesn’t cover cross-OS migrations. There’s essential information about your (old) server stored in the Windows registry; Plex expects those in the preferences.xml file on a Linux setup. I’m not aware of an automated mechanism to transfer that information… you might be able to manually transfer the respective parameters while your new server is stopped.
Nice write up. I’ve successfully done this process many times and comparing to my own notes this matches almost identically. I do have two pieces of feedback …
As well as a chown -R plex:plex /var/lib/plexmediaserver I typically also do chmod -R 755 /var/lib/plexmediaserver just to ensure nothing has the wrong permissions on any zip which has been extracted.
I also login to plex afterwards and for ALL Authorised Devices I remove them including the server. I then reclaim the server again. This is all done using local IP of the PMS server and not app.plex.tv. Clients then need to re login again.
Anyhow, said I’d mention it in case you want to consider adding those or have comments on it.
thank you all for the help. i am following the new guide (thank you ChuckPa) and I’ve run into an interesting issue. I do not have a preferences.xml I have tried making sure the old server is updated to the most recent version, but i still do not have the preferences file
here are the logs from the (old) server, as it is the one not generating a preference.xml (for me to then transfer to the new server)Logs.zip (29.0 MB)
. it has been running overnight so should have all the data you need
Nov 07, 2021 04:07:38.682 [7564] INFO - Plex Media Server v1.24.5.5173-8dcc73a59 - Microsoft PC x64 - build: windows-x86 windows - GMT -05:00
Nov 07, 2021 04:07:38.682 [7564] INFO - Windows version: 10.0 (Build 19042), language en-US
Nov 07, 2021 04:07:38.682 [7564] INFO - 4 3292 MHz processor(s): Architecture=0, Level=6, Revision=15363 Processor Identifier=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
Nov 07, 2021 04:07:38.682 [7564] INFO - Compiler is - MSVC 1924
Nov 07, 2021 04:07:38.682 [7564] DEBUG - C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe
Yes this is windows logs. The old server that I am migrating from is windows. It is not generating the preferences.xml which, based on what was said above, it is my understanding is a critical part of the migration to the new server which is running on Linux.
yes i was going through that step by step and halted at the
Verify proper final directory structure
step, as my directory structure did not match your example. I went back to the source and found I was missing prefernces.xml and had a few extra folders you did not. i turned the old server back on and updated it to the most recent version of plex to try to fix this and get a new zip of the “Plex Media Server” directory, but nothing has changed, it still does not have the .xml etc.
my understanding was that as of the last version or so it now does create one on windows machines as well. but I will continue the process and see what happens
got it all working. thank you again everyone for the assistance.
for posterity: we discovered that the issue was that the version of PMS installed through snap does not seem to check/access/create/monitor the “/var/lib/plexmediaserver/Library/Application Support” location and so was not recognizing that we had placed data there. as soon as we installed the debian package from the website, everything worked as expected via the guide.