Difference between revisions of "Drupal/C3/Drupal-Site-Management/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|-
 
|-
 
| 00:01
 
| 00:01
| Welcome to the Spoken tutorial on''' Drupal Site Management.'''
+
| Welcome to the '''Spoken tutorial''' on''' Drupal Site Management.'''
  
 
|-
 
|-
 
| 00:06
 
| 00:06
|  In this tutorial we will learn to
+
|  In this tutorial, we will learn to:
 
+
View '''report'''s
* View reports
+
Update '''Drupal'''  
* Update '''Drupal'''  
+
Update '''modules''' and '''themes''' and
* Update '''modules''' and '''themes''' and
+
Restore an older version.
* Restore an older version
+
  
 
|-
 
|-
 
| 00:18
 
| 00:18
| To record this tutorial, I am using
+
| To record this tutorial, I am using:
 
+
'''Ubuntu Linux''' Operating System
* '''Ubuntu Linux''' Operating System
+
'''Drupal''' 8 and  
* '''Drupal''' 8 and '''Firefox''' Web browser
+
'''Firefox''' Web browser.
 
You can use any web browser as per your choice.
 
You can use any web browser as per your choice.
  
Line 27: Line 26:
 
| 00:33
 
| 00:33
 
|  What is Site management?
 
|  What is Site management?
'''Site management''' is about
+
'''Site management''' is about:
# Updating the code behind '''Drupal''' which are '''core, modules''', and '''themes'''
+
Updating the code behind Drupal which are '''core, modules''' and '''themes'''
  
 
|-
 
|-
 
| 00:44
 
| 00:44
| Observing and fixing errors
+
| Observing and fixing '''error'''s
# Studying the behaviour of users, etc.
+
Studying the behavior of users etc.
  
 
|-
 
|-
 
| 00:51
 
| 00:51
| Open our website which we created earlier.
+
|Open our website which we created earlier.
  
 
|-
 
|-
 
| 00:56
 
| 00:56
| The starting point of '''site management''' is the '''Reports''' menu.If you need additional assistance, you can also consult the '''Help''' menu
+
|The starting point of '''site management''' is the '''Reports''' menu. If you need additional assistance, you can also consult the '''Help''' menu.
  
 
|-
 
|-
 
|01:07
 
|01:07
|Click on''' Reports.'''We see a list of the reports that we can get on our''' Drupal site.'''
+
|Click on''' Reports.''' We see a list of the reports that we can get on our''' Drupal site.'''
  
 
|-
 
|-
Line 57: Line 56:
 
|-
 
|-
 
| 01:25
 
| 01:25
| If it is in yellow, then it is not a''' security update,''' but there is an improved version available.
+
| If it is in yellow, then it is not a''' security update''' but there is an improved version available.
  
 
|-
 
|-
 
| 01:33
 
| 01:33
| On the''' Settings''' tab, we can tell '''Drupal''' how frequently''' '''to check for''' updates.'''
+
| On the''' Settings''' tab, we can tell Drupal how frequently to check for''' updates.'''
  
 
|-
 
|-
 
|01:40
 
|01:40
|We can also tell it to send an''' e-mail''' to us, if there are''' updates''' available. It is highly recommended to do this.
+
|We can also tell it to send an e-mail to us, if there are''' updates''' available. It is highly recommended to do this.
  
 
|-
 
|-
 
| 01:50
 
| 01:50
| Under '''Reports,''' the '''Recent log messages''' gives us a''' list''' of''' errors''' found by '''Drupal.'''We should look at these, once in a while.  
+
|Under '''Reports,''' the "Recent log messages" gives us a''' list''' of''' errors''' found by Drupal. We should look at these, once in a while.  
  
 
|-
 
|-
 
| 02:01
 
| 02:01
| Under '''Reports''', the''' Status report''' shows installation or configuration problems recognized by''' Drupal.'''
+
|Under '''Reports''', the''' Status report''' shows installation or configuration problems recognized by Drupal.  
  
 
|-
 
|-
 
|  02:10
 
|  02:10
 
|For instance -
 
