Various errors and warnings appearing about metadata and remote streaming

Hardware: Synology DS918+ // 500GB SSD // 16GB RAM
DSM Version#: DSM 7.0.1-42218 Update 2
Server Version#: 1.25.6.5577-7000 (package installation)
Player Version#: Web 4.76.1 (but happened on Android devices aswell such as 8.30.2.31202)


Hi,

I recently migrated from DSM6 to 7 following this dev-guide. Everything went flawlessly at first and my server was stable until some issues started appering the last two months. Plex is gradually getting slower and shuttering in navigation (users selection, loading a library or media informations can take minutes long if not locking itself in an infinite loading, etc…).

Local playback works and have no issue whatsoever but remote play shutters and buffers every 30 seconds even when streaming through a direct-play.

My Plex console returns the following and I need help to interpret the meaning of these issues or even receive help to fix them.

Summary

Italic is warnings, bold is errors.

QueryParser: Invalid field ‘contentDirectoryID’ found, ignoring.
QueryParser: Invalid field ‘pinnedContentDirectoryID’ found, ignoring.
QueryParser: Invalid field ‘libraryHubsOnly’ found, ignoring.
Unknown metadata type: folder
Unknown metadata type:
QueryParser: Invalid field ‘IncludeExternalMedia’ found, ignoring.

Caught exception trying to stream file: /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/PhotoTranscoder/a0/a0251448c417815e1e0d4ae012cb424dde3f9017.jpg: write: protocol is shutdown
Caught exception trying to stream file: /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-en56oydq4uu2f4w2ildq8p0i-065d2383-95bd-46d4-9c23-31022168ee07/init-stream1.m4s,/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-en56oydq4uu2f4w2ildq8p0i-065d2383-95bd-46d4-9c23-31022168ee07/chunk-stream1-04948.m4s: write: protocol is shutdown

I understand this as a corrupted database, so I tried to repair it following this support ticket and neither a repair or a brand-new database seemed to have cleared the issue. I also double checked my permissions and Plex has all the controls it needs to work. My upload speed is also sufficient to cover all the requirements for remote streaming. My CPU doesn’t seem bottleneck either by transcoding or the overall usage of Plex.

This never happened before, my library isn’t big and my files are at 1080P max so I simply can’t get my finger on the origin of the issue. I have linked my full logs below, thanks for your time and investigation.

Plex Media Server Logs_2022-03-08_22-00-27.zip (4.7 MB)

You can safely ignore this. It’s development work not yet implemented.

QueryParser: Invalid field ‘contentDirectoryID’ found, ignoring.
QueryParser: Invalid field ‘pinnedContentDirectoryID’ found, ignoring.
QueryParser: Invalid field ‘libraryHubsOnly’ found, ignoring.
Unknown metadata type: folder
Unknown metadata type:
QueryParser: Invalid field ‘IncludeExternalMedia’ found, ignoring.

These type errors occur when the player prematurely / unexpectedly closes the connection.

Caught exception trying to stream file: /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/PhotoTranscoder/a0/a0251448c417815e1e0d4ae012cb424dde3f9017.jpg: write: protocol is shutdown
Caught exception trying to stream file:

There is no database corruption .

For this error.

Mar 08, 2022 21:44:56.533 [0x7f157cbafb38] DEBUG - [Transcode/en56oydq4uu2f4w2ildq8p0i] Returning segment 4947 from session
Mar 08, 2022 21:44:56.533 [0x7f157cbafb38] DEBUG - Content-Length of /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-en56oydq4uu2f4w2ildq8p0i-065d2383-95bd-46d4-9c23-31022168ee07/init-stream1.m4s,/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-en56oydq4uu2f4w2ildq8p0i-065d2383-95bd-46d4-9c23-31022168ee07/chunk-stream1-04948.m4s is 29931 (of total: 29931).
Mar 08, 2022 21:44:56.534 [0x7f157cbafb38] ERROR - Caught exception trying to stream file: /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-en56oydq4uu2f4w2ildq8p0i-065d2383-95bd-46d4-9c23-31022168ee07/init-stream1.m4s,/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-en56oydq4uu2f4w2ildq8p0i-065d2383-95bd-46d4-9c23-31022168ee07/chunk-stream1-04948.m4s: write: protocol is shutdown
Mar 08, 2022 21:44:56.534 [0x7f157ed7ab38] DEBUG - Completed after connection close: [86.70.146.173:50172] 500 GET /video/:/transcode/universal/session/en56oydq4uu2f4w2ildq8p0i/1/4947.m4s (13 live) TLS GZIP 1ms 0 bytes (pipelined: 2)
Mar 08, 2022 21:44:56.535 [0x7f157cf47b38] DEBUG - Request: [xx.xxx.xxx.xxx:50158 (WAN)] GET /:/timeline?ratingKey=16448&key=%2Flibrary%2Fmetadata%2F16448&playbackTime=4918099&playQueueItemID=106594&state=playing&hasMDE=1&context=library%3Acontent.library&row=47&col=2&time=4920000&duration=9264000 (13 live) TLS GZIP Signed-in Token (Nytios)

The file was successfully streaming when the connection could not send to the player because it was closed by the player.

Thank you for these quicks and efficients answers, I have a clearer understanding of these returns now.

I still have some “blocked and infinite” buffers on my remote streaming with errors returning like:

[Transcoder] [h264 @ 0x7f0b0b707040] no frame!
[Transcoder] Error while decoding stream #0:0: Invalid data found when processing input

Which I’m not fully understanding as for now, but I can’t seem to replicate the issues I’ve encountered so I’ll consider this thread completed. Thank you for your quick help :slight_smile:

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