Jump to content

Docker


Luke

Recommended Posts

hurricanehrndz

I'm sorry but I don't know enough to help with openmedia vault

 

Sent from my ONEPLUS A3000 using Tapatalk

Link to comment
Share on other sites

Anybody seen or know how to resolve this?
 

:~$ docker exec emby-server restart
rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\\"restart\\\": executable file not found in $PATH\"\n"
Link to comment
Share on other sites

  • 2 weeks later...

Ubuntu 16

Docker

Emby 3.0.8500

582575f1bcd2b_Screenshot_4.png

 

Connection failure upon simple direct login within the network. Server is definitely running because I can access my media files via windows explorer from a box within the home network. I have no idea where my server logs are without access to my emby server dashboard. 

 

Everything was working fine until I updated/upgraded Ubuntu and emby server within docker. 

Link to comment
Share on other sites

Ubuntu 16

Docker

Emby 3.0.8500

582575f1bcd2b_Screenshot_4.png

 

Connection failure upon simple direct login within the network. Server is definitely running because I can access my media files via windows explorer from a box within the home network. I have no idea where my server logs are without access to my emby server dashboard. 

 

Everything was working fine until I updated/upgraded Ubuntu and emby server within docker. 

I figured it out. I ran out of disk space on my home directory. 

Edited by teivalp
Link to comment
Share on other sites

Ive been having a problem with the emby docker on unraid for the past few weeks

 

Library scanning seems to get stuck at around 27%. Scanning completes after a fresh update to the docker image, but any scan after that initial scan just gets stuck

 

I've seen a few threads about this already:

 

https://emby.media/community/index.php?/topic/41307-library-scan-stuck-at-10/

 

https://emby.media/community/index.php?/topic/39466-library-scan-getting-stuck-at-58/

 

In one of those cases the solution was to update ubuntu/mono, but that solution doesnt really work when using docker images for unraid

Link to comment
Share on other sites

There's an issue that's been identified with the library scan and music libraries causing it to get stuck, and this has been resolved for the next release of Emby Server. The workaround for now is disabling the music brainz metadata provider for albums and artists. Thanks.

Link to comment
Share on other sites

There are a lot of changes as we working towards compatibility with the new Microsoft .Net runtime for Docker which will eventually replace our use of Mono. Because of that we need a bit more time. The best way to help see it released faster is to spin up a test environment and try out the beta and report any anomalies that you find. Thanks !

Link to comment
Share on other sites

The fix doesn't seem to have worked. Ive disabled the provider for both albums and artists and scanning is still getting stuck (different % than before). What information can I provide to help diagnose this?

Link to comment
Share on other sites

  • 2 weeks later...
soniCron

Pulled "latest" just a bit ago, as well as the 2nd "latest" just a few minutes ago, and I'm getting this all over the logs: (identical in both versions pushed up in the last couple hours)