|For instance -
* I am on''' MySQL 5.6.30,'''
+
I am on''' MySQL 5.6.30,'''  
* My''' Drupal Core status''' is not up-to-date,My''' database''' is up-to-date, etc.
+
My''' Drupal Core status''' is not up-to-date, My''' database''' is up-to-date, etc.
  
 
|-
 
|-
 
|  02:25
 
|  02:25
| Under '''Reports''', the '''Top access denied errors''' and''' Top page not found errors''' are also important.
+
| Under '''Reports''', the '''Top 'access denied' errors''' and''' Top 'page not found' errors''' are also important.
  
 
|-
 
|-
Line 95: Line 94:
 
|-
 
|-
 
| 02:49
 
| 02:49
| Understanding the''' reporting section''' of our''' Drupal website '''is the first step in maintaining our''' site.'''
+
| Understanding the reporting section of our Drupal website is the first step in maintaining our''' site.'''
  
 
|-
 
|-
 
| 02:57
 
| 02:57
| Next let us learn to update''' Drupal'''.
+
| Next, let us learn to update Drupal.
  
 
|-
 
|-
 
| 03:01
 
| 03:01
| Click on '''Available updates'''
+
| Click on '''Available updates'''.
  
 
|-
 
|-
 
| 03:04
 
| 03:04
|  We see that the current version of '''Drupal core''' is '''8.1.0''' and the recommended version is '''8.1.6'''
+
|  We see that the current version of '''Drupal core''' is '''8.1.0''' and the recommended version is '''8.1.6'''.
  
 
|-
 
|-
Line 119: Line 118:
 
|-
 
|-
 
| 03:24
 
| 03:24
| Note that you need an internet connection for '''Drupal''' to find out the current recommended version
+
| Note that you need an internet connection for Drupal to find out the current recommended version.
  
 
|-
 
|-
 
|  03:32
 
|  03:32
|  Updating '''Drupal core''' requires manual downloading of code files and applying it to your '''site'''.
+
|  Updating '''Drupal core''' requires manual downloading of code files and applying it to your site.
  
 
|-
 
|-
Line 139: Line 138:
 
|-
 
|-
 
| 03:57
 
| 03:57
| '''Step No 1'''
+
| Step No 1:
 
First put your '''site''' into '''Maintenance mode.'''
 
First put your '''site''' into '''Maintenance mode.'''
  
Line 148: Line 147:
 
|-
 
|-
 
| 04:11
 
| 04:11
|  Check the option to '''Put site into maintenance mode'''.
+
|  Check the option to "Put site into maintenance mode".
  
 
|-
 
|-
Line 160: Line 159:
 
|-
 
|-
 
| 04:26
 
| 04:26
|  In case you logged out admin by mistake, you can login at the '''URL''' of your homepage followed by '''/user.'''
+
|  In case you logged out '''admin''' by mistake, you can login at the '''URL''' of your homepage followed by '''/user.'''
  
 
|-
 
|-
Line 168: Line 167:
 
|-
 
|-
 
| 04:42
 
