Ubuntu Plex Server Crashing - ERROR - Caught exception trying to stream file

Plex Media Server.1.log (1.3 MB)
Server Version#: 1.30.0.6359

My plex server has been crashing nightly for the past few nights. I thought it was a disk space issue, but after last night crash I know it was not. I went through the logs, which I have attached here, and found this…

Lots of these:

Nov 16, 2022 22:32:46.116 [0x7ff15bc68b38] ERROR - Caught exception trying to stream file: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-2C0A169E-B939-42C5-8541-9D6C161BE183-90f6a04b-a567-4a8e-b7b6-ead289537c64/media-00450.ts: write: protocol is shutdown
Nov 16, 2022 22:35:12.305 [0x7ff162598b38] ERROR - Caught exception trying to stream file: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-2C0A169E-B939-42C5-8541-9D6C161BE183-90f6a04b-a567-4a8e-b7b6-ead289537c64/media-00466.ts: write: protocol is shutdown

And a LOT of these:

Nov 16, 2022 19:49:09.259 [0x7ff15c4b2b38] ERROR - [Req#1c7f1/Transcode/2fff698e3342d4d8-com-plexapp-android/14fb3d5a-4539-4d46-ae54-5c7f62f154c0] [h264 @ 0x7f8f93fd0980] top block unavailable for requested intra mode -1
Nov 16, 2022 19:49:09.259 [0x7ff15e3ffb38] ERROR - [Req#1c7f3/Transcode/2fff698e3342d4d8-com-plexapp-android/14fb3d5a-4539-4d46-ae54-5c7f62f154c0] [h264 @ 0x7f8f93fd0980] error while decoding MB 0 0, bytestream 18133

In fact, almost 2/3 of the log file is the top block unavailable errors. I do not know where to start here. When this happens, I log into my server and run this:

sudo systemctl stop plexmediaserver.service

Which takes ~5 minutes, and never shuts down cleanly. I often have to manually delete the PID file, and reboot the server. After the reboot everything loads fine and the plex server is back in action.

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