The following list includes errors commonly seen during RA environment security updates, with possible solutions.
Error:
Drush, All pending updates failed on RA for prod:siteName
Default multisite may not be functional
Configure the default multisite with a working
settings.php
file with a correct database include statement. See Configuring your application to use environment databases.Point requests for default at a working multisite in the
sites.php
file. See Using sites.php to specify an alternate settings.php file.
Drush may not be configured to work on the RA environment.
Check any environment specific case statements or code accounts for the RA environment.
Error:
Unable to run drush #.#.# pm-updatestatus/pm:security on any Production multisite for prod:siteName, exiting.
Default multisite not working
Configure the default multisite with a working
settings.php
file with a correct database include statement. See Configuring your application to use environment databases.Point requests for default at a working multisite in the
sites.php
file, usingsites.php
to specify an alternatesettings.php
file.
Drush symlink is missing from
vendor/bin
- Ensurevendor/bin/drush
is committed to a branch and deployed.An alternate
.drushrc
file was detected. - Remove it from the codebase and add it to your.gitignore
file.See Known issues with Drush for Drush specific solutions.
The website runs the current Drupal version, but is not Composer-based.
Convert to a Composer-based website: Acquia Automation: Composer builds.
Error:
Error performing task 16811 : StageDeploy with error message Staging failed because at least one site failed to stage during the process.
A previously staged website is no longer valid.
Give the RA team with a list of 5 to 10 domains for websites which should be staged in the RA environments.
Error:
Unable to run drush As this is a Drupal multi-site build, and you haven't specified a [status] pm-updatestatus/pm:security on any Production multisite for prod:siteName, exiting.
This error is related to the Domain Access module.
Give the RA team a list of 5 to 10 domains for websites to include in the update process.
Add domain aliases to your primary domain configuration on production that includes all non-production domains.
Error:
Unable to run drush [warning] "continue" targeting switch is equivalent to "break". Did you mean to use "continue"? file.module:898 pm-updatestatus/pm:security on any Production multisite for prod:siteName, exiting.
This error indicates an outdated Drupal core running on PHP 7.3.
Update Drupal core.
Troubleshooting for failed updates on Composer-based websites
View the Composer log file attached to the ticket, search for the first occurrence of Error Output to find details of what caused the automated update process to fail.
Acquia recommends that your development team fixes the root cause of the error and closes the associated ticket. This ensures that the automated process for security updates can attempt to update the website in the next weekly run.
The following table documents the probable root causes for different error messages that you may encounter in the Composer log file, and serves as a starting point for fixing the errors.
Error messages in log file | Probable root cause of the error |
---|---|
| Composer had issues with the require section versioning. |
| A dependency pinned to a specific version in the |
| A Composer-dependency conflict prevented updates from getting completed. |
| The system encountered a PHP error while attempting to perform updates. |
| The system attempted Composer updates with Composer 1.x, and PHP ran out of memory. |
| The update process attempted to remove a deprecated package but failed. |
| Composer updates could not be applied because of a dependency in the site that required Composer 2.x. Other dependencies were only compatible with Composer 1.x. |
| A private Git repository specified in the |
| During the Composer update process, the system prompted the user to
reinstall a copy of a dependency due to a missing .git directory.
The automated update process could not respond
|
| Composer attempted to apply patches as specified in the |