Jump to content

3.0.5588.1 - Sync Fails / Type Definitions Should Start with {


jhoff80
Go to solution Solved by Luke,

Recommended Posts

jhoff80

I haven't changed anything in days, but just noticed today my server is freaking out.  I get an error during sync, that also occurs when I try to browse the movie section of my collection.  My movie collection also now shows as empty, despite having the files and metadata still present in the folders.

2015-04-25 01:28:11.4883 Error - App: Error
*** Error Report ***
Version: 3.0.5588.1
Command line: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe -service
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 8
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
Type definitions should start with a '{', expecting serialized type 'Movie', got string starting with: "{\"SpecialFeatureIds\":[],\"SoundtrackIds\":[],\"
System.Runtime.Serialization.SerializationException
   at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(TypeConfig typeConfig, String strType, EmptyCtorDelegate ctorFn, Dictionary`2 typeAccessorMap)
   at ServiceStack.Text.Common.DeserializeType`1.<>c__DisplayClass3.<GetParseMethod>b__1(String value)
   at ServiceStack.Text.JsonSerializer.DeserializeFromString(String value, Type type)
   at ServiceStack.Text.JsonSerializer.DeserializeFromStream(Type type, Stream stream)
   at MediaBrowser.Common.Implementations.Serialization.JsonSerializer.DeserializeFromStream(Stream stream, Type type)
   at MediaBrowser.Server.Implementations.Persistence.SqliteItemRepository.GetItem(IDataReader reader)
   at MediaBrowser.Server.Implementations.Persistence.SqliteItemRepository.<GetChildrenItems>d__11.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at MediaBrowser.Controller.Entities.Folder.get_ActualChildren()
   at MediaBrowser.Controller.Entities.Folder.GetActualChildrenDictionary()
   at MediaBrowser.Controller.Entities.Folder.<ValidateChildrenInternal>d__ba.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MediaBrowser.Controller.Entities.Folder.<ValidateSubFolders>d__e3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at MediaBrowser.Controller.Entities.Folder.<ValidateChildrenInternal>d__ba.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at MediaBrowser.Server.Implementations.Library.LibraryManager.<PerformLibraryValidation>d__5b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MediaBrowser.Server.Implementations.Library.LibraryManager.<ValidateMediaLibraryInternal>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__c.MoveNext()

2015-04-25 01:28:11.4883 Info - App: Scan media library Failed after 0 minute(s) and 8 seconds
Edited by jhoff80
Link to comment
Share on other sites

  • Solution

looks like somehow you have some database corruption. you'll have to stop the server and delete your library.db file

  • Like 1
Link to comment
Share on other sites

  • 6 months later...
NomadCF

Just an FYI same thing here. And it started just after after the last update.

2015-11-08 00:22:01.5266 Error - App: Error
	*** Error Report ***
	Version: 3.0.5781.0
	Command line: C:\Users\Gaming\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Gaming\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Gaming\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Type definitions should start with a '{', expecting serialized type 'MediaSourceInfo', got string starting with: "{\"Protocol\":"File",\"Id\":"a8c4dc18c09a8de00dd5
	System.Runtime.Serialization.SerializationException
	   at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(TypeConfig typeConfig, String strType, EmptyCtorDelegate ctorFn, Dictionary`2 typeAccessorMap)
	   at ServiceStack.Text.Common.DeserializeType`1.<>c__DisplayClass3.<GetParseMethod>b__1(String value)
	   at ServiceStack.Text.Json.JsonReader`1.Parse(String value)
	   at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value)
	   at MediaBrowser.Common.Implementations.Serialization.JsonSerializer.DeserializeFromString[T](String text)
	   at MediaBrowser.Server.Implementations.Sync.SyncRepository.GetJobItem(IDataReader reader)
	   at MediaBrowser.Server.Implementations.Sync.SyncRepository.GetJobItemReader[T](SyncJobItemQuery query, String baseSelectText, Func`2 itemFactory)
	   at MediaBrowser.Server.Implementations.Sync.SyncRepository.GetJobItems(SyncJobItemQuery query)
	   at MediaBrowser.Server.Implementations.Sync.SyncManager.GetJobItems(SyncJobItemQuery query)
	   at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<EnsureJobItems>d__b.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<EnsureSyncJobItems>d__46.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<Sync>d__4e.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__c.MoveNext()
	
2015-11-08 00:22:01.5266 Info - App: Convert media Failed after 0 minute(s) and 1 seconds
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...