Acquia announces rebranding of its “Acquia CMS” offering, which includes a collection of Drupal modules. “Acquia CMS” is now referred to as “Drupal Starter Kits”.
Use the following steps to upgrade Drupal Starter Kits 1.x from its current version to the latest version:
Update Drupal core to the latest version 9.5.11 and Drupal Starter Kits to its compatible version 1.5.8 with the following command:
composer update -W drupal/core:^9.3 drupal/core-recommended:^9.3 drupal/core-composer-scaffold:^9.3 drupal/core-project-message:^9.3 acquia/acquia_cms:^1.4
Add Page Manager and Panels modules to the codebase with the following command:
composer require drupal/panels drupal/page_manager
You can remove them from the codebase later, if required. With Drupal core 9.x, the Drupal Starter Kits Common module 1.9.x uses the Moderation Dashboard module 2.x, which removes the Page Manager and Panels modules from the codebase.
Add the Webform module to Composer dependencies with the following command:
composer require 'drupal/webform:~6.0.0'
You can remove it from the codebase later, if required. The latest version of the Drupal Starter Kits Starter module removes the Webform module from Composer dependencies.
Update your database with the following command:
./vendor/bin/drush updb -y
(Optional) On running any Drush command, if you get the Error: Class "Drupal\Driver\Database\mysql\Connection" not found
error, update database specification by replacing the line 'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql'
in your settings.php
file:
$databases['default']['default'] = array (
'database' => 'drupal',
'username' => 'drupal',
'password' => 'drupal',
'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql',
'driver' => 'mysql',
);
(Optional) If you use Facet accordion custom style on the site, update its configuration:
/admin/cohesion/styles/cohesion_custom_styles
.Update the .collapsiblock
element to .collapsiblockTitle
:
Change anchor to button under the .collapsiblockTitle (child)
element:
Change anchor to button under the .facet-item (child)
element:
Add custom CSS property to button element under the .collapsiblockTitle (child)
“CSS property: width” & “CSS value: 100%”:
Uninstall the Acquia Telemetry module as its functionality is available in Acquia Connector from the version 4.0.0-beta4.
./vendor/bin/drush pmu acquia_telemetry
./vendor/bin/drush cex
Commit all changes, deploy them to your development environment, and run the following commands:
./vendor/bin/drush updb -y
./vendor/bin/drush cim -y
Update Drupal core to 9.5.11 along with Drupal Starter Kits and its dependencies:
composer update "drupal/core-*" acquia/acquia_cms -W
Install the Site Studio Claro sub-module. The Drupal Starter Kits Site Studio module 1.6.0 uses Acquia Site Studio 7.4.2, which includes the Site Studio Claro sub-module. This sub-module fixes template and style issues for media library in Page Builder. If you do not install this sub-module, you might get the following error while updating your database:
Enable the Acquia Claro module with the following command:
./vendor/bin/drush en sitestudio_claro
Clear cache and run the database update and configuration export commands.
./vendor/bin/drush cr
./vendor/bin/drush updb -y
./vendor/bin/drush cex
Commit all the changes, deploy them to your development environment, and run the following commands:
./vendor/bin/drush updb -y
./vendor/bin/drush cim -y
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Fri Dec 13 2024 06:56:21 GMT+0000 (Coordinated Universal Time)