| 04:42
'''Step No 2'''.
+
|  Step No 2:
'''Let us backup the database of the current version.
+
Let us backup the database of the current version.
  
 
|-
 
|-
Line 193: Line 192:
 
|-
 
|-
 
| 05:13
 
| 05:13
|  '''Drupal admin password''' and '''phpmyadmin password''' both are the same.
+
|  '''Drupal admin''' password and '''phpmyadmin''' password both are the same.
  
 
|-
 
|-
 
|05:20
 
|05:20
| So type the username as '''root''' and type your '''Drupal admin password''', then click on '''Go''' button.
+
| So, type the username as '''root''' and type your '''Drupal admin password''', then click on '''Go''' button.
  
 
|-
 
|-
Line 213: Line 212:
 
|-
 
|-
 
| 05:45
 
| 05:45
|  Under the '''Output''' section, give the filename template as '''drupal-8.1.0''' and set the '''Compression''' as '''gzipped'''.
+
|  Under the '''Output''' section, give the '''filename template''' as "drupal-8.1.0" and set the '''Compression''' as '''gzipped'''.
  
 
|-
 
|-
Line 221: Line 220:
 
|-
 
|-
 
| 06:03
 
| 06:03
| Under the section '''Object creation options''', put a checkmark on '''Add DROP DATABASE statement''' option.
+
| Under the section '''Object creation options''', put a check-mark on '''Add DROP DATABASE statement''' option.
  
 
|-
 
|-
 
| 06:12
 
| 06:12
| Put a checkmark on '''Add DROP TABLE''' option.
+
| Put a check-mark on '''Add DROP TABLE''' option.
  
 
|-
 
|-
Line 233: Line 232:
 
|-
 
|-
 
| 06:21
 
| 06:21
|  Click on '''OK''' button to save the file.
+
|  Click on '''OK''' button to '''save''' the file.
  
 
|-
 
|-
 
|  06:25
 
|  06:25
|  Go to your '''Downloads''' folder and check for the backup file '''drupal-8.1.0.sql.gz'''.
+
|  Go to your '''Downloads''' folder and check for the backup file "drupal-8.1.0.sql.gz".
  
 
|-
 
|-
 
| 06:36
 
| 06:36
|   '''Step No 3'''
+
| Step No 3:
.We should shut down all the servers.
+
We should shut down all the servers.
  
 
|-
 
|-
Line 254: Line 253:
 
|-
 
|-
 
|  06:56
 
|  06:56
| '''Step No 4.
+
|Step No 4:
 
Click on the '''Welcome''' tab and then on '''Open Application Folder''' button.
 
Click on the '''Welcome''' tab and then on '''Open Application Folder''' button.
  
Line 267: Line 266:
 
|-
 
|-
 
|  07:15
 
|  07:15
| '''Step No 5.
+
| Step No 5:
 
We have to create a folder to backup the code for the current version of '''Drupal'''.
 
We have to create a folder to backup the code for the current version of '''Drupal'''.
  
Line 276: Line 275:
 
|-
 
|-
 
| 07:29
 
| 07:29
| Next move the backup database file to the '''drupal-8.1.0''' folder.
+
| Next, move the backup database file to the '''drupal-8.1.0''' folder.
  
 
|-
 
|-
 
|07:36
 
|07:36
| '''Step No 6'''.
+
| Step No 6:
 
Go back to the '''htdocs''' folder.
 
Go back to the '''htdocs''' folder.
  
 
|-
 
|-
 
| 07:42
 
| 07:42
|Next move the folders '''core''' and '''vendor''' and all the other files by cut and pasting into the backup folder '''drupal-8.1.0'''.  
+
|Next, move the folders '''core''' and '''vendor''' and all the other files by cut and pasting into the backup folder '''drupal-8.1.0'''.  
  
 
|-
 
|-
Line 297: Line 296:
 
|-
 
|-
 
|  08:07
 
|  08:07
| '''Step No 7'''.
+
| Step No 7:
 
Go back to our '''htdocs''' folder.
 
Go back to our '''htdocs''' folder.
  
 
|-
 
|-
 
|  08:13
 
|  08:13
|  Next we have to download the latest version of '''Drupal'''.
+
|  Next, we have to download the latest version of Drupal.
  
 
|-
 
|-
 
| 08:18
 
| 08:18
| Open your web browser and go the link shown: https://www.drupal.org/project/drupal
+
| Open your web browser and go to the link shown: https://www.drupal.org/project/drupal
  
 
|-
 
|-
 
|  08:24
 
|  08:24
| Download the latest recommended version of '''Drupal''' 8.  
+
| Download the latest recommended version of '''Drupal 8'''.  
  
 
|-
 
|-
 
|  08:28
 
|  08:28
| At the time of this recording it is '''Drupal core 8.1.6'''.
+
| At the time of this recording, it is '''Drupal core 8.1.6'''.
  
 
|-
 
|-
Line 330: Line 329:
 
|-
 
|-
 
|  08:49
 
|  08:49
| Click on the '''OK''' button to save it.
+
| Click on the '''OK''' button to '''save''' it.
  
 
|-
 
|-
 
|  08:53
 
|  08:53
| Now go to your '''Downloads''' folder and move the '''drupal zip''' file to your '''htdocs''' folder.
+
| Now, go to your '''Downloads''' folder and move the '''drupal zip''' file to your '''htdocs''' folder.
  
 
|-
 
|-
Line 346: Line 345:
 
|-
 
|-
 
|  09:18
 
|  09:18
| '''Step No 8.
+
| Step No 8:
'''Unzip the file. This will create a folder '''drupal-8.1.6''' in the '''htdocs''' folder.
+
'''Unzip''' the file. This will create a folder '''drupal-8.1.6''' in the '''htdocs''' folder.
  
 
|-
 
|-
Line 355: Line 354:
 
|-
 
|-
 
|  09:34
 
|  09:34
|  From the new '''Drupal''' folder  
+
|  From the new Drupal folder, move the folders '''core''' and '''vendor''' and all the other regular files to the '''htdocs''' folder.
move the folders '''core''' and '''vendor''' and all the other regular files to the '''htdocs''' folder.
+
  
 
|-
 
|-
 
|  09:44
 
|  09:44
|   '''Step No 9.'''
+
| Step No 9:
 
Switch to the '''Bitnami Drupal Stack''' control window.
 
Switch to the '''Bitnami Drupal Stack''' control window.
  
 
|-
 
|-
 
|  09:51
 
|  09:51
| Now go to '''Manage Servers''' tab and start all the servers by clicking on the '''Start All''' button.
+
| Now, go to '''Manage Servers''' tab and start all the servers by clicking on the '''Start All''' button.
  
 
|-
 
|-
 
|  10:00
 
|  10:00
'''Step No 10.
+
|  Step No 10:
'''Visit our '''site''' by clicking on the '''Welcome''' tab, '''Go to Application''' button and '''Access Drupal '''link.
+
Visit our '''site''' by clicking on the '''Welcome''' tab, '''Go to Application''' button and '''Access Drupal '''link.
  
 
|-
 
|-
Line 378: Line 376:
 
|-
 
|-
 
|  10:17
 
|  10:17
|  Here we can confirm the '''Drupal''' version number and that it is the latest one.  
+
|  Here, we can confirm the Drupal version number and that it is the latest one.  
  
 
|-
 
|-
Line 386: Line 384:
 
|-
 
|-
 
| 10:27
 
| 10:27
|  Every time there is a '''core, module,''' or a '''theme''' update, the database has to be updated.
+
|  Every time there is a '''core, module''' or a '''theme''' update, the database has to be updated.
  
 
|-
 
|-
 
|  10:36
 
|  10:36
|   '''Step No 11.'''
+
| Step No 11:
 
Let us learn to update the database.
 
Let us learn to update the database.
  
Line 403: Line 401:
 
|-
 
|-
 
|  10:51
 
|  10:51
|  It says that we have some pending updates. For you it may be different.
+
|  It says that we have some pending updates. For you, it may be different.
  
 
|-
 
|-
Line 419: Line 417:
 
|-
 
|-
 
|  11:14
 
|  11:14
| '''Step No 12:'''
+
| Step No 12:
 
Click on the '''Go online''' link.
 
Click on the '''Go online''' link.
  
 
|-
 
|-
 
|  11:18
 
|  11:18
|  Remove the checkmark to '''Put site to maintenance mode''' option.
+
|  Remove the check-mark to '''Put site to maintenance mode''' option.
  
 
|-
 
|-
Line 436: Line 434:
 
|-
 
|-
 
|  11:34
 
|  11:34
| The steps discussed so far works for '''Bitnami''' installation.
+
| The steps discussed so far, work for '''Bitnami''' installation.
  
 
|-
 
|-
Line 444: Line 442:
 
|-
 
|-
 
|  11:48
 
|  11:48
|  Now let us learn to update '''themes''' and '''modules'''.
+
|  Now, let us learn to update '''themes''' and '''modules'''.
  
 
|-
 
|-
 
|  11:53
 
|  11:53
|  This is easy compared to '''core''' update because '''Drupal''' will do this on a click of a button.
+
|  This is easy compared to the '''core''' update because Drupal will do this on a click of a button.
  
 
|-
 
|-
Line 456: Line 454:
 
|-
 
|-
 
|  12:09
 
|  12:09
| '''Step No 1:'''
+
| Step No 1:
 
Click on '''Reports''' menu and then '''Available updates'''.
 
Click on '''Reports''' menu and then '''Available updates'''.
  
Line 465: Line 463:
 
|-
 
|-
 
|  12:19
 
|  12:19
|  Here we can see that we have to update a few '''themes''' and '''modules'''.  
+
|  Here, we can see that we have to update a few '''themes''' and '''modules'''.  
  
 
|-
 
|-
Line 477: Line 475:
 
|-
 
|-
 
|  12:33
 
|  12:33
| Make sure the checkbox is on for '''performing updates in maintenance mode'''.  
+
| Make sure the check-box is ON for '''performing updates in maintenance mode'''.  
  
 
|-
 
|-
Line 489: Line 487:
 
|-
 
|-
 
|  12:49
 
|  12:49
'''Step No 2.'''
+
|  Step No 2:
 
Click on the '''Run database updates''' link.
 
Click on the '''Run database updates''' link.
  
Line 522: Line 520:
 
|-
 
|-
 
| 13:33
 
| 13:33
| '''Step No 3.'''
+
| Step No 3:
Finally let us check everything this is up to date.  
+
Finally, let us check everything this is up to date.  
  
 
|-
 
|-
Line 535: Line 533:
 
|-
 
|-
 
| 13:51
 
| 13:51
|  Next let us learn how to revert our old version.
+
|  Next, let us learn how to revert our old version.
  
 
|-
 
|-
 
|  13:56
 
|  13:56
|  In case our update fails for some reason you don’t know, we can go back to the previous version.
+
|  In case our update fails, for some reason you don’t know, we can go back to our previous version.
  
 
|-
 
|-
Line 547: Line 545:
 
|-
 
|-
 
|  14:10
 
|  14:10
'''Step No 1.'''
+
|  Step No 1:
 
Put the site into '''Maintenance mode'''.  
 
Put the site into '''Maintenance mode'''.  
  
 
|-
 
|-
 
| 14:17
 
| 14:17
'''Step No 2.'''
+
|  Step No 2:
 
Stop all the servers from the '''Drupal Stack Control''' window.  
 
Stop all the servers from the '''Drupal Stack Control''' window.  
  
 
|-
 
|-
 
|  14:25
 
|  14:25
'''Step No 3.'''
+
|  Step No 3:
 
Open our '''htdocs''' folder.
 
Open our '''htdocs''' folder.
  
Line 574: Line 572:
 
|-
 
|-
 
| 15:00
 
| 15:00
'''Step No 4.'''
+
|  Step No 4:
 
Start the '''Apache''' and '''MySQL servers''' from the '''Drupal Stack Control''' window.  
 
Start the '''Apache''' and '''MySQL servers''' from the '''Drupal Stack Control''' window.  
  
 
|-
 
|-
 
|  15:11
 
|  15:11
'''Step No 5.'''
+
|  Step No 5:
 
Restoring old database.
 
Restoring old database.
  
 
|-
 
|-
05:15
+
15:15
| Open the '''phpmyadmin''' page from the '''Drupal Stack Control''' window.
+
| Open the '''phpMyAdmin''' page from the '''Drupal Stack Control''' window.
  
 
|-
 
|-
Line 596: Line 594:
 
|-
 
|-
 
| 15:30
 
| 15:30
| Here choose the backup database file.
+
| Here, choose the backup database file.
  
 
|-
 
|-
Line 604: Line 602:
 
|-
 
|-
 
|  15:38
 
|  15:38
'''Step No 6.'''
+
|  Step No 6:
 
The final step is checking whether we are back to the old version.
 
The final step is checking whether we are back to the old version.
  
Line 621: Line 619:
 
|-
 
|-
 
| 15:59
 
| 15:59
|  Note that we can revert only the core and database to the old version.
+
|  Note that we can revert only the '''core''' and '''database''' to the old version.
  
 
|-
 
|-
Line 629: Line 627:
 
|-
 
|-
 
|  16:10
 
|  16:10
| We did not make a copy of it in '''Step 6''', so we will not see the old versions here.
+
| We did not make a copy of it in Step 6, so we will not see the old versions here.
  
 
|-
 
|-
 
| 16:18
 
| 16:18
|  With this we come to the end of this tutorial.
+
|  With this, we come to the end of this tutorial.
  
 
|-
 
|-
Line 641: Line 639:
 
|-
 
|-
 
|  16:25
 
|  16:25
| In this tutorial we have learnt about important aspects of '''Site management'''
+
| In this tutorial, we have learnt about important aspects of '''Site management''':
* Viewing and analysing reports
+
Viewing and analyzing reports
* Backing up database and code
+
Backing up database and code
  
 
|-
 
|-
 
| 16:39
 
| 16:39
| * Updating '''Drupal core'''
+
| Updating '''Drupal core'''
* Updating '''modules''' and '''themes''' and Restoring a backed up version
+
Updating '''modules''' and '''themes''' and  
 +
Restoring a backed up version.
  
 
|-
 
|-
 
| 16:49
 
| 16:49
|  This video at this link summarises the Spoken Tutorial project.
+
|  This video at this link summarizes the Spoken Tutorial project.
  
 
|-
 
|-
 
| 16:54
 
| 16:54
Pls download and watch it.
+
Please download and watch it.
  
 
|-
 
|-
 
|  16:58
 
|  16:58
|  The Spoken Tutorial Project Team conducts workshops and gives certificates.
+
|  The Spoken Tutorial Project team conducts workshops and gives certificates.
  
 
|-
 
|-
Line 668: Line 667:
 
|-
 
|-
 
| 17:06
 
| 17:06
|  Spoken Tutorial Project is funded byNMEICT, Ministry of Human Resource Development and NVLI, Ministry of Culture Government of India.
+
|  Spoken Tutorial Project is funded by NMEICT, Ministry of Human Resource Development and NVLI, Ministry of Culture, Government of India.
  
 
|-
 
|-
 
| 17:22
 
| 17:22
|  This is Calvin Nikhil Tomy signing off.Thanks for joining.
+
|  This is Calvin Nikhil Tomy, signing off. Thanks for joining.
  
 
|}
 
|}

Latest revision as of 18:24, 17 October 2016

Time Narration
00:01 Welcome to the Spoken tutorial on Drupal Site Management.
00:06 In this tutorial, we will learn to:

View reports Update Drupal Update modules and themes and Restore an older version.

00:18 To record this tutorial, I am using:

Ubuntu Linux Operating System Drupal 8 and Firefox Web browser. You can use any web browser as per your choice.

00:33 What is Site management?

Site management is about: Updating the code behind Drupal which are core, modules and themes

00:44 Observing and fixing errors

Studying the behavior of users etc.

00:51 Open our website which we created earlier.
00:56 The starting point of site management is the Reports menu. If you need additional assistance, you can also consult the Help menu.
01:07 Click on Reports. We see a list of the reports that we can get on our Drupal site.
01:14 Click on Available Updates.
01:17 If anything is in red background, that means there is a security update and we should update it soon.
01:25 If it is in yellow, then it is not a security update but there is an improved version available.
01:33 On the Settings tab, we can tell Drupal how frequently to check for updates.
01:40 We can also tell it to send an e-mail to us, if there are updates available. It is highly recommended to do this.
01:50 Under Reports, the "Recent log messages" gives us a list of errors found by Drupal. We should look at these, once in a while.
02:01 Under Reports, the Status report shows installation or configuration problems recognized by Drupal.
02:10 For instance -

I am on MySQL 5.6.30, My Drupal Core status is not up-to-date, My database is up-to-date, etc.

02:25 Under Reports, the Top 'access denied' errors and Top 'page not found' errors are also important.
02:34 These are simple ways to make sure that our site is performing the best it can.
02:41 Top search phrases provides the frequently used words in the search forms of your site.
02:49 Understanding the reporting section of our Drupal website is the first step in maintaining our site.
02:57 Next, let us learn to update Drupal.
03:01 Click on Available updates.
03:04 We see that the current version of Drupal core is 8.1.0 and the recommended version is 8.1.6.
03:15 This is the status at the time of the recording.
03:20 You may see a different recommended version here.
03:24 Note that you need an internet connection for Drupal to find out the current recommended version.
03:32 Updating Drupal core requires manual downloading of code files and applying it to your site.
03:40 We will see the upgrading process step by step.
03:45 The following steps are applicable to Bitnami Drupal stack.
03:50 But most of the steps are applicable to any other Drupal installation, as well.
03:57 Step No 1:

First put your site into Maintenance mode.

04:03 For that, go to Configuration and click on Maintenance mode under Development.
04:11 Check the option to "Put site into maintenance mode".
04:16 Click on Save configuration button.
04:19 When the Maintenance mode is active, only administrators can login.
04:26 In case you logged out admin by mistake, you can login at the URL of your homepage followed by /user.
04:37 Others will see a message that the site is under maintenance.
04:42 Step No 2:

Let us backup the database of the current version.

04:47 Open your Bitnami Drupal Stack control window.
04:52 Refer the tutorial Installation of Drupal to recollect how to open this control window.
05:00 Click on Open PhpMyAdmin button.
05:05 We are redirected to the phpmyadmin page.
05:10 The default username is root.
05:13 Drupal admin password and phpmyadmin password both are the same.
05:20 So, type the username as root and type your Drupal admin password, then click on Go button.
05:29 To take a backup, first click on Export button at the top panel.
05:36 Then choose the Export method as Custom.
05:40 Select bitnami_drupal8 under the Database list.
05:45 Under the Output section, give the filename template as "drupal-8.1.0" and set the Compression as gzipped.
05:58 The filename could be different based on your current version.
06:03 Under the section Object creation options, put a check-mark on Add DROP DATABASE statement option.
06:12 Put a check-mark on Add DROP TABLE option.
06:16 Scroll down and click on Go button at the bottom.
06:21 Click on OK button to save the file.
06:25 Go to your Downloads folder and check for the backup file "drupal-8.1.0.sql.gz".
06:36 Step No 3:

We should shut down all the servers.

06:42 To stop all the running servers, switch to the Bitnami Drupal Stack control window.
06:49 Click on the Manage Servers tab and then click on the Stop All button.
06:56 Step No 4:

Click on the Welcome tab and then on Open Application Folder button.

07:04 This will open in the file browser.
07:07 Navigate to the folders apps, then drupal and finally htdocs.
07:15 Step No 5:

We have to create a folder to backup the code for the current version of Drupal.

07:24 Name this folder with the current version number.
07:29 Next, move the backup database file to the drupal-8.1.0 folder.
07:36 Step No 6:

Go back to the htdocs folder.

07:42 Next, move the folders core and vendor and all the other files by cut and pasting into the backup folder drupal-8.1.0.
07:55 This will keep both the database and the code in one place.
08:00 This is a backup copy of the old version of the core, in case you have to revert back.
08:07 Step No 7:

Go back to our htdocs folder.

08:13 Next, we have to download the latest version of Drupal.
08:18 Open your web browser and go to the link shown: https://www.drupal.org/project/drupal
08:24 Download the latest recommended version of Drupal 8.
08:28 At the time of this recording, it is Drupal core 8.1.6.
08:35 This version could be different at the time of your viewing.
08:40 Click on it to open.
08:43 Click on the tar.gz or zip file to download.
08:49 Click on the OK button to save it.
08:53 Now, go to your Downloads folder and move the drupal zip file to your htdocs folder.
09:01 drupal-8.1.6.zip file is provided in the Code files link in the webpage of this tutorial.
09:11 If you don’t have internet connection, please download and use it.
09:18 Step No 8:

Unzip the file. This will create a folder drupal-8.1.6 in the htdocs folder.

09:30 Double click on it to open.
09:34 From the new Drupal folder, move the folders core and vendor and all the other regular files to the htdocs folder.
09:44 Step No 9:

Switch to the Bitnami Drupal Stack control window.

09:51 Now, go to Manage Servers tab and start all the servers by clicking on the Start All button.
10:00 Step No 10:

Visit our site by clicking on the Welcome tab, Go to Application button and Access Drupal link.

10:12 Go to Reports and Status report.
10:17 Here, we can confirm the Drupal version number and that it is the latest one.
10:24 But our database is out-of-date.
10:27 Every time there is a core, module or a theme update, the database has to be updated.
10:36 Step No 11:

Let us learn to update the database.

10:42 Go to Extend menu and click on update script link.
10:47 Click on Continue button.
10:51 It says that we have some pending updates. For you, it may be different.
10:58 Click on Apply pending updates button.
11:04 Now click on Administration pages link.
11:08 If there are no errors, we have successfully updated the core.
11:14 Step No 12:

Click on the Go online link.

11:18 Remove the check-mark to Put site to maintenance mode option.
11:25 Click on Save configuration button.
11:29 This will bring back to the site to online mode for all the users.
11:34 The steps discussed so far, work for Bitnami installation.
11:40 If you have used other methods, most of the steps will be the same except for the Bitnami sections.
11:48 Now, let us learn to update themes and modules.
11:53 This is easy compared to the core update because Drupal will do this on a click of a button.
12:01 Sometimes we will have only modules or themes updates without any core update.
12:09 Step No 1:

Click on Reports menu and then Available updates.

12:15 Click on Update tab.
12:19 Here, we can see that we have to update a few themes and modules.
12:25 Select them all.
12:28 Then click on Download these updates button.
12:33 Make sure the check-box is ON for performing updates in maintenance mode.
12:39 Click on Continue button to apply the updates.
12:43 This will update the code and bring back thesite to online mode.
12:49 Step No 2:

Click on the Run database updates link.

12:55 If you have not backed up the database, do it as we did before.
13:01 Click on the Continue button.
13:04 This will update the database like we did for the core update.
13:09 Click on the Apply pending updates button.
13:14 Click on the Administration pages link.
13:18 Drupal will normally bring the site back to online mode.
13:24 If this is not the case, you will see an option at the top of the page to Go online.
13:33 Step No 3:

Finally, let us check everything this is up to date.

13:39 Click on Reports menu and Available updates.
13:44 Here we can see our Drupal core, Modules and Themes everything is up-to-date.
13:51 Next, let us learn how to revert our old version.
13:56 In case our update fails, for some reason you don’t know, we can go back to our previous version.
14:05 For this, we need to restore the old core and database.
14:10 Step No 1:

Put the site into Maintenance mode.

14:17 Step No 2:

Stop all the servers from the Drupal Stack Control window.

14:25 Step No 3:

Open our htdocs folder.

14:30 Move the folders core and vendor and other regular files into the drupal-8.1.6 folder.
14:40 Go back to the htdocs folder and open the previous version folder.
14:44 Then move the folders core and vendor and other regular files from drupal-8.1.0 to htdocs folder.
15:00 Step No 4:

Start the Apache and MySQL servers from the Drupal Stack Control window.

15:11 Step No 5:

Restoring old database.

15:15 Open the phpMyAdmin page from the Drupal Stack Control window.
15:23 Click on the Import button at the top panel.
15:27 Click on the Browse button.
15:30 Here, choose the backup database file.
15:34 Then click on the Go button at the bottom.
15:38 Step No 6:

The final step is checking whether we are back to the old version.

15:45 Switch to our Drupal site.
15:49 Click on Reports menu and Status report.
15:52 Here you can see that now our Drupal version is 8.1.0.
15:59 Note that we can revert only the core and database to the old version.
16:05 The modules and themes were updated by Drupal.
16:10 We did not make a copy of it in Step 6, so we will not see the old versions here.
16:18 With this, we come to the end of this tutorial.
16:22 Let us summarize.
16:25 In this tutorial, we have learnt about important aspects of Site management:

Viewing and analyzing reports Backing up database and code

16:39 Updating Drupal core

Updating modules and themes and Restoring a backed up version.

16:49 This video at this link summarizes the Spoken Tutorial project.
16:54 Please download and watch it.
16:58 The Spoken Tutorial Project team conducts workshops and gives certificates.
17:03 For more details, please write to us.
17:06 Spoken Tutorial Project is funded by NMEICT, Ministry of Human Resource Development and NVLI, Ministry of Culture, Government of India.
17:22 This is Calvin Nikhil Tomy, signing off. Thanks for joining.

Contributors and Content Editors

PoojaMoolya, Pratik kamble, Sandhya.np14