PMS keeps crashing

Correct, and I set br0 as the preferred one in the settings

@BeAtS

  1. Yes, it needs to be stopped so the traffic to plex.tv can ‘cool down’ (no requests)

  2. What’s the network metric (route -n) output ?

  3. What’s the default route for the host ? Which adapter ?
    (if you try to set br0 and the host is on another, it will get confused and lock up like this. (PMS networking is not graceful with multiple adapters. You need to give PMS “only one” to choose.

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 br0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eno2
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 br0
192.168.122.0   0.0.0.0         255.255.255.0   U         0 0          0 virbr0
[~]# ip route
default via 192.168.1.1 dev br0 proto dhcp src 192.168.1.60 metric 425
192.168.0.0/24 dev eno2 proto kernel scope link src 192.168.0.167 metric 100
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.60 metric 425
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown

Your metric on the default network is higher ? (425 vs 100)

[chuck@glockner plexmediaserver.2027]$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 br0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 br0
192.168.0.1     0.0.0.0         255.255.255.255 UH        0 0          0 br0
[chuck@glockner plexmediaserver.2028]$ ip route
default via 192.168.0.1 dev br0 proto dhcp src 192.168.0.20 metric 100 
192.168.0.0/24 dev br0 proto kernel scope link src 192.168.0.20 metric 100 
192.168.0.1 dev br0 proto dhcp scope link src 192.168.0.20 metric 100 
[chuck@glockner plexmediaserver.2029]$ 

Notice: I turned off the default adapters. This is a 4 port (2x 1GbE and 2x 10GbE) machine. br0 is the bonded 2x10

just had another user with the same issue.
I am now suspicious.

I’ve sent off message to the ops folks to ask what might be common to both

Shouldnt be a problem?

interesting…

  1. All things being equal, the metric controls which adapter traffic flows – Lowest cost wins (in the TCP/IP stack)

  2. I have an internal ticket open for this ‘422’ case.

Yes, but the metrics only counts for same class routes. In this case br0 is the primary route even with the higher metrics.

Could the 422 cause the behavior of not showing anything in my libraries? Isn’t the library content and metadata local? I mean, it should even work offline when the PMS has no internet access?

@ChuckPa any news?

  1. PMS will not work without internet access. It must always have a connection for authentication.

  2. 422 is plex.tv complaining. I’ve submitted the ticket. They are trying to figure out the cause because it’s not only your account but it isn’t wide-spread either.

@ChuckPa Any updates? I still havent started my PMS again…

@ChuckPa I want to install my PMS from scratch again. Best to wipe all the PMS related folders and uninstall for Linux?

To reinstall PMS again does not actually require “reinstall”.

When using the native package (DPKG / RPM)

  1. Stop PMS
  2. cd /var/lib/plexmediaserver
  3. sudo mv Library Library.old
  4. Start PMS
  5. Open PMS via the loopback (http://127.0.0.1:32400/web) URL

What are the odds I run into the same issue?

Unknown – because of your environment and how you use PMS.

I can only tell you that I have :

  • 7 physical PMS servers
  • 4 virtual PMS servers in LXD/LXC
  • Multiple VPNs active concurrently.

I have a test database with 340,00+ TV episodes loaded in it.
My personal server has over 15,000 items indexed.

In all the testing and use I have , I’ve never had problems with PMS crashing.
(I do have everything on a big UPS which carries everything and can shut it all down during power outages well before batteries are exhausted)

Can be closed, “reinstalled” the PMS, its indexing currently but seems to work now. Lets see how it develops.

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