Localgov Microsites, upgrading from Drupal 10 to Drupal 11.
Upgrade Status
The Upgrade Status module will help determine what needs to be done before you can upgrade to Drupal 11.
Then visit /admin/reports/upgrade-status to check the status of the site.
PHP and database requirements
Important: you will need a minimum of PHP 8.3 and MariaDB 10.6 or equivalent.
See drupal.org for more detailed requirements for Drupal 11.
- https://www.drupal.org/docs/getting-started/system-requirements/php-requirements
- https://www.drupal.org/docs/getting-started/system-requirements/database-server-requirements
Module compatibility:
To be removed:
- variationchace. This can be ignored, it was moved into Drupal core in 10.2. https://www.drupal.org/project/variationcache
Incompatible modules:
- date_recurr - this will be upgraded and can be ignored.
- localgov_microsites - this will be upgraded and can be ignored.
Check any other modules or themes that might also need upgrading.
Upgrade the codebase
To upgrade your site you will be using Composer to update some of the required packages for Drupal 11 support and then updating everything.
composer require drupal/localgov_microsites:^5.0 --update-with-dependencies --no-update
composer require drupal/core-recommended:^11.3 drupal/core-composer-scaffold:^11.3 drupal/core-project-message:^11.3 --update-with-dependencies --no-update
composer require drupal/core-dev:^11.3 brianium/paratest:^7.3 --dev --update-with-dependencies --no-update
composer require 'drush/drush:^13.0' --no-update
composer update
drush updb
drush cr
If you use config management to commit and deploy your config, you will also want to export the updated configuration at this point.