Jump to content

Sometimes emby server doesn't start (exception)


Recommended Posts

Posted

Hi,

 

I'm new to emby. I installed the emby server (latest stable version 3.0.5913.0) on a debian (jessie) system and enabled it for automatic start at boot ("systemctl enable emby-server.service"). The debian server is not running all the time, it's only boot-up when required. Most times the emby server starts correctly on boot-up, but sometimes not :(

 

Sometimes emby gets an exception on start and exits. It's always the same exception:

Collection was modified; enumeration operation may not execute.
System.InvalidOperationException
  at System.ThrowHelper.ThrowInvalidOperationException (ExceptionResource resource) <0x7f6cd1160fd0 + 0x00021> in <filename unknown>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () <0x7f6cd0ff0fd0 + 0x00028> in <filename unknown>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () <0x7f6cd0ff0f10 + 0x00093> in <filename unknown>:0 
  at System.Linq.Enumerable+<SelectManyIterator>c__Iterator2`2[TSource,TResult].MoveNext () <0x41436680 + 0x00371> in <filename unknown>:0 
  at System.Collections.Generic.List`1[T]..ctor (IEnumerable`1 collection) <0x7f6cd0fedc70 + 0x001fb> in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[TSource] (IEnumerable`1 source) <0x410a8690 + 0x00070> in <filename unknown>:0 
  at MediaBrowser.Dlna.Ssdp.SsdpHandler.get_RegisteredDevices () <0x414346d0 + 0x000af> in <filename unknown>:0 
  at MediaBrowser.Dlna.Ssdp.SsdpHandler.IgnoreMessage (MediaBrowser.Controller.Dlna.SsdpMessageEventArgs args, Boolean isMulticast) <0x41433c70 + 0x00087> in <filename unknown>:0 
  at MediaBrowser.Dlna.Ssdp.SsdpHandler+<OnMessageReceived>c__async0.MoveNext () <0x41435f60 + 0x00093> in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f6cd10ab6d0 + 0x00029> in <filename unknown>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (System.Object state) <0x7f6cd10a8ee0 + 0x00041> in <filename unknown>:0 
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) <0x7f6cd115f720 + 0x00048> in <filename unknown>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0x7f6cd1159850 + 0x0016e> in <filename unknown>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0x7f6cd1159820 + 0x00020> in <filename unknown>:0 
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x7f6cd115f6b0 + 0x00053> in <filename unknown>:0 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x7f6cd115dcc0 + 0x001d6> in <filename unknown>:0 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x7f6cd115f530 + 0x00008> in <filename unknown>:0 


What causes this exception and what can I do to get emby to start reliable?

 

Posted

This exception has been resolved for the next server release.

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...