Skip to main content
Drupal 8

How to manually update Drupal 8 core?

Let's see how to update your Drupal site between 8.x.x minor and patch versions. For example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0. I hope this will help you.

  • If you are upgrading to Drupal version x.y.z

           x -> is known as the major version number

           y -> is known as the minor version number

           z -> is known as the patch version number.

  • Make sure you have a backup of all the files, directories, and database because even a minor change can crash your site.

  • If you have any issue while updating drupal core, you can check the drupal support page.

          Minor and Patch version updates:

  • Log in as admin and you can check if any core update is available in Administration -> Reports -> Available Updates (admin/reports/updates)

  • If you need to update drupal core, you can download the latest drupal version at and extract it.

  • Sometimes we may want to update the site directly in the live site (though not recommended), the first thing we need to do is to put the site in maintenance mode. For that, go to Administration -> Configuration -> Development -> Maintenance mode. Enable the "Put site into maintenance mode" checkbox and save the configuration.

  • Remove core and vendor directory in the site directory and replace with latest files which you must have downloaded.

  • Copy and replace autoload.php, composer.php, composer.lock, index.php, licence.txt, readme.txt, robots.txt, update.php and web.config with latest files.

  • Same time setting.php may be changed, to ensure that you update your old settings in it before deploying your site.

  • Run update.php by visiting (replace with your domain name). This will update the database if there are any updates.

    • If you are unable to access update.php do the following:

      • Find the line $settings['update_free_access'] = FALSE; in settings.php file and change it to $settings['update_free_access'] = TRUE;

      • Once the upgrade is done, $settings['update_free_access'] must be reverted to FALSE.

  • Go to Administration -> Reports -> Status report (admin/reports/status). Verify that everything is working as expected.

  • To take the site live, go to Administration -> Configuration -> Development -> Maintenance mode. Disable the "Put site into maintenance mode" checkbox and save the configuration.

  • If you need any clarification, please refer the link.



It looks very hard, I think, we could do update with the drush command.
> drush pm-update // for drupal core update
> drush pm-update {module-name} // for single module update.

It is pretty easy. Thanks a lot Rajamohamed for your step by step guidance. It was all the time I was depending on my Managed IT service for making any tiny update but now I'm feeling like I can do it by own. I was lack of knowledge of this new version but will try your steps and will post here if any query arises. Thanks, once again.