Jump to content

Remove Old Sync Data Failed


topdavis

Recommended Posts

topdavis

Any idea why I keep getting this error daily since 5/28/2021:

Remove Old Sync Data failed

Type definitions should start with a '{', expecting serialized type 'Foo`1', got string starting with:                                                   
   at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(ReadOnlySpan`1 strType, TypeConfig typeConfig, EmptyCtorDelegate ctorFn, KeyValuePair`2[] typeAccessors) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Common\DeserializeTypeRefJson.cs:line 173
   at ServiceStack.Text.Common.DeserializeType`1.StringToTypeContext.DeserializeJson(ReadOnlySpan`1 value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Common\DeserializeType.cs:line 58
   at ServiceStack.Text.Json.JsonReader`1.Parse(ReadOnlySpan`1 value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Json\JsonReader.Generic.cs:line 103
   at ServiceStack.Text.Json.JsonReader`1.Parse(String value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Json\JsonReader.Generic.cs:line 83
   at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\JsonSerializer.cs:line 47
   at NanoApi.File.Read[T]()
   at NanoApi.JsonFile`1.Delete(Predicate`1 lambda)
   at Emby.Kodi.SyncQueue.Data.DbRepo.DeleteOldData(Int64 dtl)
   at Emby.Kodi.SyncQueue.ScheduledTasks.FireRetentionTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Link to comment
Share on other sites

quickmic
On 7/4/2021 at 5:57 PM, topdavis said:

Any idea why I keep getting this error daily since 5/28/2021:


Remove Old Sync Data failed

Type definitions should start with a '{', expecting serialized type 'Foo`1', got string starting with:                                                   
   at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(ReadOnlySpan`1 strType, TypeConfig typeConfig, EmptyCtorDelegate ctorFn, KeyValuePair`2[] typeAccessors) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Common\DeserializeTypeRefJson.cs:line 173
   at ServiceStack.Text.Common.DeserializeType`1.StringToTypeContext.DeserializeJson(ReadOnlySpan`1 value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Common\DeserializeType.cs:line 58
   at ServiceStack.Text.Json.JsonReader`1.Parse(ReadOnlySpan`1 value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Json\JsonReader.Generic.cs:line 103
   at ServiceStack.Text.Json.JsonReader`1.Parse(String value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\Json\JsonReader.Generic.cs:line 83
   at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\JsonSerializer.cs:line 47
   at NanoApi.File.Read[T]()
   at NanoApi.JsonFile`1.Delete(Predicate`1 lambda)
   at Emby.Kodi.SyncQueue.Data.DbRepo.DeleteOldData(Int64 dtl)
   at Emby.Kodi.SyncQueue.ScheduledTasks.FireRetentionTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Could be a special charecter issue: 'Foo`1'  ->  "`"

Link to comment
Share on other sites

Under the server's data folder there should be a syncdata sub-folder. You could try deleting that, then restarting the server and see if that helps.

Link to comment
Share on other sites

  • 3 weeks later...
topdavis

I am so sorry I forgot to respond to this sooner, but deleting and restarting fixed the problem and it has not returned since doing so.

  • Thanks 1
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...