By Abhinesh Sharma on
Hi Everyone ,
I mention Some instruction how to update drupal minor version (Drupal 7.1 to Drupal 7.19).
- Make a backup of your Drupal instance (code and database)
- Download the latest release of your current Drupal version using Drupal.org
- Extract the [tar ball or zip] Drupal latest version package.
- Login to your site.
- Set your Drupal site on maintenance mode (Administration > Configuration > Development > Maintenance mode )
- Delete all the files & folders inside your original Drupal instance (old Drupal version) except for /sites folder and any custom files you added elsewhere.
- Copy all the folders and files except /sites and extracted Drupal (New Drupal version) package [tar ball or zip package] into your original Drupal (old Drupal version) instance.
- If you what to update modules also then download the latest version module and extracted (replace new version module to old version module) on /sites/all/modules folder (Don’t delete or uninstall or Disable old version module). After it don’t hit the current site URL or don’t do any change in module.
- If the update release includes changes to settings.php replace old settings.php in .../sites/default/ with the new one, and edit site-specific entries (eg database name, user, and password
- If you modified files such as .htaccess or robots.txt re-apply those changes on latest working Drupal.
- Do some configuration on update.php:
- Open settings.php with a text editor.
- Find the line that says:$update_free_access = FALSE;
- Change it into:- $update_free_access = TRUE;
- Once the upgrade is done, $update_free_access must be reverted to FALSE.
- Go to Administration > Reports > Status report. Verify that everything is working as expected.
- Ensure that $update_free_access is FALSE in settings.php.
- Open settings.php with a text editor.
- Run update.php by navigating to http://www.drupalsitename/update.php
- Click on continue button and update the Drupal version.
- Go to Administration > Reports > Status report. Verify that everything is working as expected.
- Go to Administration > Configuration > Development > Maintenance mode. Disable maintenance mode
Thanks