I’ve used the connection details from the Umbraco Cloud portal and SSMS to deploy the content of the live database to my local SQL server. Once connected when I try to run the site I get the following:
[15:11:07 INF] Acquiring MainDom.
[15:11:07 INF] Acquired MainDom.
[15:11:09 INF] Starting 'UrlTracker'...
[15:11:09 INF] At 3.4
[15:11:09 INF] Done
[15:11:09 INF] Starting 'Umbraco.Engage.Forms'...
[15:11:09 INF] At CreateAnalyticsUmbracoFormsSubmissionRecordTable
[15:11:09 INF] Done
[15:11:09 INF] Starting 'Umbraco.Engage'...
[15:11:09 INF] At ModifySegmentControlGroupSize
[15:11:09 ERRUnhandled exception. ] Unhandled exception in AppDomain (terminating).
System.InvalidOperationException: The migration plan does not support migrating from state "ModifySegmentControlGroupSize".
at Umbraco.Cms.Infrastructure.Migrations.MigrationPlan.ThrowOnUnknownInitialState(String state)
at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunMigrationPlan(MigrationPlan plan, String fromState)
at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.ExecutePlan(MigrationPlan plan, String fromState)
at Umbraco.Cms.Infrastructure.Migrations.Upgrade.Upgrader.Execute(IMigrationPlanExecutor migrationPlanExecutor, ICoreScopeProvider scopeProvider, IKeyValueService keyValueService)
at Umbraco.Engage.Data.Common.Migrations.MigrationPlanExecuter.Execute(MigrationPlan plan, Boolean ignoreExceptions) in /_/Umbraco.Engage.Data/Common/Migrations/MigrationPlanExecuter.cs:line 40
at Umbraco.Engage.Web.Migrations.UmsMigrationsComponent.Initialize() in /_/Umbraco.Engage.Web/Migrations/UmsMigrationsComponent.cs:line 73
at Umbraco.Cms.Core.Composing.ComponentCollection.Initialize()
at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken, Boolean isRestarting)
at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken)
at Umbraco.Extensions.WebApplicationExtensions.BootUmbracoAsync(WebApplication app)
at Program.<Main>$(String[] args) in C:\...\src\UmbracoProject\Program.cs:line 55
at Program.<Main>(String[] args)
System.InvalidOperationException: The migration plan does not support migrating from state "ModifySegmentControlGroupSize".
at Umbraco.Cms.Infrastructure.Migrations.MigrationPlan.ThrowOnUnknownInitialState(String state)
at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunMigrationPlan(MigrationPlan plan, String fromState)
at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.ExecutePlan(MigrationPlan plan, String fromState)
at Umbraco.Cms.Infrastructure.Migrations.Upgrade.Upgrader.Execute(IMigrationPlanExecutor migrationPlanExecutor, ICoreScopeProvider scopeProvider, IKeyValueService keyValueService)
at Umbraco.Engage.Data.Common.Migrations.MigrationPlanExecuter.Execute(MigrationPlan plan, Boolean ignoreExceptions) in /_/Umbraco.Engage.Data/Common/Migrations/MigrationPlanExecuter.cs:line 40
at Umbraco.Engage.Web.Migrations.UmsMigrationsComponent.Initialize() in /_/Umbraco.Engage.Web/Migrations/UmsMigrationsComponent.cs:line 73
at Umbraco.Cms.Core.Composing.ComponentCollection.Initialize()
at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken, Boolean isRestarting)
at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken)
at Umbraco.Extensions.WebApplicationExtensions.BootUmbracoAsync(WebApplication app)
at Program.<Main>$(String[] args) in C:\...\src\UmbracoProject\Program.cs:line 55
at Program.<Main>(String[] args)
Process finished with exit code -532,462,766.
I’m not sure what migration it is trying to run, and perhaps what config setting I’m missing. Any pointers would be most welcome.