2016-11-29 17:29:43.6284 Info HttpServer: HTTP GET http://10.0.1.26:8096/emby/Items/6cd58c6c4eab1aede3b7a7049388bc00/Images/Primary?maxHeight=309&maxWidth=206&tag=52890234583d6e8144f94a2a930b5954&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
2016-11-29 17:29:43.6307 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/504
	ImageMagickSharp.WandException
	  at ImageMagickSharp.WandCore`1[T].CheckErrorBool (System.Int32 status) [0x00009] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand.OpenImage (System.String path) [0x0000d] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand..ctor (System.String path) [0x0003e] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage (System.String inputPath, System.String outputPath, System.Boolean autoOrient, System.Int32 width, System.Int32 height, System.Int32 quality, MediaBrowser.Controller.Drawing.ImageProcessingOptions options, MediaBrowser.Model.Drawing.ImageFormat selectedOutputFormat) [0x00028] in <873f3d8490664af2ad41c817bb70f386>:0 
	  at Emby.Drawing.ImageProcessor+<ProcessImage>c__async1.MoveNext () [0x005c7] in <873f3d8490664af2ad41c817bb70f386>:0 

Furthermore, ALL transcoding is completely broken on all Android devices tested. (FireTV, Nexus tablet, Nexus 5X) FFmpeg is running fine with no errors, but nothing ever plays, and of course the socket is closed when cancelling (explicitly or with auto-retry, as on the FireTV):

2016-11-29 17:37:33.3095 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source.
2016-11-29 17:37:34.1413 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: The socket has been shut down.
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at SocketHttpListener.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000bc] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at ServiceStack.Formats.HtmlFormat.SerializeToStream (ServiceStack.Web.IRequest req, System.Object response, ServiceStack.Web.IResponse res) [0x002e9] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (ServiceStack.Web.IResponse httpRes, ServiceStack.Web.IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, System.Int32 statusCode) [0x000ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.ServiceStackHost.HandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x00025] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HostContext.RaiseAndHandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x0001c] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException (System.Exception originalEx, ServiceStack.Web.IRequest request, ServiceStack.Web.IResponse response, System.String defaultContentType) [0x00008] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponse>d__6.MoveNext () [0x006ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__13.MoveNext () [0x0044d] in <d43033603ec44e2fb3eac944675e834e>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2016-11-29 17:37:34.1413 Info HttpServer: HTTP Response 500 to 10.0.1.217. Time: 59739ms (slow). http://10.0.1.26:8096/emby/videos/f7f9d26cc3f6185ccb816fe9db19251f/stream.mkv?DeviceId=961522b3be5c8396&MediaSourceId=f7f9d26cc3f6185ccb816fe9db19251f&VideoCodec=h264&AudioCodec=mp3,aac,ac3&AudioStreamIndex=1&VideoBitrate=808001&AudioBitrate=192000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=a2b9d2eaefbd4f2ab6a57bc3807eaaab&CopyTimestamps=false&SubtitleMethod=Encode&EnableSubtitlesInManifest=false&Tag=f5e546ad931e0388ac249a193daa412b&EnableSplittingOnNonKeyFrames=false
2016-11-29 17:37:44.1402 Info App: Transcoding kill timer stopped for JobId 6b7c34a456d44393b5f342e5c11721ac PlaySessionId a2b9d2eaefbd4f2ab6a57bc3807eaaab. Killing transcoding
2016-11-29 17:37:44.1402 Info App: Stopping ffmpeg process with q command for /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv
2016-11-29 17:37:44.2032 Info App: FFMpeg exited with code 0
2016-11-29 17:37:44.2032 Info App: Deleting partial stream file(s) /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv

This version is completely borked. I don't think it's a good idea to force an update of the Docker image if we can't get stable releases. This is dangerous. Now I can't run Emby on anything...?

 

Can I force it to pull a previous version..?

Link to comment
Share on other sites

hurricanehrndz

Sorry about this. I will start looking into the issue and thank you for reporting.

Pulled "latest" just a bit ago, as well as the 2nd "latest" just a few minutes ago, and I'm getting this all over the logs: (identical in both versions pushed up in the last couple hours)

2016-11-29 17:29:43.6284 Info HttpServer: HTTP GET http://10.0.1.26:8096/emby/Items/6cd58c6c4eab1aede3b7a7049388bc00/Images/Primary?maxHeight=309&maxWidth=206&tag=52890234583d6e8144f94a2a930b5954&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
2016-11-29 17:29:43.6307 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/504
	ImageMagickSharp.WandException
	  at ImageMagickSharp.WandCore`1[T].CheckErrorBool (System.Int32 status) [0x00009] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand.OpenImage (System.String path) [0x0000d] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand..ctor (System.String path) [0x0003e] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage (System.String inputPath, System.String outputPath, System.Boolean autoOrient, System.Int32 width, System.Int32 height, System.Int32 quality, MediaBrowser.Controller.Drawing.ImageProcessingOptions options, MediaBrowser.Model.Drawing.ImageFormat selectedOutputFormat) [0x00028] in <873f3d8490664af2ad41c817bb70f386>:0 
	  at Emby.Drawing.ImageProcessor+<ProcessImage>c__async1.MoveNext () [0x005c7] in <873f3d8490664af2ad41c817bb70f386>:0 

Furthermore, ALL transcoding is completely broken on all Android devices tested. (FireTV, Nexus tablet, Nexus 5X) FFmpeg is running fine with no errors, but nothing ever plays, and of course the socket is closed when cancelling (explicitly or with auto-retry, as on the FireTV):

