Urgent help. No play back on any devices.

server-docker

#1

Hello there,
I'm hoping to get some expert help. For years plex media server has been running beautifully on my HP proliant n40l server via openmediavault. I have just made the mistake of updating the plex plugin and I seem to have corrupted the install. I have tried everything to fix it to no avail. Instead of reinstalling openmediavault and plex from scratch I have gone down the docker route and installed linuxserver plex container.
The install has been successful, I have managed run the docker container, log into plexmediaserver and to rescan my libraries.
However, I simply cannot play back any videos on any of my devices, including via a web browser on the network, iphone, ipad and my raspberry pi.

On my iphone and web browsers there is an error
"playback was terminated by the server, conversion failed, the transcoder crashed". I can't understand this error as I normally never transcode and run my movies via direct play or stream.

If there is a log file I should add please let me know.
Many thanks

George


#2

ZIPped Log files please? (Settings - Server - Help - Download Logs)


#3

Here are the logs.
Many thanks


#4

Further to this I took another look at my log with a clearer head.
There is an message:
ERROR - Transcoder: Error cleaning old transcode sessions: boost::filesystem::directory_iterator::construct: No such file or directory: "/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions"

This gave me a clue. I had my docker config on the same share as my media files (this was fine with the openmediavault plugin but not with docker).
I have changed the config folder to another location (my home folder) on my nas.
All seems to be working for now but I would appreciate further comment if possible.

Cheers


#5

Are you running this in Docker on OMV ?


#6

@ChuckPA said:
Are you running this in Docker on OMV ?

Yes.


#7

Thanks. I'll relocate this thread to the Docker forum. Docker is not in my skill set.


#8
Nov 14, 2017 23:17:32.232 [0x7f2e97ff9700] ERROR - [Transcoder] Unknown decoder 'h264'

This is the key line for why the transcoder is crashing. You need to make sure that the /config tree (all subdirs) is writable by the abc user within the container. This may require doing a chown on the files or you (I believe) you can change the UID of the user within the container. See the linuxserver's documentation on this since this is not our official container.

Additionally, the /config dir must be located on a filesystem that allows execution of binaries. This has hit a few people and could be responsible for the above line. The codecs are stored within /config and if the filesystem doesn't allow execution, the transcoder cannot load the codec.

BTW, it's transcoding because the client requested it. I see that it decided on a stream copy of the video but a transcode of the audio so perhaps the client cannot play the audio stream in this file.


#9

@gbooker02 said:

Nov 14, 2017 23:17:32.232 [0x7f2e97ff9700] ERROR - [Transcoder] Unknown decoder 'h264'

This is the key line for why the transcoder is crashing. You need to make sure that the /config tree (all subdirs) is writable by the abc user within the container. This may require doing a chown on the files or you (I believe) you can change the UID of the user within the container. See the linuxserver's documentation on this since this is not our official container.

Additionally, the /config dir must be located on a filesystem that allows execution of binaries. This has hit a few people and could be responsible for the above line. The codecs are stored within /config and if the filesystem doesn't allow execution, the transcoder cannot load the codec.

BTW, it's transcoding because the client requested it. I see that it decided on a stream copy of the video but a transcode of the audio so perhaps the client cannot play the audio stream in this file.

Thank you for the explanation. All working !! :)