Using Umbraco Deploy on Premise to Migrate from U13 -> U17

So, it looks like small chunks is the way forward and also doing it manually instead of the import-on-startup.zip

Thanks everyone for the help.

In case anyone else comes across this with similar issues -
Clean Umbraco 13 with

Umbraco.Deploy.OnPrem
Umbraco.Deploy.Contrib

Then do a manual export of just schema, then just content and make smaller zip files that way, instead of including everything in one zip, especially if you have a large site, which I do.

Then get a Clean Umbraco 17 install setup, install the Umbraco.Deploy packages on there too. Then in the backoffice, import the zip files individually. Dont forget to also setup the composer on the Umbraco 17 site too:

using Umbraco.Cms.Core.Composing;
using Umbraco.Deploy.Infrastructure.Migrators;

internal class ArtifactMigratorsComposer : IComposer
{
    public void Compose(IUmbracoBuilder builder)
    {
        builder.DeployArtifactMigrators()
            .Append<ReplaceNestedContentDataTypeArtifactMigrator>()
            .Append<ReplaceMediaPickerDataTypeArtifactMigrator>();

        builder.DeployPropertyTypeMigrators()
            .Append<NestedContentPropertyTypeMigrator>()
            .Append<MediaPickerPropertyTypeMigrator>();
    }
}

That should hopefully get you up and running!

2 Likes