Acquia Drupal was a Drupal 7 distribution that packaged several recommended modules together to make setup of new sites easier. Acquia Drupal has been deprecated in favor of Lightning (https://docs.acquia.com/lightning, https://www.drupal.org/project/lightning ). Fortunately, uninstalling the Acquia Profile is a simple process.
Create a new development branch locally using git.
git checkout -b <dev_branch_name>
Copy any modules in the acquia profile that your site has enabled and that are not already in your sites/all/modules/contrib directory:
cp profiles/acquia/modules/<module_name> sites/all/modules/contrib/
If you copy acquia_connector from the profiles/acquia/modules directory, you’ll also want to check the following file:
You may see:
/** * Is this an Acquia Drupal install? */ define('IS_ACQUIA_DRUPAL', TRUE);
Which should be changed to:
/** * Is this an Acquia Drupal install? */ define('IS_ACQUIA_DRUPAL', FALSE);
Delete the acquia profile from your site:
rm -rf profiles/acquia
Commit your changes to the branch and push the changes:
git add . git commit -m “initials: Uninstalling acquia profile and moving modules to sites/all/modules.” git push --set-upstream origin <dev_branch_name>
Deploy the new branch to one of your non-production environments along with a copy of your production database.
SSH into the environment and run a registry rebuild.
drush @sites registry_rebuild
Visit the site in your browser and test to ensure that everything is working as expected.
Review your logs in the Cloud UI by clicking on the environment header and then clicking on “Logs” on the left side of the page.