Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arjun Singh 15 posts 86 karma points
    Feb 23, 2024 @ 10:33
    Arjun Singh
    0

    Umbraco NuCache issue | migration = 8.18.13 to 9.4.3

    hi guys , we are in a phase to migrate umbraco from 7.3.8 to latest (13) which has 50+ sites content.

    we are successful till 8.18.13 , however while migrating to 9.4.3 (which supports legacy membership provider for user login ) we are getting below error after data migration

    > NotSupportedException: Variation "<null>,<null>" is not supported by
    > the property type. Umbraco.Cms.Core.Models.Property.SetValue(object
    > value, string culture, string segment)
    > Umbraco.Cms.Infrastructure.Persistence.Factories.ContentBaseFactory.BuildEntity(MemberDto
    > dto, IMemberType contentType)
    > Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.MemberRepository.MapDtosToContent(List<MemberDto>
    > dtos, bool withCache)
    > Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.MemberRepository.GetPage(IQuery<IMember>
    > query, long pageIndex, int pageSize, out long totalRecords,
    > IQuery<IMember> filter, Ordering ordering)
    > Umbraco.Cms.Infrastructure.PublishedCache.Persistence.NuCacheContentRepository.RebuildMemberDbCache(IContentCacheDataSerializer
    > serializer, int groupSize, IReadOnlyCollection<int> contentTypeIds)
    > Umbraco.Cms.Infrastructure.PublishedCache.Persistence.NuCacheContentService.Rebuild(IReadOnlyCollection<int>
    > contentTypeIds, IReadOnlyCollection<int> mediaTypeIds,
    > IReadOnlyCollection<int> memberTypeIds)
    > Umbraco.Cms.Infrastructure.PublishedCache.Persistence.NuCacheContentService.RebuildDatabaseCacheIfSerializerChanged()
    > Umbraco.Cms.Core.Events.EventAggregator.PublishCore(IEnumerable<Action<INotification>>
    > allHandlers, INotification notification)
    > Umbraco.Cms.Core.Events.NotificationHandlerWrapperImpl<TNotification>.Handle(INotification
    > notification, ServiceFactory serviceFactory,
    > Action<IEnumerable<Action<INotification>>, INotification> publish)
    > Umbraco.Cms.Core.Events.EventAggregator.PublishAsync<TNotification>(TNotification
    > notification, CancellationToken cancellationToken)
    > Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken
    > cancellationToken, bool isRestarting)
    > Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken
    > cancellationToken)
    > Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken
    > cancellationToken)
    > Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost
    > host, CancellationToken token)
    > Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost
    > host, CancellationToken token)
    > Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost
    > host) cms9.Program.Main(string[] args) in Program.cs
    
    
        "NuCacheSerializerType": {
          "description": "The serializer type that nucache uses to persist documents in the database.\n            ",
          "default": "JSON",
          "oneOf": [
            {
              "$ref": "#/definitions/UmbracoCmsCoreConfigurationModelsNuCacheSerializerType"
            }
          ]
        },
        "UsePagedSqlQuery": {
          "type": "boolean",
          "default": false
        }
    
  • Arjun Singh 15 posts 86 karma points
    Feb 27, 2024 @ 04:18
    Arjun Singh
    0

    if we set the app.settings.schema.json values for serializer as blank then issue will not come.

    "NuCacheSerializerType": { "description": "The serializer type that nucache uses to persist documents in the database.\n ", "default": "" },

Please Sign in or register to post replies

Write your reply to:

Draft