Backend and Infrastructure
Topic

Upgrade Drupal's Major Version for Drupal 7, 8, 9, 10, and 11

Upgrading is the process of moving your site from a previous major version of Drupal to a newer version, for example from Drupal 7 to Drupal 11. This consists of upgrading the codebase to the appropriate version and then migrating the data from your old site into the new one. Drupal core contains 2 modules to help facilitate this process: Migrate Drupal and Migrate Drupal UI.

Make sure you understand the difference between updating and upgrading. If you already have the latest major Drupal version installed and want to update to a released minor version, see the Minor Version and Security Updates topic.

If your Drupal site is on Drupal 8 you want to upgrade to Drupal 9, or Drupal 9 to Drupal 10, or Drupal 10 to 11, a migration is not necessary. See Upgrade to Drupal 11 or choose the tutorial that fits your use case in our Keep Drupal Up-To-Date guide.

Example tasks

  • Upgrade a site from Drupal 6 to 8
  • Upgrade a site from Drupal 7 to 8
  • Upgrade a site from Drupal 8 to 9
  • Upgrade a site from Drupal 9 to 10
  • Upgrade a site from Drupal 10 to 11

Confidence

As of Drupal 8.5.x the core Migrate API is considered stable and no major backwards compatibility breaking changes are expected. If you're writing custom migrations, you're good to go.

Beware of any resources that were written before Drupal 8.1.x was released (April 19, 2016) as the system changed considerably in ways that invalidate many of the older articles.

Drupalize.Me resources

Categories
Site Building, Backend and Infrastructure, Site Administration
Drupal 8, 9, 10, and 11
More information

There’s no one-size-fits-all path to upgrade from Drupal 10 to Drupal 11, but there is a set of common tasks that everyone will need to complete.

In this tutorial we’ll:

  • Explain the differences between Drupal 10 and Drupal 11 that affect the upgrade path.
  • Walk through the high-level steps required to upgrade from Drupal 10 to Drupal 11.
  • Provide resources to help you create an upgrade checklist and start checking items off the list.

By the end of this tutorial you should be able to:

  • Explain the major differences between Drupal 10 and 11.
  • Audit your existing Drupal 10 projects for Drupal 11 readiness, and estimate the level of effort involved.
  • Start the process of upgrading your site from Drupal 10 to Drupal 11.
More information

There’s no one-size-fits-all path to upgrade from Drupal 9 to Drupal 10, but there is a set of common tasks that everyone will need to complete.

In this tutorial we’ll:

  • Explain the differences between Drupal 9 and Drupal 10 that affect the upgrade path.
  • Walk through the high-level steps required to upgrade from Drupal 9 to Drupal 10.
  • Provide resources to help you create an upgrade checklist and start checking items off the list.

By the end of this tutorial you should be able to explain the major differences between Drupal 9 and 10, audit your existing Drupal 9 projects for Drupal 10 readiness, estimate the level of effort involved, and start the process of upgrading.

More information

There’s no one-size-fits-all path to upgrade from Drupal 8 to Drupal 9, but there is a set of common tasks that everyone will need to complete.

In this tutorial we’ll:

  • Explain the differences between Drupal 8 and Drupal 9 that affect the upgrade path.
  • Walk through the high-level steps required to upgrade from Drupal 8 to Drupal 9.
  • Provide resources to help you create an upgrade checklist and start checking items off the list.

By the end of this tutorial you should be able to explain the major differences between Drupal 8 and 9, audit your existing Drupal 8 projects for Drupal 9 readiness, estimate the level of effort involved, and start the process of upgrading.

Posted on Monday, May 4, 2020 - 12:47 by joe

Upgrade status generates a report that serves as a sort of checklist to help you determine whether or not your site is ready to be upgraded to Drupal 9. It packs a lot of useful information into a single report. It's worth taking the time to install it on a copy of your Drupal 8 site and seeing what it has to say.

Posted on Monday, April 20, 2020 - 13:36 by joe

Drupal check, and Drupal rector, are two useful command line tools you can use to help jump start the process of updating your Drupal 8 code to ensure it's compatible with Drupal 9. This post includes some notes about the process I went through while testing them out on some of the Drupalize.Me code base.

If you are upgrading from Drupal 7 to Drupal 8, 9, 10, or 11, a data migration is necessary.

Categories
Module Development, Backend and Infrastructure
Drupal 8, 9, 10, and 11

Guides

Not sure where to start? Our guides provide useful learning tracks for all skill levels.

Navigate guides

External resources

  • Upgrading Drupal (Drupal.org)
    • Community guide to upgrading Drupal. Contains some good background information on why things work the way they do. Also has step-by-step walk-throughs of using both the UI and Drush to run an upgrade migration.
  • Known issues when upgrading from Drupal 6 or 7 (Drupal.org)
    • The upgrade process is still in development. There are some known incomplete paths, and issues, with the upgrade process which you can keep track of here.