Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
titlereviewed 230530

1. Prepare for upgrade

  • Make sure you have composer 2 running on your environment.

  • https://joostvanveen.com/run-composer-1-and-2-simultaniously - if you want to know how to run 2 versions of composer simultaneously, follow this article

  • Make sure you have PHP 7.4 on your local and MariaDB >10.4

  • Install Upgrade Status module on your local copy of the site, check the statsstatus of your installed modules

2. Upgrade on your local

  • Update your local database to the version you intend to use on the host

  • Based on the statsstatus, perform required actions: upgrade or patch contrib modules

  • Patch / update custom modules

  • Uninstall unused modules

  • Update Drupal core:

    • Replace drupal/core package with drupal/core-recommended

    • Remove drupal/core-dev from dev dependencies

  • Follow this guide to check other packages: https://www.drupal.org/docs/develop/using-composer/preparing-your-site-for-composer-2

  • Tun database updates on your local, export config

  • Check site status and smoke test the site

...

Feel free to update pantheon.yml file to remove any non-required values that are duplicates with duplicated in this new file. Make sure you keep api_version: 1 in both.

...

Official Pantheon documentation: https://pantheon.io/docs/guides/drupal-9-migration

Review History

Who

When

Status

Bob

20230530

Current