2016-11-29 17:37:33.3095 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source.
2016-11-29 17:37:34.1413 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: The socket has been shut down.
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at SocketHttpListener.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000bc] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at ServiceStack.Formats.HtmlFormat.SerializeToStream (ServiceStack.Web.IRequest req, System.Object response, ServiceStack.Web.IResponse res) [0x002e9] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (ServiceStack.Web.IResponse httpRes, ServiceStack.Web.IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, System.Int32 statusCode) [0x000ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.ServiceStackHost.HandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x00025] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HostContext.RaiseAndHandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x0001c] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException (System.Exception originalEx, ServiceStack.Web.IRequest request, ServiceStack.Web.IResponse response, System.String defaultContentType) [0x00008] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponse>d__6.MoveNext () [0x006ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__13.MoveNext () [0x0044d] in <d43033603ec44e2fb3eac944675e834e>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2016-11-29 17:37:34.1413 Info HttpServer: HTTP Response 500 to 10.0.1.217. Time: 59739ms (slow). http://10.0.1.26:8096/emby/videos/f7f9d26cc3f6185ccb816fe9db19251f/stream.mkv?DeviceId=961522b3be5c8396&MediaSourceId=f7f9d26cc3f6185ccb816fe9db19251f&VideoCodec=h264&AudioCodec=mp3,aac,ac3&AudioStreamIndex=1&VideoBitrate=808001&AudioBitrate=192000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=a2b9d2eaefbd4f2ab6a57bc3807eaaab&CopyTimestamps=false&SubtitleMethod=Encode&EnableSubtitlesInManifest=false&Tag=f5e546ad931e0388ac249a193daa412b&EnableSplittingOnNonKeyFrames=false
2016-11-29 17:37:44.1402 Info App: Transcoding kill timer stopped for JobId 6b7c34a456d44393b5f342e5c11721ac PlaySessionId a2b9d2eaefbd4f2ab6a57bc3807eaaab. Killing transcoding
2016-11-29 17:37:44.1402 Info App: Stopping ffmpeg process with q command for /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv
2016-11-29 17:37:44.2032 Info App: FFMpeg exited with code 0
2016-11-29 17:37:44.2032 Info App: Deleting partial stream file(s) /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv

This version is completely borked. I don't think it's a good idea to force an update of the Docker image if we can't get stable releases. This is dangerous. Now I can't run Emby on anything...?

 

Can I force it to pull a previous version..?

Link to comment
Share on other sites

I also saw some errors in the image I pulled this evening. Something about missing folders. But I thought it was something on my install.

I'm also experiencing some strange issue. I can access emby from my computer at the right ip, but the container is broadcasting some odd IP to my TV. Like 172.10.0.1 and I can't login.

 

Enviado desde mi A0001 mediante Tapatalk

Link to comment
Share on other sites

hurricanehrndz

I also saw some errors in the image I pulled this evening. Something about missing folders. But I thought it was something on my install.

I'm also experiencing some strange issue. I can access emby from my computer at the right ip, but the container is broadcasting some odd IP to my TV. Like 172.10.0.1 and I can't login.

 

Enviado desde mi A0001 mediante Tapatalk

This seem very odd. More information is required, there is nothing in the changes that would affect on ip or folders missing. Can you please post the logs from within the container. 

docker cp emby-server:/config/logs/$(docker exec emby-server ls -lart /config/logs | tail -1 | awk '{print $9}') $HOME/emby.log

You should have in your home directory a file called emby.log please post.

Link to comment
Share on other sites

hurricanehrndz

Pulled "latest" just a bit ago, as well as the 2nd "latest" just a few minutes ago, and I'm getting this all over the logs: (identical in both versions pushed up in the last couple hours)

2016-11-29 17:29:43.6284 Info HttpServer: HTTP GET http://10.0.1.26:8096/emby/Items/6cd58c6c4eab1aede3b7a7049388bc00/Images/Primary?maxHeight=309&maxWidth=206&tag=52890234583d6e8144f94a2a930b5954&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
2016-11-29 17:29:43.6307 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/504
	ImageMagickSharp.WandException
	  at ImageMagickSharp.WandCore`1[T].CheckErrorBool (System.Int32 status) [0x00009] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand.OpenImage (System.String path) [0x0000d] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand..ctor (System.String path) [0x0003e] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage (System.String inputPath, System.String outputPath, System.Boolean autoOrient, System.Int32 width, System.Int32 height, System.Int32 quality, MediaBrowser.Controller.Drawing.ImageProcessingOptions options, MediaBrowser.Model.Drawing.ImageFormat selectedOutputFormat) [0x00028] in <873f3d8490664af2ad41c817bb70f386>:0 
	  at Emby.Drawing.ImageProcessor+<ProcessImage>c__async1.MoveNext () [0x005c7] in <873f3d8490664af2ad41c817bb70f386>:0 

Furthermore, ALL transcoding is completely broken on all Android devices tested. (FireTV, Nexus tablet, Nexus 5X) FFmpeg is running fine with no errors, but nothing ever plays, and of course the socket is closed when cancelling (explicitly or with auto-retry, as on the FireTV):

2016-11-29 17:37:33.3095 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source.
2016-11-29 17:37:34.1413 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: The socket has been shut down.
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at SocketHttpListener.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000bc] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at ServiceStack.Formats.HtmlFormat.SerializeToStream (ServiceStack.Web.IRequest req, System.Object response, ServiceStack.Web.IResponse res) [0x002e9] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (ServiceStack.Web.IResponse httpRes, ServiceStack.Web.IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, System.Int32 statusCode) [0x000ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.ServiceStackHost.HandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x00025] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HostContext.RaiseAndHandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x0001c] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException (System.Exception originalEx, ServiceStack.Web.IRequest request, ServiceStack.Web.IResponse response, System.String defaultContentType) [0x00008] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponse>d__6.MoveNext () [0x006ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__13.MoveNext () [0x0044d] in <d43033603ec44e2fb3eac944675e834e>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2016-11-29 17:37:34.1413 Info HttpServer: HTTP Response 500 to 10.0.1.217. Time: 59739ms (slow). http://10.0.1.26:8096/emby/videos/f7f9d26cc3f6185ccb816fe9db19251f/stream.mkv?DeviceId=961522b3be5c8396&MediaSourceId=f7f9d26cc3f6185ccb816fe9db19251f&VideoCodec=h264&AudioCodec=mp3,aac,ac3&AudioStreamIndex=1&VideoBitrate=808001&AudioBitrate=192000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=a2b9d2eaefbd4f2ab6a57bc3807eaaab&CopyTimestamps=false&SubtitleMethod=Encode&EnableSubtitlesInManifest=false&Tag=f5e546ad931e0388ac249a193daa412b&EnableSplittingOnNonKeyFrames=false
2016-11-29 17:37:44.1402 Info App: Transcoding kill timer stopped for JobId 6b7c34a456d44393b5f342e5c11721ac PlaySessionId a2b9d2eaefbd4f2ab6a57bc3807eaaab. Killing transcoding
2016-11-29 17:37:44.1402 Info App: Stopping ffmpeg process with q command for /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv
2016-11-29 17:37:44.2032 Info App: FFMpeg exited with code 0
2016-11-29 17:37:44.2032 Info App: Deleting partial stream file(s) /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv

This version is completely borked. I don't think it's a good idea to force an update of the Docker image if we can't get stable releases. This is dangerous. Now I can't run Emby on anything...?

 

Can I force it to pull a previous version..?

Thank you again for your feedback. Your logs definitely show an error with the current imagemagick library. A fix has been tested and confirm to fix that one particular issue. I will be propagating the fix down the repos asap. Thank you again for reporting your issues.

Link to comment
Share on other sites

hurricanehrndz

@@soniCron

 

Fix for the image issue has been released. New docker images should be up. In terms of the other error, it could be the specific file you are trying to play. The error mentions there is something wrong with the header of the particular file you are trying to play. Please if you get a chance test another file and report back.

Link to comment
Share on other sites

Pulled "latest" just a bit ago, as well as the 2nd "latest" just a few minutes ago, and I'm getting this all over the logs: (identical in both versions pushed up in the last couple hours)

2016-11-29 17:29:43.6284 Info HttpServer: HTTP GET http://10.0.1.26:8096/emby/Items/6cd58c6c4eab1aede3b7a7049388bc00/Images/Primary?maxHeight=309&maxWidth=206&tag=52890234583d6e8144f94a2a930b5954&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
2016-11-29 17:29:43.6307 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/504
	ImageMagickSharp.WandException
	  at ImageMagickSharp.WandCore`1[T].CheckErrorBool (System.Int32 status) [0x00009] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand.OpenImage (System.String path) [0x0000d] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at ImageMagickSharp.MagickWand..ctor (System.String path) [0x0003e] in <256b1c1ea9f54fe39d5f58f7aa82a335>:0 
	  at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage (System.String inputPath, System.String outputPath, System.Boolean autoOrient, System.Int32 width, System.Int32 height, System.Int32 quality, MediaBrowser.Controller.Drawing.ImageProcessingOptions options, MediaBrowser.Model.Drawing.ImageFormat selectedOutputFormat) [0x00028] in <873f3d8490664af2ad41c817bb70f386>:0 
	  at Emby.Drawing.ImageProcessor+<ProcessImage>c__async1.MoveNext () [0x005c7] in <873f3d8490664af2ad41c817bb70f386>:0 

Furthermore, ALL transcoding is completely broken on all Android devices tested. (FireTV, Nexus tablet, Nexus 5X) FFmpeg is running fine with no errors, but nothing ever plays, and of course the socket is closed when cancelling (explicitly or with auto-retry, as on the FireTV):

2016-11-29 17:37:33.3095 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source.
2016-11-29 17:37:34.1413 Error ServiceStackHost: Error occured while Processing Request: Unable to write data to the transport connection: The socket has been shut down.
	*** Error Report ***
	Version: 3.0.8500.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.4.0.47
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /config
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 15:56:40 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Unable to write data to the transport connection: The socket has been shut down.
	System.IO.IOException
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at SocketHttpListener.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at SocketHttpListener.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000bc] in <33c4fa8b218e4df9a8fbe6eca87be836>:0 
	  at ServiceStack.Formats.HtmlFormat.SerializeToStream (ServiceStack.Web.IRequest req, System.Object response, ServiceStack.Web.IResponse res) [0x002e9] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (ServiceStack.Web.IResponse httpRes, ServiceStack.Web.IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, System.Int32 statusCode) [0x000ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.ServiceStackHost.HandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x00025] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HostContext.RaiseAndHandleUncaughtException (ServiceStack.Web.IRequest httpReq, ServiceStack.Web.IResponse httpRes, System.String operationName, System.Exception ex) [0x0001c] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal.HandleResponseWriteException (System.Exception originalEx, ServiceStack.Web.IRequest request, ServiceStack.Web.IResponse response, System.String defaultContentType) [0x00008] in <d43033603ec44e2fb3eac944675e834e>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponse>d__6.MoveNext () [0x006ba] in <d43033603ec44e2fb3eac944675e834e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__13.MoveNext () [0x0044d] in <d43033603ec44e2fb3eac944675e834e>:0 
	InnerException: System.Net.Sockets.SocketException
	The socket has been shut down
	  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2016-11-29 17:37:34.1413 Info HttpServer: HTTP Response 500 to 10.0.1.217. Time: 59739ms (slow). http://10.0.1.26:8096/emby/videos/f7f9d26cc3f6185ccb816fe9db19251f/stream.mkv?DeviceId=961522b3be5c8396&MediaSourceId=f7f9d26cc3f6185ccb816fe9db19251f&VideoCodec=h264&AudioCodec=mp3,aac,ac3&AudioStreamIndex=1&VideoBitrate=808001&AudioBitrate=192000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=a2b9d2eaefbd4f2ab6a57bc3807eaaab&CopyTimestamps=false&SubtitleMethod=Encode&EnableSubtitlesInManifest=false&Tag=f5e546ad931e0388ac249a193daa412b&EnableSplittingOnNonKeyFrames=false
