How can I migrate my media database from the old server to the new server

Server Version#: 1.10.1.4602-f54242b6b and 1.25.2.5319-c43dc0277

I have old plex server 1.10.1.4602 on centos 6 and now i install new server on new hardware new plex server 1.25.2.5319 on Centos7

i created big media database on old server. i need to migrate media database on new server.

now i go to my server page and i don’t see my old server !
i see permanent “server search”
restart plex service don’t have any result!

How can I migrate my media database from the old server to the new server ?

You can do that… there’s the generic guide / support article describing how to achieve this within the same host platform (e.g. Linux → Linux, Mac → Mac, Windows → Windows).
https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

There’s also a more detailed guide from chuckpa in the Linux tips & tricks section with specific specialties/considerations and how to migrate from another platform to Linux (though it’ll also be useful for Linux → Linux migrations).

Personally I consider your biggest obstacle will be the massive version jump.
While PMS can skip quite a number of versions and upgrade your library and databases accordingly… version 1.10 is just… really old. So not sure this might be a problem (e.g. too many significant changes to the folder/library structures).
Keep in mind your old setup was released in Dec. 2017 – that’s ancient when it comes to computer stuff :wink:

the first question is why did my old server go missing?
i can’t go there

second question - database migration
as I understand, to start the migration, the server must be visible

in general, I am extremely dissatisfied with the need to update the server:
I configured the hardware, configured the software
connected to TV and other devices
everything is working. everything suits me. this is my server. this is my home. all ok!

then the developers come and break everything! I need a new server, although nothing has changed for me! the video is the same, the TV is the same
why change something with such a wrecking method ?

There’s a number of possible causes.
Did you by chance reset your Plex account password and opted to sign-out all devices? This will also sign-out the server and you have to re-claim it.
Can you still access your old server using the machine’s local IP address (e.g. http://[IP address]:32400/web)?

Not really… all you need is access to the server’s data (=file system access or some backup)

Not sure what was broken for you.
The current-generation Plex clients have required a PMS w/ version 1.18.3 for quite some time (years). It’s pretty common that developers cannot endlessly maintain compatibility with ancient releases when releasing new versions of apps. If you didn’t touch that server for 4 years and it was working fine, that’s a pretty long time.

The concept of “freezing” a setup the way you like it doesn’t age well in IT. Things change… be that some background changes on your server machine, changes in your home network or external factors you cannot influence (e.g. expiration of certificates…). Don’t get me wrong… I know some people who’ve been clinging to their Windows XP setup for ages, that’s the same people still on Windows 7 despite the platform no longer being supported. I’m not saying there no charm to vintage car… though that leaves you disconnected from technical/security advances and requires finding your personal solutions to compensate for the world turning on.
Happy 2022.

  1. i don’t reset password or sign-out all devices

  2. i logon in my account from http://[IP address]:32400/web
    but permanent wait:
    изображение

  3. great! i have access and backup
    /var/lib/plexmediaserver ~ 50GB of data

  4. I’m talking about a sensible approach to new

what’s new done? for what ?

the whole problem is that the heads of development departments create their own work, organizing the appearance of the need for change.

I have been using Plex for a very long time and I have not seen anything fundamentally new in 10 years.

Sorry I cannot read that.
Is that the web app from the new or old server? The UI looks quite different from what I get with the current server installed.

this is on old server
in devices

Ok… you obviously won’t find the new server there if it’s only newly installed and not yet linked to your account.

new server is off

but now i copyed all from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/
to a new server
group/user - plex/plex

i try start service
systemctl start plexmediaserver
but do not work

How can I migrate my media database from the old server to the new server ?

As for migrating your database… see above
As for the server not starting up… does the new PMS write any logs before it’s not starting? Any error messages on the Linux shell when the startup fails?

it working

apparently the conversion took a long time

yesterday after the start of the service there was only one process
but today everything works

thank you for your help

I think two implicit points need to be added to the documentation:
1.explicit change of the group user to plex / plex - not everyone will guess
2.that the conversion can take a long time

  1. It’s well documented that Linux uses plex:plex as the default.

  2. Upgrading a PMS 1.10.x → 1.25.2 is a miracle. Such a monstrous upgrade of the database … (the horrendously long list of schema changes) would be staggering…

  3. All the metadata will definitely need to be refreshed to fill in all the holes which now exist (fields which didn’t exist in 1.10.x)

  1. it’s about migrating files to a new system

After copying, they may have different from PLEX / PLEX groups / owners

For example, you can change so
find . -name “*” -exec chown plex:plex {} ;

  1. Successful migration means that the code is written correctly and exceptions are processed correctly. This is actually a rarity in modern programming. My respect programmers.

  2. Yes, I updated the database, and the process of updating the metadata still goes - a lot of files.

@Maxiol

If I may make this a bit easier ?

You don’t need to run find, matching every name with * and executing a chown on each file and directory.

Instead, you can execute a simple sudo chown -R plex:plex . which starts with the current directory and gets everything. Be careful you’re in the right place – e.g

cd /var/lib/plexmediaserver
sudo chown -R plex:plex .

Now you know everything from here down is owned by plex:plex.
(doing this from / would blow up the OS :slight_smile: )

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