DrupalDrushUpdate » History » Revision 46
« Previous |
Revision 46/50
(diff)
| Next »
Andreas Kohlbecker, 05/31/2021 12:31 PM
Updating Drupal multisite installations with Drush¶
Requirements¶
- Drush 6 installed or higher version
- edit server-scripts installed in
/opt/server-scripts
. And/opt/server-scripts/dataportal-admin
added to the PATH environment variable.
Important¶
It is important that the zen theme is not updated automatically. The site configured as reference site for the code update will be tested by the script for having the zen theme enabled. To protect the zen theme from being modified by drush the site will be switched to the bartik
theme while running the code update.
Preparation¶
The formerly used update method 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
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 Andreas Kohlbecker almost 3 years ago · 46 revisions