Server settings are not available

@nibbles I have shared my libraries with several other people who have their own plex accounts, divisionbyzero is one such user.

I have restarted plex as you requested and logged into it locally and clicked around the settings pages then zipped up the logs again and attached them here.

plex-logs.zip (3.9 MB)

Ok I’m looking at the logs now. Can I double check with you, what was the exact url you used to connect to the server? Can you paste it in here? The one I suggested https://local.server.ip:32400/web is one you had to change ofc.

Thanks

EDIT: Go ahead and disable IPv6 in Plex Settings - Show Advanced - Network and Save.
Then restart PMS, and please tell us if you have any VPN or anything additional Proxy or security going on.

Oct 16, 2019 09:12:08.370 [0x7fc915bac740] DEBUG - Detected primary interface: 192.168.1.13
Oct 16, 2019 09:12:08.370 [0x7fc915bac740] DEBUG - Network interfaces:
Oct 16, 2019 09:12:08.370 [0x7fc915bac740] DEBUG -  * 1 lo (127.0.0.1) (loopback: 1)
Oct 16, 2019 09:12:08.370 [0x7fc915bac740] DEBUG -  * 2 enp0s25 (192.168.1.13) (loopback: 0)
Oct 16, 2019 09:12:08.370 [0x7fc915bac740] DEBUG -  * 1 lo (::1) (loopback: 1)
Oct 16, 2019 09:12:08.370 [0x7fc915bac740] DEBUG -  * 2 enp0s25 (fe80::e8a9:93e4:f55f:8e4%enp0s25) (loopback: 0)

Oct 16, 2019 09:22:48.047 [0x7fc8e77fe700] ERROR - Error issuing curl_easy_perform(handle): 7
Oct 16, 2019 09:22:48.047 [0x7fc8e77fe700] WARN - HTTP error requesting GET http://127.0.0.1:0/system/agents/media/get?guid=com%2Eplexapp%2Eagents%2Ethetvdb%3A%2F%2F73762%3Flang%3Den&mediaType=2&url=metadata%3A%2F%2Fposters%2Fcom%2Eplexapp%2Eagents%2Ethetvdb_57c59d61f07341039453b36b5ee0a4d5340047e6 (0, No error) (Failed to connect to 127.0.0.1 port 0: Connection refused)

I connected at https://192.168.1.13:32400/web - the server is running on my local network at home without any VPN or proxy in between it and the desktop I manage it from. I’ve had a power outage and I’m now not at home to be able to boot the server back up, so I’ll have to wait until after work today before I can collect anything else for you.

I suspect I won’t be able to edit the IPv6 settings in the UI, as one of my problems is that none of the settings UI’s will show me anything. Is there a file I can edit instead to make that configuration change?

Yes there is on the website an article:
https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

Looking at a few things, trying to catch up

Somewhere in the chain, the server machine is losing connectivity.

Oct 15, 2019 14:50:52.939 [0x7f3fbeffd700] DEBUG - MyPlex: We appear to have lost Internet connectivity, resetting device URL cache.
Oct 15, 2019 14:50:52.943 [0x7f3fbeffd700] ERROR - EventSource: Retrying in 15 seconds.
Oct 15, 2019 14:50:53.722 [0x7f3fbeffd700] DEBUG - Auth: authenticated user 1 as HeroesDieYoung
Oct 15, 2019 14:50:53.723 [0x7f3f527fc700] DEBUG - Request: [192.168.1.13:58114 (Subnet)] GET /status/sessions (4 live) Signed-in Token (HeroesDieYoung)
Oct 15, 2019 14:50:53.723 [0x7f3f527fc700] DEBUG - [Now] Adding 0 sessions.
Oct 15, 2019 14:50:53.723 [0x7f3fbeffd700] DEBUG - Completed: [192.168.1.13:58114] 200 GET /status/sessions (4 live) 0ms 292 bytes (pipelined: 1)
Oct 15, 2019 14:51:07.943 [0x7f3fbe7fc700] DEBUG - EventSource: Resolving 23.239.17.115 port 443
Oct 15, 2019 14:51:07.943 [0x7f3fbe7fc700] DEBUG - EventSource: Resolved 23.239.17.115 to 23.239.17.115
Oct 15, 2019 14:51:08.077 [0x7f3fbe7fc700] DEBUG - EventSource: Connected in 91 ms.
Oct 15, 2019 14:51:08.077 [0x7f3fbe7fc700] DEBUG - EventSource: Wrote data, reading reply.
Oct 15, 2019 14:51:08.549 [0x7f3fbeffd700] DEBUG - EventSource: Read HTTP reply header.
Oct 15, 2019 14:51:08.549 [0x7f3fbeffd700] DEBUG - MyPlex: We appear to have regained Internet connectivity.
Oct 15, 2019 14:51:08.674 [0x7f3fbeffd700] DEBUG - PublicAddressManager: Obtaining public address and mapping port.

