Coming back to the issue, there are only three things we add to the Drupal installation and this is all we need to take care of when we upgrade the Core. And these three things are:
- The things that we add to the sites/all directory.
- These are things in it's sub-directories, such as /libraries, /modules, /themes and /files.
- Anything else you add also needs to be included. Other sites if you are doing a multisite Drupal deployment.
- All of these things need to copied and backed up for the upgrade.
- After the upgrade, and we will see shortly how, we will paste all these files to the same folder again.
- All the content that we add and that is stored in the database. There are 2 ways of achieving this. One is using the PHPMYADMIN webapp for managing the MySQL DB. And the second method is using the BACKUP_MIGRATE module of Drupal. Either ways, we back up all the relevant tables in the Drupal installation and restore the database after the upgrade.
- The .HTACCESS file. There may be a two of them. One on the root folder of the Apache webserver and the second in the root folder of Drupal. Both of these need to be backed-up and restored in their original folders after the upgrade.
- Always put your website in the maintenance mode before any upgrade steps.
- Download the new Drupal core from www.drupal.org and upzip the folder. In the new folder, delete the /Sites directory. And replace the new .htaccess file with the old .htaccess file at the correct places. One in the root folder of the webserver and the other in the root folder of the Drupal install.
- Now copy all the new Drupal files into the folder where the older Drupal files resided before.
- Go to the home page of your Drupal install and type update.php at the end of the URL.
- Run the update script. It will instruct us to all of the above steps that we have already done.
- Once done, let the script update the Database. If needed, use the backup_migrate module to restore the Database.
- Well this should have your site up and running on the new core. We can always go to the /reports/status.php and see the upgraded status.
No comments:
Post a Comment