Drupal 10 - Updating


Drupal 10 core update

 


This post discusses about how to "Update the Drupal 10 Core".  The update process is usually for updating the 'core' in the same series  i.e. 10.x or 9.x etc.   Upgrading is usually a reference to shifting from main core version to another i.e. 10 to 11.

Getting ready for update

  1. Log in as Drupal administrator.
  2. Put your site in maintenance mode.    
    1. From:   Home > Administration > Configuration > Development > Maintenance mode
    2.  Click the checkbox and save the settings. 
  3. Flush all caches.
    1. From:   Home > Administration > Configuration > Development > Performance
    2. Click "Clear All Caches"
  4. Using you Website Control Panel,  take a backup of the database associated with Drupal and the backup of Drupal files.
    1. Generally you would be running Drupal for the whole domain, so backup you whole site itself.
    2. Backup is important if something goes wrong while updating.
  5. Download the next update available for you Drupal Version.
    1. Read the instructions on the Drupal site for that specific version, if there are any special steps to be followed before, after or while installation, note them down.
  6. Copy this compressed file to your web server.

Performing Update

  1. Remove the 'core' and 'vendor' directories from you current installation of Drupal.
    1. Do not delete 'modules', 'profiles', 'sites', 'themes' directories.
  2. Remove all of the files in the top-level directory. (If you have made any changes to files like .htaccess, robots.txt etc, then keep a backup copy, you will need to apply these changes back to the new files). Generally .htaccess is not changed often and you can avoid deleting it.
    1.  autoload.php 
    2. README.md
    3. .eslintrc.json
    4. composer.json
    5. web.config
    6. index.php
    7. .editorconfig
    8. example.gitignore
    9. update.php
    10. robots.txt
    11. LICENSE.txt
    12. .eslintignore
    13. INSTALL.txt
    14. composer.lock
    15. .csslintrc
    16. .gitattributes
    17. .ht.router.php
    18. .htaccess
  3. Now un compress the new uploaded Drupal core to another directory,
    1. From this copy back the files that you have deleted in the earlier steps back to the original location.
  4. Once copied you need to run updates on your site. Using your browser, run update.php by visiting http://www.example.com/update.php
  5. Follow the instruction and you updated should be completed
  6. Take your site our of "Maintenance Mode"
  7. Flush the caches once again.

That is it you Drupal core is now updated.
 

Main category

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
Enter the characters shown in the image.
Are you a robot?
Address

OpenSourceCook.in
"Natraj"  Bungalow,
Colony No.7,  Sr.No. 38.
(Lane Behind Sai Baba Mandir)
Kale Borate Nagar, Hadapsar,
Pune - 411028.
Get Directions