Here is the matching agent reporting it can’t get a reply. Notice the local:// agent. (null agent)

Oct 15, 2019 15:24:35.699 [0x7f3f50ff9700] DEBUG - HTTP 404 response from GET http://127.0.0.1:32400/system/agents/search?mediaType=1&id=10912&identifier=com.plexapp.agents.imdb&duration=6374368&filename=%252Fmedia%252Flocal%252FMovies%252FQuantum%2520of%2520Solace%2520(2008)%252FQuantum%2520of%2520Solace%252Emkv&lang=en&openSubtitlesHash=1b678f27ae62368c&plexHash=697cee77bebe83c9cb2660951aa2e7424e3611a7&name=Quantum%20of%20Solace&year=2008
Oct 15, 2019 15:24:35.699 [0x7f3fbeffd700] DEBUG - Completed: [127.0.0.1:42726] 404 GET /system/agents/search?mediaType=1&id=10912&identifier=com.plexapp.agents.imdb&duration=6374368&filename=%252Fmedia%252Flocal%252FMovies%252FQuantum%2520of%2520Solace%2520(2008)%252FQuantum%2520of%2520Solace%252Emkv&lang=en&openSubtitlesHash=1b678f27ae62368c&plexHash=697cee77bebe83c9cb2660951aa2e7424e3611a7&name=Quantum%20of%20Solace&year=2008 (8 live) GZIP 0ms 350 bytes
Oct 15, 2019 15:24:35.699 [0x7f3f50ff9700] DEBUG -  -1:  ()
Oct 15, 2019 15:24:35.699 [0x7f3f50ff9700] DEBUG -  -1:  ()
Oct 15, 2019 15:24:35.699 [0x7f3f50ff9700] DEBUG -  * Score: -1 ()
Oct 15, 2019 15:24:35.699 [0x7f3f50ff9700] DEBUG - Refreshing metadata for 'Quantum of Solace' (agent: )
Oct 15, 2019 15:24:35.699 [0x7f3f50ff9700] DEBUG - Refreshing GUID: 'local://10912'

I concur with turning off IPv6. turn it all off (even on the host) since you LAN and provider are providing IPv4. Plex doesn’t really have IPv6 yet.

I have disabled IPv6 and see no change. I confirmed in the log that it no longer finds an IPv6 interface:

