Jump to content

Is there and easy way to migrate all users to a new server?


Recommended Posts

Posted

I need to get back on the beta server for convenience and I have been on the stable version for over a year.  Is there a way to copy all the users over at once with all their creds and then delete them from the old server so that the change is seamless to them?  I plan on keeping the old server up for me only as a work server readying content and migrate it slowly to the beta when it is ready for prime time because I have way too many libraries in the old one that need to go away.  I just don't want them connecting to the old server anymore once I get a certain subset of the content online on the new server.

Thanks.

Posted

I'm not sure about it, but probably moving the db authentication and users from programdata\data

Posted

Backup and Restore?  Or, if you are really making the move, why not just upgrade your current server to beta?

Posted

I would run them side by side.

Shutdown the one you run now.

Install normal / stabil Portable version.

Emby Server for Windows

Shut it down.

copy appdata over to your new install.

Edit the system.xml to new ports, so they don't reflect your old server.

  <PublicPort>8096</PublicPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <HttpServerPortNumber>8096</HttpServerPortNumber>
  <HttpsPortNumber>8920</HttpsPortNumber>

That should do it.

Start your old server.

See if that works.

Start new server and see if that works.

After that upgrade new server to 4.9.

You should still have everything + users on your new beta.

 

 

Posted
1 hour ago, Neminem said:

I would run them side by side.

Shutdown the one you run now.

Install normal / stabil Portable version.

Emby Server for Windows

Shut it down.

copy appdata over to your new install.

Edit the system.xml to new ports, so they don't reflect your old server.

  <PublicPort>8096</PublicPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <HttpServerPortNumber>8096</HttpServerPortNumber>
  <HttpsPortNumber>8920</HttpsPortNumber>

That should do it.

Start your old server.

See if that works.

Start new server and see if that works.

After that upgrade new server to 4.9.

You should still have everything + users on your new beta.

 

 

This will create duplicate server IDs which will be a potential problem.  You'll want to delete the "device.txt" file from the new one and let it re-generate.

  • Agree 1
Happy2Play
Posted

Since everything tied to database sets now it really isn't possible to transfer from server to server now.  As the users.db is your users but the library.db uses the userids from your users.db for your users data and for Playlists permissions.  You also have other dbs like displaypreferences (think removed or move to library.db) and authentication;

 

As mentioned you would have to restore a backup on your new system and upgrade to beta.  But as mentioned if both servers will remain online you will want to delete the device.txt on one or ensure to deselect that option on the restore process.  And probably offset Emby ports and ensure you redo add new portforwarding.

image.png.7c4efa5a4eb97188a1860401cc64052c.png

 

 

  • Like 1
Posted
6 hours ago, ebr said:

Or, if you are really making the move, why not just upgrade your current server to beta?

Because at the moment I am running them parallel and I really don't want the mess of libraries I have in the old server so I figured I would just transfer the libraries that don't need work to the new server and put it online for my users and keep the old server for cleaning up all the work libraries I created testing things.  Plus I am having to redo all my music because emby won't play it so there is not need to transfer a huge library that is mostly different now on a different SSD so I would rather just put the new stuff on the new server until I finish the work.

I am tired of a huge mess.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...