| 14 | == Update Drupal Core Manually |
| 15 | |
| 16 | 1. Put the site into maintenance mode `configuration > development > Maintenance mode` |
| 17 | 1. Read the release notes for the update. Some custom files may need editing. |
| 18 | 2. Create a backup of the site using the [[https://www.drupal.org/node/59373|full site backup script]]. Check to see if one has already been created with the correct directories, usernames and passwords |
| 19 | 3. Wget the updated file to the www directory and unzip it. |
| 20 | 1. Copy the new Drupal directory to form a new one to work with. |
| 21 | 4. Remove the `sites` directory from the new working directory and copy over the existing one from actual site directory. |
| 22 | 1. Check for any differences between the new and the existing .htaccess web.config and robots.txt file. |
| 23 | 1. Hopefully the non-customised old version of drupal will be available so you can diff the `sites/default_settings.php` to see if there are any differences that will need copying into the settings.php file. |
| 24 | 1. Move the existing directory to *_old and mv the new directory into its place. |
| 25 | 1. Go to the site and browse to update.php and follow the instructions. |
| 26 | 1. Take the site out of maintenance mode. |
| 27 | |
| 28 | == Update Drupal modules manually |
| 29 | |
| 30 | 1. Put the site into maintenance mode `configuration > development > Maintenance mode` |
| 31 | 1. Read the release notes for the update. Some custom files may need editing. |
| 32 | 1. Cd into the `sites/all/modules` directory. |
| 33 | 1. wget the latest version of the module. |
| 34 | 1. remove the old version of the module directory |
| 35 | 1. Unzip the new version into its place |
| 36 | 1. Take the site out of maintenance mode. |
| 37 | |
| 38 | |