Updating Drupal to the Latest Version

Update Drupal

Regular security updates, new features, and general improvements are the reasons Drupal releases updates. Updating your Drupal installation ensures your site remains secure and runs efficiently. This article will outline the process of updating Drupal to the latest version.

Step 1: Backup Your Website

Your Drupal website should be backed up before any updates. This will make it easy for you to restore your site in case anything goes wrong when updating it. You may back up your files and database either manually or through tools like Drush.

Step 2: Place Your Website in Maintenance Mode

To prevent users from accessing your site during the update, put it in maintenance mode. You can do this by navigating to Configuration > Development > Maintenance mode in the Drupal administration interface.

Update Drupal

Step 3: Review System Requirements

Look at the system requirements of the latest Drupal version whether or not your server environment meets the criteria. This involves the PHP version, database requirements, and other dependencies.

The Upgrade Status module in Drupal is a valuable tool for checking the readiness of your site for a Drupal core upgrade. It provides a detailed report on the status of contributed projects (modules and themes) to the version of Drupal you are planning to upgrade to. Here’s you can use the Upgrade Status module:

composer require 'drupal/upgrade_status:^4.0'

Once the module is enabled, you can access the Upgrade Status report by navigating to Reports > Upgrade status in the Drupal admin interface.

You can also check the “Status report” as well.

Update Drupal

Step 4: Update Contributed Modules and Themes

Make careful to update all contributed modules and themes to the most recent compatible versions before making any changes to the Drupal core. Update problems may arise from incompatible modules. To ensure that each module and theme is compatible with the version you are updating to, visit their respective Drupal project pages.

Step 5: Disable Unnecessary Modules

Disable any unnecessary modules before the update process to reduce the risk of conflicts and errors. You can re-enable them after successfully updating Drupal Core.

Step 6: Download and Extract the Latest Drupal Version

To access the most recent stable version, please visit Drupal’s official website https://www.drupal.org. Once downloaded, extract the files and replace your existing Drupal files with the new ones. Be sure to preserve your “sites” folder containing your configuration and custom files.

Step 7: Run Database Updates

After replacing the files, go to http://yoursite.com/update.php and run the database updates that are required. Perform these steps according to the prompts on the screen.

Update Drupal

Step 8: Re-enable Modules and Themes

After updating Drupal core, re-enable any modules and themes you disabled earlier. Ensure that they are compatible with the new Drupal version.

Step 9: Test Your Website

Thoroughly test your website to identify and address any issues that may have appeared during the update. Check all functionalities, including forms, menus, and custom features.

Step 10: Take Your Site Out of Maintenance Mode

After ensuring that your website is functioning properly, turn off the maintenance mode for users to return to the site.


You can also update the Drupal site by executing the following command in the terminal.

  • To upgrade your Drupal site and all its dependencies to the most up-to-date version:
composer update "drupal/core-*" --with-all-dependencies
  • To update your site to this specific release:
composer require drupal/core-recommended:10.1.7 drupal/core-composer-scaffold:10.1.7 drupal/core-project-message:10.1.7 --update-with-all-dependencies


It’s important to keep your Drupal website updated for security and performance reasons. You can update your Drupal installation to the latest version by following these steps: Always back up your website before making updates and check the compatibility of the provided modules and themes with the latest Drupal version.

Please contact us at manish@bay20.com or call us at +91-8800519180 for any support related to Drupal. You can also visit the Drupal development page to check the services we offer.