Skip to content

Unable to migrate sites #573

@bobharing

Description

@bobharing

Brief bug description

When running the migration tool I'm getting the following error:
fail: Kentico.Xperience.UMT.Services.Importer[0] Entity persistence failed CMS.DataEngine.InfoObjectException: Cannot set info object, domain validation failed (Field name: WebsiteChannelDomain): Enter a valid hostname or IP address as the Website domain, e.g., "example.com". May contain uppercase or lowercase letters, digits, and hyphens (-). May optionally include a port number or a specific URL path. Must contain at least one dot character (except for the "localhost" domain). Cannot contain a trailing slash (/). at CMS.DataEngine.AbstractInfoProvider3.ValidateSetInfoAndThrow(TInfo info) at CMS.DataEngine.AbstractInfoProvider3.SetInfoSyncOrAsync(Boolean useAsync, TInfo info, CancellationToken cancellationToken) at CMS.DataEngine.AbstractInfoProvider3.SetInfo(TInfo info) at CMS.DataEngine.AbstractInfoProvider2.Set(TInfo info) at Kentico.Xperience.UMT.ProviderProxy.ProviderProxy1.Save(TInfo info, IUmtModel model) at Kentico.Xperience.UMT.ProviderProxy.ProviderProxy1.Save(BaseInfo info, IUmtModel model) at Kentico.Xperience.UMT.Services.Importer.ImportObject(IUmtModel model, IProviderProxyContext providerProxyContext)

Output logs

fail: Kentico.Xperience.UMT.Services.Importer[0] Entity persistence failed CMS.DataEngine.InfoObjectException: Cannot set info object, domain validation failed (Field name: WebsiteChannelDomain): Enter a valid hostname or IP address as the Website domain, e.g., "example.com". May contain uppercase or lowercase letters, digits, and hyphens (-). May optionally include a port number or a specific URL path. Must contain at least one dot character (except for the "localhost" domain). Cannot contain a trailing slash (/). at CMS.DataEngine.AbstractInfoProvider3.ValidateSetInfoAndThrow(TInfo info) at CMS.DataEngine.AbstractInfoProvider3.SetInfoSyncOrAsync(Boolean useAsync, TInfo info, CancellationToken cancellationToken) at CMS.DataEngine.AbstractInfoProvider3.SetInfo(TInfo info) at CMS.DataEngine.AbstractInfoProvider2.Set(TInfo info) at Kentico.Xperience.UMT.ProviderProxy.ProviderProxy1.Save(TInfo info, IUmtModel model) at Kentico.Xperience.UMT.ProviderProxy.ProviderProxy1.Save(BaseInfo info, IUmtModel model) at Kentico.Xperience.UMT.Services.Importer.ImportObject(IUmtModel model, IProviderProxyContext providerProxyContext)

Repro steps

  1. Perform all the setup needed for migration
  2. Run the command .\Migration.Tool.CLI.exe migrate --sites

Expected behavior

Sites to be correctly migrated

Test environment

  • Platform/OS: .NET 8
  • Version:: Kentico v13.0.189 to XbyK 31.0.2 migration

Screenshots

Site setup in K13:

Image

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