Updating drupal core
This page explains the differences between the terms 'updating', 'upgrading', and 'migrating', as it relates to Drupal core, so that you know where to go next depending on what you want to do.
Note: For updating/upgrading Drupal modules and themes, Jump down to the 'modules and themes' help-box below.
(The --no-dev switch will stop any packages listed in 'require-dev' from being installed, typically modules for debugging and libraries for unit/behavioural testing.) You don't need to repeat the rest of the above process, as will read the exact commit pointers for all packages from composer.lock, so you'll have identical versions of everything in both environments.
If you're using Drush, you can check for available updates: Also go through step 5. If using Composer to manage PHP libraries below if you have made any modifications to files such as .htaccess, composer.json, or robots.txt, as Drush doesn't do this.
Now check your site is OK - look at the status report page, test the site, and finally turn maintenance mode off if applicable: You can find the release notes for your version at https://
At bottom of the project page under "Downloads" use the link for your version of Drupal to view the release notes.
Now, before we perform an update, it's the best practice to back up our entire site and our database and we can do that with a Drush command that we looked at before called archive dump. Then we ran the database update script and all of that was just for Drupal Core.After we cover how to patch modules and upgrade Drupal from one minor version to another, we demonstrate how to use the Features module to version control components of Drupal that aren't typically available to version control.Finally, we wrap up with how to integrate Drush - a powerful command line tool for Drupal - into your workflow to speed up the process of doing everything we discussed earlier in the series.⤵ Strictly speaking, 'updating' refers to taking your site from one 'minor' version to another, as for example, from Drupal 7 version d7.1, to d7.2; or from Drupal 8 version d8.0.0 to d8.1.3, etc.No matter which version your site is currently using, you can update to the latest minor version that is available.