The instructions set out here are the third in the overall process of upgrading Acquia CMS from 1.x to 2.x of three stages.
Ensure that you have performed the first stage and second stage before you perform these steps!
The overall process to upgrade Acquia CMS 2.x to the latest Drupal 10 version involves:
The instructions on this page assume that you have installed drush
as part of your Drupal codebase, and so is shown running from ./vendor/bin/drush
, relative to your application's project directory.
The following steps are written so as to be performed in your local development site first!
Install the CKEditor 5 module with the following command:
./vendor/bin/drush en ckeditor5
Click Configuration > Content authoring > Text formats and editors.
Alternatively, append /admin/config/content/formats
to your application name.
Update each text format, such as Filtered HTML and Full HTML, to use CKEditor 5.
For more information, see Using the CKEditor5 text editor for the “Site Studio” text format.
Uninstall any previous version of the CKEditor module.
./vendor/bin/drush pmu ckeditor
./vendor/bin/drush cex
Commit all changes, deploy them to your development environment, and run the following commands:
./vendor/bin/drush cr
./vendor/bin/drush cim --yes
./vendor/bin/drush updb --yes
Remove incompatible and insignificant modules.
composer remove drupal/upgrade_status
Composer remove acquia/http-hmac-php
Add the HAL module to the codebase because it is removed from Drupal core 10.
composer require 'drupal/hal:^2.0' --no-update --no-install
Add the latest version of core and contrib module.
You can remove modules that are not used in the project. For example, Webform and Google Analytics.
composer require "drupal/core-composer-scaffold:^10" "drupal/core-recommended:^10" drupal/webform:^6 drupal/google_analytics:^4 drush/drush:^12 --no-update --no-install
Install the latest Drupal core and its required dependencies with the following command:
composer update -W
Perform post upgrade activities.
./vendor/bin/drush cr
./vendor/bin/drush updb -y
./vendor/bin/drush cex
./vendor/bin/drush coh:import
./vendor/bin/drush coh:rebuild
Commit all the changes, deploy them to your Acquia development site, and run the following commands:
./vendor/bin/drush cr
./vendor/bin/drush cim --yes
./vendor/bin/drush updb --yes
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Fri Feb 07 2025 12:32:32 GMT+0000 (Coordinated Universal Time)