Plex Media Server process running, plex web available, but plex web can't find the server?

Server Version#: Version 1.14.1.5488
Player Version#: on same server: Version 3.77.4

My server was working away, recording things and etc.

I then went into Plex on my Samsung TV and it didn’t show the server (steved-plex). It could see my old server and an external server.

I logged into the Ubuntu 18.04 box that runs it and the process seemed normal.

I checked the Plex Media Server.log and there was plenty being logged (about which a separate question).

I eventually stopped and started the plexmediaserver service and back to normal.

I attach the log over the period where it went from working to broken.

There are many WARN and ERROR lines and its hard to tell which are the lines that show me when and why Plex broke.

(Many of the errors are because of Plex’s obsession to try to retrieve description.xml from a Sonoff smart switch. !?

Can someone more experienced show me where the problem started.

My Plex missed recordings so I’d like to get an alarm on my Zabbix system when something has gone wrong.

This is the log over the time if failed:

Plex Media Server.1.log (1.3 MB)

This is the log when I started it again:

Plex Media Server.log (32.1 KB)

In other, perhaps related, news, it seems that my PMS is reporting many crashes. How do I find out more>:

Jan 18, 2019 03:47:56.884 [0x7f2b56ebc700] INFO - Crash Uploader - Platform: linux-ubuntu-x86_64 (4.15.0-43-generic (#46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018)) ServerUUID: 493d8c257df9b5fc0227a49d5961f9a78c87f16d UserId: steve@connection-telecom.com Version: 1.14.1.5488-cc260c476
Jan 18, 2019 03:47:56.885 [0x7f2b5bebe780] DEBUG - HTTP requesting POST https://crashreport.plexapp.com
Jan 18, 2019 03:47:59.691 [0x7f2b5bebe780] DEBUG - HTTP 200 response from POST https://crashreport.plexapp.com
Jan 18, 2019 03:47:59.692 [0x7f2b5bebe780] INFO - Successfully reported 262eff6d-a5f6-dac1-3f529426-63dc01b9
Jan 18, 2019 03:48:11.074 [0x7f8616dae700] INFO - Crash Uploader - Platform: linux-ubuntu-x86_64 (4.15.0-43-generic (#46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018)) ServerUUID: 493d8c257df9b5fc0227a49d5961f9a78c87f16d UserId: steve@connection-telecom.com Version: 1.14.1.5488-cc260c476
Jan 18, 2019 03:48:11.075 [0x7f861bdb0780] DEBUG - HTTP requesting POST https://crashreport.plexapp.com
Jan 18, 2019 03:48:13.690 [0x7f861bdb0780] DEBUG - HTTP 200 response from POST https://crashreport.plexapp.com
Jan 18, 2019 03:48:13.690 [0x7f861bdb0780] INFO - Successfully reported 4c93227b-4c98-0f52-2aeb5216-7e9bc9ed
Jan 19, 2019 13:29:09.347 [0x7f0c25d7e700] INFO - Crash Uploader - Platform: linux-ubuntu-x86_64 (4.15.0-43-generic (#46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018)) ServerUUID: 493d8c257df9b5fc0227a49d5961f9a78c87f16d UserId: steve@connection-telecom.com Version: 1.14.1.5488-cc260c476
Jan 19, 2019 13:29:12.155 [0x7f0c2ad80780] INFO - Successfully reported 63a50bec-cf60-f1f2-1b74e1ea-61e4faba
Jan 19, 2019 13:29:14.737 [0x7f0c2ad80780] INFO - Successfully reported 532cb8d5-73e5-2ad1-3bd464d6-37657df8

Thanks,
Elbow

Are you running this with a proxy?

May I have a full tarball of the Logs directory?

A regular sudo tar cfz /tmp/Logs.tar.gz will do the job

The forum allows GZ files

Hi,

Do you mean a web proxy? If so, no.

Here are my logs.

plexlogs.tar.gz (3.7 MB)

Regards,
Elbow

Would you mind Turning OFF Verbose logging?

They are sadly a waste of everyone’s efforts at this point of diagnosis because they only show 2 minutes worth of activity.

Make certain DEBUG logging is enabled, VERBOSE disabled.

Then recreate / re-capture

Thanks

I did set it that way a day or two ago, you will see that more recent logs in the tarballs cover more time.

It’s highly irritating that Plex rotates at the tiny 5MB size and there seems to be no way to use a more sensible size.

You may increase the number of logfiles retained by editing Preferences.xml

Add logNumFiles=“n” where n is the number of files to retain.
Typically 20 is more than sufficient.

Do this with PMS stopped.

Well, 20 log files will be 40 minutes of logs with verbose enabled.

The 5MB is laughably small.

The verbose/debug is quite unusual since normally in every other program I can think of the debug log would be the most bulky, and the one you would leave off if you weren’t expert in the internals of the program.

But no mind, I will send fresh logs with more crashes.

Thanks,

Elbow

I asked for DEBUG logging. NOT VERBOSE

It’s not about the size:

  1. Time span
  2. Readability by myself in following the events contained therein

Hi,

I’m still getting crashes occasionally. Unfortunately my logs still don’t go back very far (VERBOSE is off). So I don’t have the time of the crash any more.

-rw-r--r-- 1 plex plex 5243011 Jan 23 06:48 'Plex Media Server.1.log'
-rw-r--r-- 1 plex plex 5247540 Jan 23 04:09 'Plex Media Server.2.log'
-rw-r--r-- 1 plex plex 5292048 Jan 23 03:59 'Plex Media Server.3.log'
-rw-r--r-- 1 plex plex 5242901 Jan 23 03:39 'Plex Media Server.4.log'
-rw-r--r-- 1 plex plex 5242955 Jan 23 02:33 'Plex Media Server.5.log'
-rw-r--r-- 1 plex plex 3706396 Jan 23 09:07 'Plex Media Server.log'

As you can see, no VERBOSE lines:

root@plex-server:/var/log/plex# grep -c ' VERBOSE' Plex\ Media\ Server.*
Plex Media Server.1.log:0
Plex Media Server.2.log:0
Plex Media Server.3.log:0
Plex Media Server.4.log:0
Plex Media Server.5.log:0
Plex Media Server.log:0

I’ve got looks like about 10 hours over my existing 6 log files - so I will increase to 30 log files to try to get 2 days of logs. Does that seem right?

Thanks,
Elbow

If there are crashes contained within the logs you have now, please make the ZIP file (Download Logs) and attach it.

I will go through them when back on duty tomorrow.

No, there are not. They are from yesterday afternoon my time - IE about 16 hours ago - and have rolled off the back of the logs.

Elbow

The next time it crashes, please capture the logs and attach those logs.

Will do.

Elbow

Hi,

I’m failing to get PMS to keep more log files.

My Preferences.xml looks like so:

<?xml version="1.0" encoding="utf-8"?>

<Preferences OldestPreviousVersion=“1.14.1.5488-cc260c476” …elided… TranscodeCountLimit=“2” FSEventLibraryPartialScanEnabled=“1” FSEventLibraryUpdatesEnabled=“1” ScheduledLibraryUpdatesEnabled=“1” autoEmptyTrash=“0” watchMusicSections=“0” WanPerUserStreamCount=“1” CloudSyncNeedsUpdate=“0” LogVerbose=“0” logDebug=“1” ManualPortMappingMode=“1” secureConnections=“1” ButlerEndHour=“6” logNumFiles=“30”/>

I restarted PS after adding but I’m still seeing just the 5 files (and the current one).

What have I done wrong?

I still have crashes but the logs rotate too fast.

Elbow

It’s not your fault or error. it’s mine.

Someone changed the case of the pref back in 1.9.7 and I failed to make note of it.

LogNumFiles

OK - changed to LogNumFiles - I’ll restart when my PMS isn’t recording.

Elbow

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