Help Please migrating from one server to another

Server Version#:plexmediaserver_1.15.8.1198-eadbcbb45_amd64.deb
Player Version#:web
Followed instructions at https://support.plex.tv/articles/201370363-move-an-install-to-another-system/. Moving from Ubuntu 16.04 system to Ubuntu 19.04 system. All media is on NFS mount. Installed software on new machine, logged out, stopped both services, compressed contents of /var/lib/plexmediaserver/Library/Application Support/Plex Media Server on original device, copied to new devices, put in place (correct permissions), tried to start new device. Changed NAT rule on firewall. “Looking for servers…” Finally gave up, stopped new server, reverted firewall rules, restarted original, now it won’t even connect even though services running and netstat shows port 32400 bound. Restarting devices no help. Please advise… I am at a total loss now. Going to original URL gives “…unexpectedly closed connection” error in browser. Tried reverting to original contents of the /var/lib/plexmediaserver/Library/Application Support/Plex Media Server on “new” device (I had made a backup) and still it can’t locate a server.

Manually collect the logs: Tar.gz of /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs

logs.tar.gz (15.7 KB)

Here are some logs. Looks like it’s mostly working, just… not…

I was expecting a bunch of them. Past (.1 -> .5) logs tell me why it failed.

Here is log from “new” device. I see it complains about unknown name… original server was named “skippy”, new one is named “plex”. Plex Media Server.log (399.1 KB) Also including whole bunch of logs from original server.plexlogs_all.tar.gz (3.6 MB)

DVR did not transfer for some reason.
Other things are having fits too

When you did the transfer, did you so something like this (Image it ) ?

sudo sh
cd /var/lib/plexmediaserver
tar cfz /path/to/save/PlexLibrary.tar.gz ./Library

Performed the backup operation from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/, with a tar cfz /home/path-to-tgz *. What I don’t get is why, once my transfer failed to work, the original server won’t come back.

(using sudo to get all files)

All of my libraries are in an nfs share mounted on /plexmedia on both old and new device, so the only folder under /var/lib/plexmediaserver/Library is “Application Support”

To make things easier, I always recommend ./Library because it’s easier to type. but if you get it all, and remember to chown everything, it should be good.

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

Sometimes it gets missed part way down.

the transfer failure bothers me. A tar ball transfer (back) should never fail.

Yeah, all I did to the donor was stop the service, copy stuff over to another machine, try (and fail) to get other running, then restarted original. And can’t connect to the local url (https://ip:32400/web/index.html). Even tried Firefox. Which gives me this: Secure Connection Failed

The connection to theserver:32400 was interrupted while the page was loading.

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

Connecting to plex.tv just says “looking for servers…” and suggests I download a server.

Ok… let’s not finding the old “Preferences.xml” and/or the IP changed. Easy to fix.

  1. Sign your browser OUT of Plex.tv (this is part of the problem. It still knows the old info)
  2. Stop Plex
  3. Go rename Preferences.xml to Preferences.xml.old
  4. Start Plex
  5. Presuming it’s on your same LAN, Open an Incognito window
  6. open http://ip.addr.of.host:32400/web. If on the machine you’re using then use http://127.0.0.1:32400/web
  7. It will sign into your Plex account and START a new setup.
  8. SKIP creating any library sections. These persist through this soft reset
  9. Continue through the setup , setting preferences as you wish.
  10. When you arrive at the dashboard, everything will be there.

Ok, did that, logged in via incognito, it asked for user/pass, gave that, then went back to “looking for servers…” screen. This is using “new” system. Will stop that and try now with original system.

are these on your LAN or remote?

If on LAN, and RFC-1918 compliant, you shouldn’t have this problem.

If remote, or you’re not compliant, you will need SSH tunnel to set this up again.

RFC-1918: 192.168.x.x, 172.16.x.x -> 172.31.x.x, and 10.x.x.x

Yeah these are on LAN, same subnet (192.169.100.x). Just tried old server with that method, still get the Chrome error (in incognito, verified plex.tv logged out there) This site can’t be reached

skippy.q36.net unexpectedly closed the connection.

Also, remembering to switch the NAT rule as necessary on the Cisco when I change back and forth.

having an existing domain attached makes this complex.

For me, as example:

192.168.0.12 to 192.168.0.21, no domain involved (even though there is one on the host), never gives any reference to the domain.

It sounds like you have a Domain Cert transfter problem. and will need to remove the old cert (dig it out of the config), claim plex, then attach the cert again to plex (so it is aware of it)

Yeah, something’s definitely weird! Ok, good update: using original server, I can get to all my stuff via a Roku. Just not via web from either of the computers I’ve tried. I may try (again) with new one, really want more cpu power… I will probably go to sleep right now, but will update this thread tomorrow when I look at it some more. Thanks for your help so far. I wish my daily life in corporate IT involved such good responsive vendors.

I’m glad I could help.
I do hope it’s not force-converting IP -> FQDN and referencing via the external IP.

If it does that, you MUST SSH tunnel to it.

I would do that as the next step anyway just to test:

ssh -L 8888:127.0.0.1:32400  lan.ip.of.host
-sign in
-let sit

Now, in fresh, incognito, browser window: http://127.0.0.1:8888/web

Now you’re on that machine’s console, regardless of local or remote

Ok I just installed Firefox on the remote (headless) machine and ssh -X’d over to run it. Now I can get to all my stuff via web AND roku, which is awesome, though I have to select a server now which I never had to do before, sort of like another layer of menu. Still haven’t cracked remote access, but this is a mega busy week so I haven’t had any time to devote to it. Will update again when I do. Thanks again.