Docker Transcode Failure

Server Version#: 1.15.4.919

When playing any video that needs transcoding I get this message “Conversion failed. The transcoder exited due to an error.” Any video that plays without transcoding plays just find.

I am attempting to move my server over to Docker from a standard linux install. I am using Portainer to manage my containers and launch Plex.

My Config folder is one drive and my media is on a different drive.

This line from the log seems to be where the transcode fails, but it doesn’t say why it fails.

“Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 765 is 1 (failure)”

I am not sure what logs might be helpful as well.

Thanks for any help.

The drive that holds your /config must be mounted executable. Is it?

It is mounted as executable. Would it make a difference that the drive is NTFS and a USB mounted hard drive?

Would it make a huge difference having the config running off a SSD vs HDD?

I do not use any NTFS drives here and I would expect possible problems where ownership and permission come into play.

I initially had my /config on an SSD thinking the interface would feel snappier, but it didn’t seem to make any difference to me.

Sadly they are legacy drives. I’ll look into moving the data to a happier Linux format and see if that makes a difference.

Im hoping that is the issue at least, permissions issues would make the most sense. Although it seems strange Plex can create any files and folders it needs, just can’t execute them.

It’s not about Plex being able to create files and folders. It’s an OS constraint - if a drive is mounted by the OS as noexec, executable programs on the drive will not run. And the transcoders that are downloaded onto the drive by Plex are executable programs.

Firstly, thank you for all your help and suggestions. After reading your latest post about executables, I started to wonder if my drive was not being mounted with exec, even though it is told to. I checked my fstab and it was setup correctly with exec as an option. I checked the current mounts and found them all listed as ‘noexec’, strange. After some research I found out NTFS drives, when mounted, auto apply ‘noexec’ if the ‘user’ switch is used, which I was. I moved ‘exec’ to the end of the options list to give it priority and now transcoding works again. I also removed ‘user’ since it was not needed.

TLDR
NTFS drives add ‘noexec’ to mounts with ‘user’ or ‘users’ option. Put ‘exec’ at the end of the options to give it priority.

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