Skip to content

Selfhosted upgrade from 8.8.2 to 8.8.4 fails #2551

Description

@ivarreflex

Hello! We are selfhosting exceptionless and currently run version 8.8.2. The upgrade to version 8.8.4 throws the exception below. What can we do to fix this issue?

Let me know if you need more information.

[06:34:32 ERR] Error running DataSeedService startup action: The JSON value could not be converted to Exceptionless.Core.Models.SavedViewColumnSettings. Path: $.columns.level \| LineNumber: 0 \| BytePositionInLine: 472. <StartupActions>
--
Elastic.Transport.UnexpectedTransportException: The JSON value could not be converted to Exceptionless.Core.Models.SavedViewColumnSettings. Path: $.columns.level \| LineNumber: 0 \| BytePositionInLine: 472.
---> System.Text.Json.JsonException: The JSON value could not be converted to Exceptionless.Core.Models.SavedViewColumnSettings. Path: $.columns.level \| LineNumber: 0 \| BytePositionInLine: 472.
at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
at System.Text.Json.Serialization.JsonDictionaryConverter`3.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TDictionary& value)
at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Deserialize(Utf8JsonReader& reader, ReadStack& state)
at System.Text.Json.JsonSerializer.Read[TValue](Utf8JsonReader& reader, JsonTypeInfo`1 jsonTypeInfo)
at Elastic.Transport.Extensions.TransportSerializerExtensions.Deserialize[T](Serializer serializer, Utf8JsonReader& reader, MemoryStreamFactory memoryStreamFactory)
at Elastic.Clients.Elasticsearch.Serialization.SourceConverter`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in /_/src/Elastic.Clients.Elasticsearch/_Shared/Next/SourceConverter.cs:line 83
at Elastic.Clients.Elasticsearch.Core.Search.Json.HitConverter`1.<>c.<Read>b__20_11(Utf8JsonReader& r, JsonSerializerOptions o) in /_/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.Converters.g.cs:line 164
at Elastic.Clients.Elasticsearch.Core.Search.Json.HitConverter`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in /_/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.Converters.g.cs:line 164
at Elastic.Clients.Elasticsearch.Serialization.JsonReaderExtensions.<>c__12`1.<ReadCollectionValue>b__12_0(Utf8JsonReader& r, JsonSerializerOptions o) in /_/src/Elastic.Clients.Elasticsearch/_Shared/Next/JsonReaderExtensions.cs:line 349
at Elastic.Clients.Elasticsearch.Serialization.JsonReaderExtensions.ReadCollectionValue[T](Utf8JsonReader& reader, JsonSerializerOptions options, JsonReadFunc`1 readElement) in /_/src/Elastic.Clients.Elasticsearch/_Shared/Next/JsonReaderExtensions.cs:line 355
at Elastic.Clients.Elasticsearch.Core.Search.Json.HitsMetadataConverter`1.<>c.<Read>b__3_0(Utf8JsonReader& r, JsonSerializerOptions o) in /_/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/HitsMetadata.Converters.g.cs:line 40
at Elastic.Clients.Elasticsearch.Core.Search.Json.HitsMetadataConverter`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in /_/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/HitsMetadata.Converters.g.cs:line 40
at Elastic.Clients.Elasticsearch.Serialization.JsonReaderExtensions.<>c__22`1.<TryReadProperty>b__22_0(Utf8JsonReader& r, JsonSerializerOptions o) in /_/src/Elastic.Clients.Elasticsearch/_Shared/Next/JsonReaderExtensions.cs:line 719
at Elastic.Clients.Elasticsearch.Json.SearchResponseConverter`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in /_/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchResponse.Converters.g.cs:line 77
at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize[TReadBufferState,TStream](TReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, T& value)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync[TReadBufferState,TStream](TStream utf8Json, TReadBufferState bufferState, CancellationToken cancellationToken)
at Elastic.Transport.SystemTextJsonSerializer.DeserializeAsync[T](Stream stream, CancellationToken cancellationToken)
at Elastic.Transport.Products.Elasticsearch.ElasticsearchResponseBuilder.SetBodyCoreAsync[TResponse](Boolean isAsync, ApiCallDetails details, BoundConfiguration boundConfiguration, Stream responseStream, CancellationToken cancellationToken)
at Elastic.Transport.DefaultResponseFactory.CreateCoreAsync[TResponse](Boolean isAsync, Endpoint endpoint, BoundConfiguration boundConfiguration, PostData postData, Exception ex, Nullable`1 statusCode, Dictionary`2 headers, Stream responseStream, String contentType, Int64 contentLength, IReadOnlyDictionary`2 threadPoolStats, IReadOnlyDictionary`2 tcpStats, CancellationToken cancellationToken)
at Elastic.Transport.HttpRequestInvoker.RequestCoreAsync[TResponse](Boolean isAsync, Endpoint endpoint, BoundConfiguration boundConfiguration, PostData postData, CancellationToken cancellationToken)
at Elastic.Transport.RequestPipeline.CallProductEndpointCoreAsync[TResponse](Boolean isAsync, Endpoint endpoint, BoundConfiguration boundConfiguration, PostData postData, Auditor auditor, CancellationToken cancellationToken)
at Elastic.Transport.DistributedTransport`1.RequestCoreAsync[TResponse](Boolean isAsync, EndpointPath path, PostData data, Action`1 configureActivity, IRequestConfiguration localConfiguration, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Elastic.Transport.DistributedTransport`1.RequestCoreAsync[TResponse](Boolean isAsync, EndpointPath path, PostData data, Action`1 configureActivity, IRequestConfiguration localConfiguration, CancellationToken cancellationToken)
at Foundatio.Repositories.Elasticsearch.ElasticReadOnlyRepositoryBase`1.FindAsAsync[TResult](IRepositoryQuery query, ICommandOptions options) in /_/src/Foundatio.Repositories.Elasticsearch/Repositories/ElasticReadOnlyRepositoryBase.cs:line 487
at Exceptionless.Core.Seed.PredefinedSavedViewsDataSeed.<>c__DisplayClass10_0.<<SeedAsync>b__0>d.MoveNext() in /app/src/Exceptionless.Core/Seed/PredefinedSavedViewsDataSeed.cs:line 44
--- End of stack trace from previous location ---
at Foundatio.Lock.LockProviderExtensions.TryUsingAsync(ILockProvider locker, String resource, Func`1 work, Nullable`1 timeUntilExpires, Nullable`1 acquireTimeout) in /_/src/Foundatio/Lock/ILockProvider.cs:line 258
at Foundatio.Lock.LockProviderExtensions.TryUsingAsync(ILockProvider locker, String resource, Func`1 work, Nullable`1 timeUntilExpires, Nullable`1 acquireTimeout) in /_/src/Foundatio/Lock/ILockProvider.cs:line 262
at Foundatio.Lock.LockProviderExtensions.TryUsingAsync(ILockProvider locker, String resource, Func`1 work, Nullable`1 timeUntilExpires, Nullable`1 acquireTimeout) in /_/src/Foundatio/Lock/ILockProvider.cs:line 265
at Exceptionless.Core.Seed.DataSeedService.SeedAsync(CancellationToken cancellationToken) in /app/src/Exceptionless.Core/Seed/DataSeedService.cs:line 43
at Exceptionless.Core.Seed.DataSeedService.RunAsync(CancellationToken shutdownToken) in /app/src/Exceptionless.Core/Seed/DataSeedService.cs:line 33
at Foundatio.Extensions.Hosting.Startup.StartupActionRegistration.RunAsync(IServiceProvider serviceProvider, CancellationToken shutdownToken) in /_/src/Foundatio.Extensions.Hosting/Startup/StartupActionRegistration.cs:line 55
at Foundatio.Extensions.Hosting.Startup.StartupExtensions.<>c__DisplayClass0_1.<<RunStartupActionsAsync>b__3>d.MoveNext() in /_/src/Foundatio.Extensions.Hosting/Startup/StartupExtensions.cs:line 59

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions