How to update Drupal

From Servage Wiki
Jump to: navigation, search

What you’ll need:
Step 1 – Enabling Maintenance mode
Step 2 – Downloading latest version of Drupal
Step 3 – Replacing Drupal Files
Step 4 – Updating Drupal


What you’ll need:
-Access to your Hosting control panel and FTP account
-Access to Drupal administrator dashboard


Contents

Step 1 – Enabling Maintenance mode

First make a complete backup of the drupal site before making an update for safely reasons.

Before starting the update, it’s strongly recommended to enable Maintenance mode. Maintenance mode can be enabled easily:

Access Drupal administrator dashboard and navigate to Configuration section. Check Put the site into maintenance mode option. Hit Save configuration button.

<image - maintenance.png >

In the Maintenance mode message you can even write a message that will be visible to all of the visitors.


Step 2 – Downloading latest version of Drupal

Secondly, in order to update Drupal you need to download the new version, you can do that by going to https://www.drupal.org/download. Extract downloaded archive to your computer.


Step 3 – Replacing Drupal Files

It can be tricky to update Drupal as you need to manually replace all core files except .htaccess, robots.txt and Sites folder. The most convenient way would be to use FTP client like FileZilla:

Connect to your FTP account and access folder where Drupal is installed. Select all files except .htaccess, robots.txt, sites and themes folders and delete them.

Now access folder with Drupal update files, select all files except .htaccess, robots.txt and sites folder and upload them to your hosting account where drupal is installed.


Step 4 – Updating Drupal

Once upload of the files is completed, visit http://yourdomain.com/update.php and press Apply pending updates to finish the update process.

File:Applyupdate.png

Congratulations :) You just learned how to update your Drupal manually. Turn off maintenance mode by reversing Step 1.

Personal tools
Navigation