[######@######-server ~]$ grep -A10 "Network interfaces:" /home/######/plex/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log
Oct 16, 2019 17:35:13.709 [0x7fa2402c1740] DEBUG - Network interfaces:
Oct 16, 2019 17:35:13.709 [0x7fa2402c1740] DEBUG -  * 1 lo (127.0.0.1) (loopback: 1)
Oct 16, 2019 17:35:13.709 [0x7fa2402c1740] DEBUG -  * 2 enp0s25 (192.168.1.13) (loopback: 0)
Oct 16, 2019 17:35:13.709 [0x7fa2402c1740] DEBUG - Creating NetworkServices singleton.

I’m still unable to get any of the settings pages to load. There is no odd networking setup here, my server sits on the primary VLAN in my network, the same one my desktop is on when I access the web interface at https://192.168.1.13:32400/web

Now that you’ve turned off IPv6, restart PMS, give it 6min, and make us some new logs after you try to connect to it using the https link. It will be good to see how smoothly it works. Describe your network in more detail. You said you have a VLAN?

I use a ubiquiti router where I’ve setup a couple of different VLANs. My primary VLAN is the 192.168.1.0/24 space, this is where my Plex server lives as well as my desktop and the other gear spread around the house. That router also defines a 10.0.0.0/24 VLAN which is used by my ESXi home lab server for VMs. Routing between the two VLANs is unrestricted, but shouldn’t ever matter as the 10 space is only used for headless VMs that definitely aren’t doing any media streaming :wink: .

I’m a little worried about this line of inquiry, my network setup may be somewhat different than an average home user but all of that was true when the server was working perfectly fine as well. Does the plex media server have some particular networking requirements you could share with me so I can make sure my local environment accommodates? The only requirement I’m aware of is port 32400 needs to be publicly reachable for remote access. I disallow UPnP on my router, so I’ve forwarded that port specifically to the 192.168.1.13 server. Are there any other networking requirements?

Edit: The server also has unrestricted Internet access, there are no outbound firewall rules for that network.

Edit 2: logs attached

plex-logs.zip (2.4 MB)

Just trying to lay out the big picture so ChuckPA can spot any key details, as he’s terrific when it comes to networking. I don’t know so much what to look for or ask, while he knows that plus behind the scenes details of issues being worked out.

To answer your question, I’m unaware of other network requirements than those you listed. As you said it was working well before.

Thanks for the logs. I’ll have a look.

EDIT I couldn’t find your com.plexapp.system.log but there seems to be some initial problem with the com.plexapp.system bundle when starting. It might be crashing.

Any updates? You think a component of the server may be crashing?

Yes I’m seeing crashes.
The main functions in Plex are broken up into plug-in bundles.
Below is what I see when starting my server vs what I saw from your log.
Every time your log says the System bundle was restarted, it crashed.

So it’s never making it’s log file, com.plexapp.system.log

In my server log
Oct 16, 2019 10:11:39.853 [0x7f0d92b7d700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/System.bundle.
Oct 16, 2019 10:11:46.560 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/LocalMedia.bundle.
Oct 16, 2019 10:11:46.560 [0x7f0d90e31700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/Scanners.bundle.
Oct 16, 2019 10:11:46.560 [0x7f0d90b43700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/Musicbrainz.bundle.
Oct 16, 2019 10:11:46.561 [0x7f0d90e31700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/WebClient.bundle.
Oct 16, 2019 10:11:46.565 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/MoviePosterDB.bundle.
Oct 16, 2019 10:11:46.565 [0x7f0d90e31700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/OpenSubtitles.bundle.
Oct 16, 2019 10:11:46.568 [0x7f0d90b43700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/LyricFind.bundle.
Oct 16, 2019 10:11:46.568 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/PlexThemeMusic.bundle.
Oct 16, 2019 10:11:46.569 [0x7f0d90e31700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/LastFM.bundle.
Oct 16, 2019 10:11:46.570 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/PlexMovie.bundle.
Oct 16, 2019 10:11:46.570 [0x7f0d90b43700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/Framework.bundle.
Oct 16, 2019 10:11:46.571 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/TheTVDB.bundle.
Oct 16, 2019 10:11:46.572 [0x7f0d90b43700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/PersonalMedia.bundle.
Oct 16, 2019 10:11:46.571 [0x7f0d90e31700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/PlexMusic.bundle.
Oct 16, 2019 10:11:46.573 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/HTbackdrops.bundle.
Oct 16, 2019 10:11:46.574 [0x7f0d90b43700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/Media-Flags.bundle.
Oct 16, 2019 10:11:46.575 [0x7f0d90b43700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/TheMovieDB.bundle.
Oct 16, 2019 10:11:46.575 [0x7f0d90855700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-10fc2f8d3/Fanart-TV.bundle.
Oct 16, 2019 10:11:46.576 [0x7f0d90e31700] DEBUG - Starting plug-in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/Services.bundle.
and in your log
Oct 16, 2019 17:53:27.030 [0x7fa48effd700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/System.bundle.
Oct 16, 2019 17:53:27.507 [0x7fa48effd700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:27.508 [0x7fa44effd700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Fanart-TV.bundle.
Oct 16, 2019 17:53:27.508 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Framework.bundle.
Oct 16, 2019 17:53:27.508 [0x7fa44dffb700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/HTbackdrops.bundle.
Oct 16, 2019 17:53:27.508 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/LastFM.bundle.
Oct 16, 2019 17:53:27.757 [0x7fa44effd700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/LocalMedia.bundle.
Oct 16, 2019 17:53:27.757 [0x7fa44dffb700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/LyricFind.bundle.
Oct 16, 2019 17:53:27.758 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Media-Flags.bundle.
Oct 16, 2019 17:53:27.758 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/MoviePosterDB.bundle.
Oct 16, 2019 17:53:28.011 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Musicbrainz.bundle.
Oct 16, 2019 17:53:28.018 [0x7fa44dffb700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/OpenSubtitles.bundle.
Oct 16, 2019 17:53:28.021 [0x7fa484ff9700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:28.022 [0x7fa44effd700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/PersonalMedia.bundle.
Oct 16, 2019 17:53:28.268 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/PlexMovie.bundle.
Oct 16, 2019 17:53:28.278 [0x7fa44effd700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/PlexMusic.bundle.
Oct 16, 2019 17:53:28.279 [0x7fa429ffb700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:28.283 [0x7fa44dffb700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/PlexThemeMusic.bundle.
Oct 16, 2019 17:53:28.533 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Scanners.bundle.
Oct 16, 2019 17:53:28.533 [0x7fa42b7fe700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:28.533 [0x7fa44e7fc700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/TheMovieDB.bundle.
Oct 16, 2019 17:53:28.540 [0x7fa44effd700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/TheTVDB.bundle.
Oct 16, 2019 17:53:28.550 [0x7fa44dffb700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/WebClient.bundle.
Oct 16, 2019 17:53:28.551 [0x7fa44dffb700] DEBUG - Starting plug-in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Services.bundle.
Oct 16, 2019 17:53:28.787 [0x7fa4b37fe700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:29.027 [0x7fa4b1ffb700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:29.271 [0x7fa4b0ff9700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:29.498 [0x7fa4b17fa700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:29.725 [0x7fa4b2ffd700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:29.951 [0x7fa4b3fff700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:30.176 [0x7fa487fff700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:30.400 [0x7fa428ff9700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:30.625 [0x7fa413fff700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:30.849 [0x7fa4c1777700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:31.077 [0x7fa48ffff700] DEBUG - System bundle was restarted, we need to notify other plug-ins
Oct 16, 2019 17:53:32.328 [0x7fa4877fe700] DEBUG - Notifying the system bundle an update to server /system/notify/serverUpdated?host=127.0.0.1
Oct 16, 2019 17:53:32.618 [0x7fa4877fe700] DEBUG - System bundle was restarted, we need to notify other plug-ins

...
Oct 16, 2019 17:53:27.258 [0x7fa48effd700] ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
Oct 16, 2019 17:53:27.258 [0x7fa48effd700] ERROR - Error received reading configuration for com.plexapp.system
Oct 16, 2019 17:53:27.507 [0x7fa48effd700] ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
Oct 16, 2019 17:53:27.507 [0x7fa48effd700] ERROR - Error received reading configuration for com.plexapp.system

Given that your server can’t start up well, have you ever tried to uninstall it while preserving your metadata and media?

Networking requirements are pretty simple in this case:

  1. We all know everything must be in the same subnet on the LAN
  2. When multiple VLANs are involved, the devices must also be members of the same VLAN for broadcast packets to be seen. This normally is invisible to the home user because, by default, plugging into a switch places you on the default VLAN (VLAN 1). We don’t usually mention it because it is the default condition which every switch has. Only those switches with “VLAN capability” allow the owner to specify more than VLAN 1.

I am not liking what’s happening to the System.bundle. it will cause the problems being seen here. The system bundle does get updated independently.

I would like you to try the following:

  1. Stop PMS
  2. Uninstall the package
  3. Make certain there is no System.bundle under /var/lib/plexmediaserver (this is where the update would go)
  4. Reinstall PMS
  5. Start PMS

I’ll give this a try when I get home today. Is the expectation that any metadata about my “watched status” will be maintained through this, or will that be lost?

I have uninstalled and reinstalled the package, and that doesn’t seem to have made any difference. I never saw anything called System.bundle under the /var/lib/plexmediaserver directory, not after the uninstall nor after the reinstall either. Should such a file have shown up at some point?

[######@######-server ~]$ find /var/lib/plexmediaserver/ -type f -name System.bundle
[######@######-server ~]$ find /var/lib/plexmediaserver/ -type d -name System.bundle

I did the reinstall as follows, with the only modification being to change the run user in the service file prior to launch:

sudo systemctl stop plexmediaserver
sudo yum erase plexmediaserver
sudo rpm -ivh ./plexmediaserver-1.18.0.1944-f2cae8d6b.x86_64.rpm
sudo systemctl start plexmediaserver

My / mount is only 50G, as I don’t usually let much of anything install or write there. Because the plex RPM wanted to write files to /var/lib/plexmediaserver, I have symlinked to that my home partition which has much more space available.

[######@######-server ~]$ ll /var/lib/plexmediaserver
lrwxrwxrwx. 1 root root 17 Sep 30  2017 /var/lib/plexmediaserver -> /home/######/plex

Plex writes enough content into this directory that it will not fit on my / partition

[travis@travis-server plex]$ du -h --max-depth=1 /var/lib/plexmediaserver/
67G     /var/lib/plexmediaserver/Library
67G     /var/lib/plexmediaserver/

This has been true for several years, and I assume not the problem? Unless recent versions of Plex have an issue following symlinks (which sounds crazy, so I assume not).

New set of logs attached after the reinstall:
plex-logs.zip (4.2 MB)

Thanks for the logs. It’s still having trouble with the system.bundle. It finds two possibilities, the new installation files and the old version that’s with your metadata. PMS chooses the new one. PMS says it’s spawning the process, but when PMS can’t communicate with the new process, PMS kills the process. It’s not clear from the logs whether

  • The process never spawned, or
  • The process spawned but can’t communicate
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.

Here it is in the raw output unedited

in "Plex Media Server.log"
Oct 17, 2019 18:24:53.389 [0x7f88c9ffb700] DEBUG - File "/usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b" changed: -1 => 2019-10-17 18:18:10 (1571350690).
Oct 17, 2019 18:24:53.389 [0x7f88c9ffb700] DEBUG - File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins" changed: -1 => 2018-12-15 14:41:23 (1544902883).
Oct 17, 2019 18:24:53.389 [0x7f88c9ffb700] DEBUG - Scanning for plug-ins in "/usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b"
Oct 17, 2019 18:24:53.390 [0x7f88c9ffb700] DEBUG - Scanning for plug-ins in "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins"
Oct 17, 2019 18:24:53.390 [0x7f88c9ffb700] DEBUG - PluginRepository::setStartState: 1, startingSystem
Oct 17, 2019 18:24:53.390 [0x7f88c9ffb700] DEBUG - Starting plug-in /usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/System.bundle.
Oct 17, 2019 18:24:53.390 [0x7f88c9ffb700] DEBUG - [com.plexapp.system] Setting plug-in to always running (daemon mode).
Oct 17, 2019 18:24:53.390 [0x7f88c9ffb700] DEBUG - Starting file watcher for com.plexapp.system
Oct 17, 2019 18:24:53.391 [0x7f88c9ffb700] DEBUG - Spawned plug-in com.plexapp.system with PID 23557
Oct 17, 2019 18:24:53.391 [0x7f88c9ffb700] DEBUG - [com.plexapp.system] Sending command: GET /:/prefixes
Oct 17, 2019 18:24:53.621 [0x7f88c9ffb700] ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
Oct 17, 2019 18:24:53.621 [0x7f88c9ffb700] DEBUG - Stopping [com.plexapp.system].
Oct 17, 2019 18:24:53.621 [0x7f88f0b17700] WARN - JobManager: Could not find job for handle 23557
Oct 17, 2019 18:24:53.621 [0x7f88c9ffb700] DEBUG - [com.plexapp.system] Killing.
Oct 17, 2019 18:24:53.621 [0x7f88c9ffb700] ERROR - Error received reading configuration for com.plexapp.system
Oct 17, 2019 18:24:53.621 [0x7f88c9ffb700] DEBUG - Stopping [com.plexapp.system].

ChuckPA will know the install procedure. We’re getting closer :smiley:

Thanks for the posts above:

Symlinking /var/lib/plexmediaserver is, sorry to point out, about the worst way to do this.

The choices are:

  1. mount --bind /var/lib/plexmediaserver /home/plex – An overlay mount
  2. Creating a systemd override and avoid all mounts and links.

Here is my How-To.

Let’s get PMS in a stable site configuration posture and proceed from there.

I have made the requested changes to use a systemctl override rather than a symlink to move my Library directory:

[######@######-server ~]$ cat /etc/systemd/system/plexmediaserver.service.d/override.conf
#
# Customized Plex config for moving the Library directory
#
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/######/plex/Library/Application Support"
User=######
Group=######

There are a couple of errors in the status output, but it does show it loading the override as expected:

[######@######-server ~]$ sudo systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/plexmediaserver.service.d
           └─override.conf
   Active: active (running) since Mon 2019-10-21 17:59:35 EDT; 2min 8s ago
  Process: 3110 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
 Main PID: 3114 (Plex Media Serv)
   CGroup: /system.slice/plexmediaserver.service
           ├─3114 /usr/lib/plexmediaserver/Plex Media Server
           └─3161 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.18.0.1944-f2cae8d6b 32600 /waitmutex

Oct 21 17:59:44 ######-server sh[3114]: Traceback (most recent call last):
Oct 21 17:59:44 ######-server sh[3114]: File "/usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 91, in <module>
Oct 21 17:59:44 ######-server sh[3114]: import Framework
Oct 21 17:59:44 ######-server sh[3114]: File "/usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/__init__.py", line 26, in <module>
Oct 21 17:59:44 ######-server sh[3114]: import components
Oct 21 17:59:44 ######-server sh[3114]: File "/usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/__init__.py", line 9, in <module>
Oct 21 17:59:44 ######-server sh[3114]: from data           import Data
Oct 21 17:59:44 ######-server sh[3114]: File "/usr/lib/plexmediaserver/Resources/Plug-ins-f2cae8d6b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 8, in <module>
Oct 21 17:59:44 ######-server sh[3114]: from lxml import etree, html, objectify
Oct 21 17:59:44 ######-server sh[3114]: ImportError: /home/######/.local/lib/python2.7/site-packages/lxml/etree.so: undefined symbol: PyUnicodeUCS4_DecodeLatin1

Overall my experience is unaffected. Pages for server settings still don’t load, I’m not sure what to look for in the logs to determine if the System.bundle is still crashing, but my guess is yes.

New logs attached:
plex-logs.zip (4.2 MB)

Did you change the ownership of the files and directories to match the username and make certain that new user can execute down through the top level directories (at minimum) until it has full permissions (755 dir / 644 files) from “Library” down ?
I can see from the systemd status that you did remember to systemctl daemon-reload

Hint: would have been a sudo chown -R user:group /new/plex/directory/name

The user that the service runs as hasn’t changed, I just set that in the override file instead of modifying the service file. The location of the Library files also hasn’t changed, I just point to it in the override rather than using a symlink. So, the ownership and permissions are the same as they’ve ever been, but I made sure they were consistently owned by the run user anyway just to be sure. That has not made any change to my situation.

plex-logs.zip (3.9 MB)

Given all that is stable, and the server itself is playing, there must be a change/issue with how you’re accessing from the web.

What you’re describing (consistently) is that it doesn’t recognize your Plex/Web sign-in as the same sign-in which owns the server.

I don’t see where the server really gets itself running correctly because of the system.bundle failed to startup.

Oct 22, 2019 14:08:28.681 [0x7f4952bdd700] DEBUG - HTTP requesting GET https://music.provider.plex.tv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Oct 22, 2019 14:08:28.800 [0x7f496d24b700] WARN - JobManager: Could not find job for handle 28112
Oct 22, 2019 14:08:28.800 [0x7f49513da700] ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.system], we're killing it.
Oct 22, 2019 14:08:28.800 [0x7f49513da700] DEBUG - Stopping [com.plexapp.system].
Oct 22, 2019 14:08:28.800 [0x7f49513da700] DEBUG - [com.plexapp.system] Killing.

Would you mind uninstalling the package, restarting the host, reinstalling the package again?

While uninstalled, please make sure there isn’t a System.bundle in
/home/plex/Library/Application Support/Plex Media Server/Plug-ins directory?

Something is wrong there. I don’t yet see it either but without the System.bundle running correctly, we’re not going anywhere with signin authentication for Web