Plex Media Server Backup and Restore

I’m having some connection problems with my QNAP server which runs the latest ver of Plex Media Server. I can’t tell if it’s Plex or my Qnap but Plex no longer stays reachable from outside my network for longer than 5 mins or less. I can disable/enable to setting but won’t stay reachable.

I do have a nightly nas to nas backup of my media and plex server folders so I am comfortable I have good backups of everything.

What I think I should do is:

  • factory reset of qnap
  • restore all my plex media files
  • reinstall Plex media server and point to the media again

But, since the problem could be Plex server related, I don’t want to restore the problem. The only thing I cannot do without are my media tag and sorts I have modified over the years. I don’t really care about watched status or not but I have made a lot of changes to sorts and tags that I woulld really hate to lose.

Is there any way to restore just the metadata I have added or modified? I don’t mind restoring more but I don’t want to restore any problems. I have had Plex for 8 years or so and have just done update on top of update so there might be some cumulative junk that just won’t go away.

I don’t know of any other way to solve the connection problem.

Before you shred the car because it has a flat tire :wink:

Can you grab the logs?

  1. Create the shared folder exactly as shown
  2. Restart Plex
  3. Wait 60 seconds
  4. Stop Plex
  5. Open FileStation , Navigate to the logs
  6. make a ZIP file and download
  7. Attach here

Thanks!

Here are the logs
Logs.zip (3.7 MB)

Your server is indeed up and running.

Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG - Detected primary interface: 192.168.0.215
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG - Network interfaces:
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG -  * 1 lo (127.0.0.1) (00-00-00-00-00-00) (loopback: 1)
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG -  * 2 eth3 (169.254.7.60) (24-5E-BE-28-22-AD) (loopback: 0)
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG -  * 3 eth2 (169.254.7.55) (24-5E-BE-28-22-AC) (loopback: 0)
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG -  * 13 qvs0 (192.168.0.215) (24-5E-BE-28-22-AA) (loopback: 0)
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG -  * 1 lo (::1) (00-00-00-00-00-00) (loopback: 1)
Nov 28, 2022 18:09:26.803 [0x7fa573b76ad0] DEBUG - Creating NetworkServices singleton.

It’s also talking to Plex ok because I see it updating DVR schedules.

That part is fine.

Looking at your logs:

  1. PMS is requesting remote access check (reachability)
  2. Plex.tv checks and doesn’t see a port forwarding from external port 27993 → internal port 32400.
    Does this make sense to you?

Do you use UPNP or manual port forwarding?

After sending the logs but before you replied, I rebooted my router and qnap drive. I do see the following in router.

Here is a new set of logs after I did the reboots, disabled external access and reenabled external access in Plex. It was up for about a minute and then said unreachable.
Logs(1).zip (1.6 MB)

Check your Gateway IP on the QNAP.

PMS is looking for the modem/router and cannot find it.

Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, attempting port mapping.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.140:8060/>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.217:80/dms/device.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.117:8060/>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.157:8008/ssdp/device-desc.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.237:8088/description>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.158:8008/ssdp/device-desc.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.195:5000/ssdp/desc-DSM-eth0.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.196:5000/ssdp/desc-DSM-eth1.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.215:32469/DeviceDescription.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, not an IGD: <http://192.168.0.215:8080/upnpd/db9d7995bf.xml>.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] NAT: UPnP, didn't find usable IGD.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] PublicAddressManager: Mapping failed.
Nov 28, 2022 18:54:52.350 [0x7f59db77eb38] DEBUG - [Req#578] MyPlex: mapping state set to 'Failed'.
Nov 28, 2022 18:54:52.351 [0x7f59db77eb38] DEBUG - [Req#578] MyPlex: Updating device connections (from timer: 0)
Nov 28, 2022 18:54:52.351 [0x7f59db77eb38] DEBUG - [Req#578/HCl#6d] HTTP requesting PUT https://plex.tv/devices/f0a633a46cb923093e65990fc306f3f32299fb3a?Connection[][uri]=http://192.168.0.215:32400&httpsEnabled=1&httpsRequired=0&dnsRebindingProtection=0&natLoopbackSupported=0&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx

It’s failing because it can’t get its public address.

I guess I don’t know what to look for or modify.

My BGW210 ATT modem is 192.168.1.254, it’s default IP addr

My home network all uses 192.168.0

My Wifi router is 192.168.0.1

My windows pc ipconfig/all shows the gateway as 192.168.0.1

What do I need to do?

Update: I looked on my QNAP and I have 4 ethernet ports. Port 1 and 2 are aggregated and port 3 and 4 had IP addresses that started with 169 which doesn’t look correct. I have disconnected qnap ethernet ports 3 and 4 and am shutting down the qnap so I can follow those cables

Here is the latest log files.

I’m not sure what to do. I have made sure the ethernet adapters look fine and they do now. They say the gateway is 192.168.0.1 which I think is correct - it’s my wifi router.

I still cannot get a connection to last.
Logs.zip (40.6 KB)

OK, now you’re making progres.

192.168.0.178:32400&Connection[][uri]=http://192.168.0.215:32400&httpsEnabled=1&httpsRequired=0&dnsRebindingProtection=0&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (reused)
Nov 28, 2022 20:41:48.789 [0x7f1987e18b38] DEBUG - [HttpClient/HCl#1b] HTTP/2.0 (0.2s) 422 response from POST https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx (reused)
Nov 28, 2022 20:41:48.789 [0x7f1983541b38] DEBUG - MyPlex: Published Mapping State response was 422
Nov 28, 2022 20:41:48.789 [0x7f1983541b38] DEBUG - MyPlex: Got response for f0a633a46cb923093e65990fc306f3f32299fb3a ~ registered :0
Nov 28, 2022 20:41:48.789 [0x7f1983541b38] DEBUG - MyPlex: updating mapped state - current state: 'Not Mapped'
Nov 28, 2022 20:41:48.789 [0x7f1983541b38] DEBUG - MyPlex: mapping state set to 'Not Mapped'.

It’s giving you 422 response (throttled),.

Give me a minute and I’ll clear that for you.

I can see your server and plex.tv talking.

There were some certificate exchanges. I’ve reset your certificate just in case.

Please restart the server.

Next, Open a private browser window to the QNAP (http://192.168.0.215:32400/web )

Confirm it will sign in. ( expect it to give you the ‘this server isn’t hosted … blah blah’)

1 Like

I did get the message you mentioned and I confirmed and got in.

It does say remote access is available but I cannot reach it from my phone (with wifi off) and I cannot reach it via app.plex.tv method. I can only get in via the 192.168.0.215 way

WHOA here.

Why is your modem router at 192.168.1.254 and you are 192.168.0.x ?

Wrong subnet if you’re using the standard /24

Does your modem/router present on 192.168.0.x ?

Make this ALL the same subnet. You are creating a double NAT in your home and PMS is throwing FITS because of it.

I’ll help fix best I can

The modem does not act like a router. Even though it has ports and wifi, I do not use them. I use my TP Link router for wired and wireless. Every device I have does see the internet and I don’t have any other issues. I can change the modem IP address if it needs to be on the same 192.168.0 network. ATT BGW210 default address is 192.168.1.254

Are you using it for anything more than Media conversion (coax <-> ethernet) ?

If it is serving zero purpose, it’s best to keep it up out of the way. (avoids confusing the idiot at Plex who’s trying to help you… LOLOLOL )

(( My modem is 192.168.100.100 – which I promptly ignore ))

I am not using it for any other purpose - just as a modem.

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