Jump to content

Server Update check fails - "Index was outside the bounds of the array"


Recommended Posts

Posted

On restarting my STABLE Emby server, I'm getting a failure checking for updates.

 

It's also failing when run manually.

 

2017-07-14 11:24:46.9514 Info TaskManager: Executing Check for application updates
2017-07-14 11:24:46.9514 Debug JsonSerializer: Deserializing file C:\Users\Media\AppData\Roaming\MediaBrowser-Server\data\devices\65ab8238e782de927a75186263d931bf\device.json
2017-07-14 11:24:46.9674 Info InstallationManager: Opening C:\Users\Media\AppData\Roaming\MediaBrowser-Server\cache\serverpackages.json
2017-07-14 11:24:47.0394 Debug JsonSerializer: Deserializing file C:\Users\Media\AppData\Roaming\MediaBrowser-Server\data\devices\65c0af3d4b8f12b0bd0e76db0c754823\device.json
2017-07-14 11:24:47.0394 Info HttpClient: Checking for cache file C:\Users\Media\AppData\Roaming\MediaBrowser-Server\cache\httpclient\f70ca6622474da8168a3b6c06f651a16
2017-07-14 11:24:47.0834 Debug JsonSerializer: Deserializing file C:\Users\Media\AppData\Roaming\MediaBrowser-Server\data\devices\6781a41762847163d5943f13ec67b946\device.json
2017-07-14 11:24:47.0984 Debug JsonSerializer: Deserializing file C:\Users\Media\AppData\Roaming\MediaBrowser-Server\data\devices\67e935c3c29aa19f227310d746b8f6d9\device.json
2017-07-14 11:24:47.0984 Error TaskManager: Error
	*** Error Report ***
	Version: 3.2.24.0
	Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 2
	Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
	Application directory: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System
	System.IndexOutOfRangeException: Index was outside the bounds of the array.
	   at ServiceStack.Text.Json.JsonTypeSerializer.ParseString(String json, Int32& index)
	   at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(TypeConfig typeConfig, String strType, EmptyCtorDelegate ctorFn, Dictionary`2 typeAccessorMap)
	   at ServiceStack.Text.Common.DeserializeArrayWithElements`2.ParseGenericArray(String value, ParseStringDelegate elementParseFn)
	   at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value)
	   at ServiceStack.Text.JsonSerializer.DeserializeFromStream[T](Stream stream)
	   at MediaBrowser.Common.Updates.GithubUpdater.<CheckForUpdateResult>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Core.ApplicationHost.<CheckForApplicationUpdate>d__258.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.ScheduledTasks.SystemUpdateTask.<Execute>d__11.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	System.IndexOutOfRangeException
	   at ServiceStack.Text.Json.JsonTypeSerializer.ParseString(String json, Int32& index)
	   at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(TypeConfig typeConfig, String strType, EmptyCtorDelegate ctorFn, Dictionary`2 typeAccessorMap)
	   at ServiceStack.Text.Common.DeserializeArrayWithElements`2.ParseGenericArray(String value, ParseStringDelegate elementParseFn)
	   at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value)
	   at ServiceStack.Text.JsonSerializer.DeserializeFromStream[T](Stream stream)
	   at MediaBrowser.Common.Updates.GithubUpdater.<CheckForUpdateResult>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Core.ApplicationHost.<CheckForApplicationUpdate>d__258.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.ScheduledTasks.SystemUpdateTask.<Execute>d__11.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2017-07-14 11:24:47.0984 Info TaskManager: Check for application updates Failed after 0 minute(s) and 0 seconds

Any ideas please?

Posted

Was this installation reverted from a previous beta or always been stable?

Posted

Was this installation reverted from a previous beta or always been stable?

No, it's been on stable for several months.

 

Before I posted, it did seem to go through an initial setup, as I lost the supporter status.

 

I'll reinstall stable again when I can.

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