Actions
Updating Drupal multi-site installations with Drush¶
- Table of contents
- Updating Drupal multi-site installations with Drush
Requirements¶
Please see README.md / Preparation
and for multi-site installations
- edit server-scripts installed in
/opt/server-scripts
. And/opt/server-scripts/dataportal-admin
added to the PATH environment variable.
How to¶
The formerly used update method, which is preserved here, has been superseded. Please refer to the README.md / Update method 2 and its specific sub chapters Updating to a specific cdm-dataportal release and Updating drupal and modules
you may want to use below command for multi-site installations
scripts/admin/update-dependencies.sh --deactivate-install --multi-site
Troublesooting¶
drush updatedb warns about missing modules¶
Missing modules can be fixed using the script drupal-fix-missing-modules.sh
which is contained in server-scripts/drupal/
. In advance of using this script you need to download the module_missing_message_fixer
:
drush pm-download --destination=sites/all/modules/ module_missing_message_fixer
Then you can run the script:
drupal-fix-missing-modules.sh {SITE-URL}
Updated by Katja Luther almost 2 years ago · 50 revisions