With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
Use the following steps to upgrade Drupal Starter Kits from 1.x to 2.x by using the profile switch command. This command also helps you to add the modules that were deleted from the most recent version but are still necessary for Drupal Starter Kits.
If you use BLT, check your install profile with the following commands:
./vendor/bin/drush status --fields=install-profile
Install profile : acquia_cms blt/blt.yml.Run the profile switcher command to switch the profile from acquia_cms to minimal.
./vendor/bin/drush acms:switch
The site's install profile will be switched from acquia_cms to minimal.
Do you want to continue? (yes/no) [ yes ]:
> yes
Profile switched from acquia_cms to minimal.Export the configurations.
You can observe the changes in the core.extension configuration parameter.
./vendor/bin/drush cex
[notice] Differences of the active config to the export directory:
+------------+---------------------+-----------+
| Collection | Config | Operation |
+------------+---------------------+-----------+
| | core.extension | Update |
| | system.theme.global | Update |
+------------+---------------------+-----------+
The .yml files in your export directory (../config/default) will be deleted and replaced with the active config. (yes/no) [yes]:
>
[success] Configuration successfully exported to ../config/default.Commit all the 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 --yesUpgrade Drupal Starter Kits to 2.x with the following command:
composer require -W acquia/acquia_cms:^2.0(Optional) Add the Google Analytics module to your project, if required.
composer require -W drupal/google_analytics:^2.0Update your database.
./vendor/bin/drush updb -yCommit 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 --yesVerify that your development site works as expected.
The Drupal Starter Kits 2.x module keeps all the required dependencies previously available in the profile. The acquia_cms profile codebase does not exist in the docoot/profiles/contrib directory.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.