I’m using the plexinc/pms-docker:plexpass image. I have been keeping an eye on my Plex logs for a few days and I noticed a few that I haven’t had much luck finding an explanation for. I’ve Googled the heck out of these, but like most issues with Plex, discussions each feel unique and I can’t really find consistent information.
The first and most common error I see is this:
Failed to delete session directory (boost::filesystem::remove: No such file or directory: “/transcode/Transcode/Sessions/plex-transcode-f081246423343ed563bafd0b785b0a52-8acdf24d-2fbc-45b2-95e4-9ff800c7b377/media-03033.ts”)
The only thing configuration-wise I can think to share is how I mount my volumes. The following is a snippet from my docker-compose.yml file:
# Snippet from my `plex` service
volumes:
- ./plex/config:/config
- plex-transcode:/transcode
- /media/plex/movies:/data/movies
- /media/plex/tv:/data/tv
- /media/plex/anime:/data/anime
# Corresponding volume definition
volumes:
plex-transcode:
What would be causing the transcoder files to not be found when attempting to delete them? FWIW, when I check the transcode volume contents it is always empty. Is this maybe a permission issue? For most of my containers, I do prefer to run with the user: attribute or at least an explicit UID/GID, but for Plex I did not specify any of these settings since the instructions didn’t indicate a supported method to do this.
Second concern is some random transcoder issues. I’m not sure if these are due to bad video files (there’s no indication in the logs as to which video files caused the issue, if that’s the cause) or something container-specific:
Nov 22, 2018 23:07:42.913 WARN Transcode runner appears to have died.
Nov 22, 2018 23:07:42.756 WARN Transcode runner appears to have died.
Nov 22, 2018 23:07:42.603 WARN Transcode runner appears to have died.
Nov 22, 2018 23:07:42.454 WARN Transcode runner appears to have died.
Nov 22, 2018 23:07:42.304 WARN Transcode runner appears to have died.
Nov 22, 2018 23:05:25.775 ERROR [Transcoder] [matroska,webm @ 0x16d0680] Read error at pos. 4667155810 (0x1162f2562)
Nov 22, 2018 23:05:25.672 ERROR [Transcoder] Error while decoding stream #0:1: Invalid data found when processing input
Nov 22, 2018 23:05:25.670 ERROR [Transcoder] [dca @ 0x184e580] Not a valid DCA frame
Nov 22, 2018 23:05:25.566 ERROR [Transcoder] Error while decoding stream #0:1: Invalid data found when processing input
Nov 22, 2018 23:05:25.564 ERROR [Transcoder] [dca @ 0x184e580] Not a valid DCA frame
Nov 22, 2018 23:05:25.461 ERROR [Transcoder] Error while decoding stream #0:1: Invalid data found when processing input
If this is due to a video file, how can I find out which video files are bad? If not, what else could it be?