2016-11-29 17:37:44.1402 Info App: Transcoding kill timer stopped for JobId 6b7c34a456d44393b5f342e5c11721ac PlaySessionId a2b9d2eaefbd4f2ab6a57bc3807eaaab. Killing transcoding
2016-11-29 17:37:44.1402 Info App: Stopping ffmpeg process with q command for /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv
2016-11-29 17:37:44.2032 Info App: FFMpeg exited with code 0
2016-11-29 17:37:44.2032 Info App: Deleting partial stream file(s) /config/transcoding-temp/19bde7f705486a05b24c22bbe47e22f5.mkv

This version is completely borked. I don't think it's a good idea to force an update of the Docker image if we can't get stable releases. This is dangerous. Now I can't run Emby on anything...?

 

Can I force it to pull a previous version..?

 

Hi, please attach complete log files so that we can see the entire picture. This is the same stable release you were using before so I don't think any new problem has been created. I'm sure there is an explanation. Thanks.

Link to comment
Share on other sites

I also saw some errors in the image I pulled this evening. Something about missing folders. But I thought it was something on my install.

I'm also experiencing some strange issue. I can access emby from my computer at the right ip, but the container is broadcasting some odd IP to my TV. Like 172.10.0.1 and I can't login.

 

Enviado desde mi A0001 mediante Tapatalk

 

In order to best help you with that, please provide the information requested in how to report a problem. Thanks !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...