We have moved!

You are currently looking at documentation for Umbraco 8 and older versions.
Go to docs.umbraco.com for documentation for Umbraco 9 and newer versions.

    Migrating Umbraco 8 Cloud project to Umbraco 10

    This article will provide steps on how to migrate a Umbraco 8 Cloud project to Umbraco 10.

    The steps in this article can also be used to upgrade to Umbraco version 9, however, we do recommend always upgrading to the latest version whenever possible.

    Since the underlying framework going from Umbraco 8 to 10 has changed there is no direct upgrade path. However, there have been a few changes to the Database schema. You can re-use the database from your Umbraco 8 project on your new Umbraco 10 Cloud project so that you have your content from Umbraco 8.

    It is not possible to migrate the custom code as the underlying web framework has been updated from ASP.NET to ASP.NET Core and you will need to re-implement it.

    You also need to make sure that the packages that you are using are available for Umbraco 10.


    • A Umbraco 8 Cloud project running the latest version of Umbraco 8.

    • A clean Cloud project running the latest version of Umbraco 10 with at least 2 environments.

    • A backup of your Umbraco 8 project database.

    We strongly recommend having at least 2 environments on the Umbraco 10 project.

    Should something fail during the migration, the Development environment can always be removed and re-added to start over on a clean slate.

    Step 1: Content Migration

    • Create a backup of the database from your Umbraco 8 project using the database backup guide OR clone down the V8 project and take a backup of the local Database. Make sure to restore the content from your cloud environment.

    • Import the database backup into SQL Server Management Studio.

    • Clone down the Development environment from the Umbraco 10 Cloud project, test the project, and make sure to log in to the backoffice.

    • Update the connection string in the Umbraco 10 appsettings.json file so that it connects to the Umbraco 8 database:

      "ConnectionStrings": {
          "umbracoDbDSN": "Server=YourLocalSQLServerHere;Database=NameOfYourDatabaseHere;Integrated Security=true"
    • To authorize the database upgrade, enable Unattended Upgrades.

    • Run the Umbraco 10 project locally.

    • Wait for the site to finish upgrading.

    • Stop the site and disable unattended upgrade.

    • Run the site and log in using Umbraco ID.

    This is only content migration and the database will be migrated.

    You need to manually upgrade the view files and custom code implementation. For more information, see Step 3 of this guide.

    Step 2: File Migration

    • The following files/folders need to be copied into the Umbraco 10 project:

      • ~/Views - Do not overwrite the default Macro and Partial View Macro files unless changes have been made to these.
      • ~/Media
      • Any files/folders related to Stylesheets and JavaScript.
    • In Umbraco 10, config files no longer live in the Web.Config file and is instead in the appsettings.json file. You will need to make sure that you update the appsettings.json file with any custom settings that you had in your Umbraco 8 project to match with the Configuration Files.

    • In Umbraco Forms version 9.0.0+, it is only possible to store Form data in the database. If Umbraco Forms is used on the Umbraco 8 project:

    • Run the Umbraco 10 project locally.

      • It will give you a Yellow Screen of Death (YSOD)/error screen on the frontend as none of the Template files have been updated yet.
    • Go to the backoffice of your project.

    • Navigate to the Settings section and go to the Deploy dashboard.

    • Select Extract Schema To Data Files from the Deploy Operations drop-down to generate the UDA files.

    • Click Trigger Operation.

    • Once the operation is completed, the status will change to Last deployment operation completed.

    • Check ~\umbraco\Deploy\Revision folder to ensure all the UDA files have been generated.

    • Select Schema Deployment From Data Files from the Deploy Operations drop-down to make sure everything checks out with the UDA files that were generated.

    • Click Trigger Operation.

    Step 3: Custom Code for Umbraco 10

    Umbraco 10 is different from Umbraco 8 in many ways. This means that in this step, all custom code, controllers, and models need to be rewritten for Umbraco 10.

    Found something that has not yet been documented? Please report it on our issue tracker.

    Examples of changes

    One of the changes is how published content is rendered through Template files. Due to this, it will be necessary to update all the Template files (.cshtml) to reflect these changes.

    Read more about these changes in the IPublishedContent section of the Documentation.

    • Template files need to inherit from Umbraco.Cms.Web.Common.Views.UmbracoViewPage<ContentModels.HomePage> instead of Umbraco.Web.Mvc.UmbracoViewPage<ContentModels.HomePage>

    • Template files need to use ContentModels = Umbraco.Cms.Web.Common.PublishedModels instead of ContentModels = Umbraco.Web.PublishedModels

    Depending on the size of the project that is being migrated and the amount of custom code and implementations, this step is going to require a lot of work.

    Step 4: Deploy and Test on Umbraco Cloud

    Once the Umbraco 10 project runs without errors on the local setup, the next step is to deploy and test on the Cloud Development environment.

    • Push the migration and changes to the Umbraco Cloud Development environment.

      The deployment might take a bit longer than normal.

    • Once everything has been pushed, go to the backoffice of the Development environment.

    • Go to Settings and navigate to the Deploy Dashboard.

    • Select Schema Deployment From Data Files from the Deploy Operations drop-down.

    • Click Trigger Operation.

    • The deployment will result in either of the two:

      • Last deployment operation failed - something failed during the check.
        • Select Clear Cached Signatures from the Deploy Operations drop-down.
        • Select Schema Deployment From Data Files from the Deploy Operations drop-down to clear up the error.
      • Last deployment operation completed
        • Everything checks out: The Development environment has been upgraded.
    • Transfer Content and Media from the local clone to the Development environment.

    • Test everything in the Development environment.

    • Deploy to the Live environment.

    Step 5: Going live

    • Test everything in the Development environment.

    • Once the migration is completed, and the Live environment is running without errors, the site is ready for launch.

    • Setup rewrites on the Umbraco 10 site.

    • Assign hostnames to the project.

      Hostnames are unique and can only be added to one Cloud project at a time.