Drupal/C3/Drupal-Site-Management/English
Title: Drupal Site Management
Keywords: Drupal, Video tutorial, Reports, Help, Site Management, Update, Modules and themes, Back up
|
|
Slide 1:
Drupal Site Management |
Welcome to the Spoken tutorial on Drupal Site Management. |
Slide 2:
Learning Objectives
|
In this tutorial we will learn to
|
Slide 3:
System requirement
|
To record this tutorial, I am using
You can use any web browser as per your choice. |
Slide 4:
Site Management
|
What is Site management?
|
Open our website which we created earlier. | |
Point to Reports menu
|
The starting point of site management is the Reports menu.
|
Click on Reports
|
Click on Reports.
|
Click on Available Updates | Click on Available Updates. |
Point to the updates in red | If anything is in red background, that means there is a security update and we should update it soon. |
Point to the updates in yellow | If it is in yellow, then it is not a security update, but there is an improved version available. |
Click on Settings tab
|
On the Settings tab, we can tell Drupal how frequently to check for updates.
|
Click on Reports, Recent log messages | Under Reports, the Recent log messages gives us a list of errors found by drupal.
|
Click on Reports, Status report
|
Under Reports, the Status report shows installation or configuration problems recognized by Drupal.
|
Click on Reports
Point to Top access denied errors and Top page not found errors |
Under Reports, the Top access denied errors and Top page not found errors are also important.
|
Point to Top search phrases | Top search phrases provides the frequently used words in the search forms of your site. |
Point to Reports menu | Understanding the reporting section of our Drupal website is the first step in maintaining our site. |
Click on Available updates
Point to Drupal core 8.1.6
|
Next let us learn to update Drupal.
|
We will see the upgrading process step by step.
| |
Go to Configuration menu >> Development >> Maintenance mode | Step No 1.
First put your site into maintenance mode.
|
Put checkmark to Put site into maintenance mode | Check the option to Put site into maintenance mode. |
Click on Save configuration | Click on Save configuration button.
|
Show text: localhost:8080/drupal/user | In case you logged out admin by mistake, you can login at the URL of your home page followed by /user.
|
Open Bitnami Drupal Stack
|
Step No 2.
Let us backup the database of the current version.
|
Text: root
click on Go button. |
We are redirected to the phpmyadmin page.
|
Click on Export button | To take a backup, first click on Export button at the top panel. |
choose the Export method as Custom | Then choose the Export method as Custom. |
Select bitnami_drupal8 under the Databases | Select bitnami_drupal8 under the Database list. |
Set file name as drupal-8.1.0 and
Compression as gzipped |
Under the Output section, give the filename template as drupal-8.1.0 and set the Compression as gzipped.
|
Check Add DROP DATABASE statement and Add DROP TABLE | Under the section Object creation options, put a checkmark on Add DROP DATABASE statement option.
|
Scroll down and click on Go | Scroll down and click on Go button at the bottom. |
Click on OK button | Click on OK button to save the file. |
Go to Downloads and point to drupal-8.1.0.sql.gz | Go to your Downloads folder and check for the backup file drupal-8.1.0.sql.gz. |
Switch to the Bitnami Drupal Stack control window | Step No 3.
We should shut down all the servers.
|
Click on the Manage Servers, Stop All button. | Click on the Manage Servers tab and then click on the Stop All button. |
Click on the Welcome tab, Open Application Folder button | Step No 4.
Click on the Welcome tab and then on Open Application Folder button.
|
Navigate apps, drupal, htdocs | Navigate to the folders apps, then drupal and finally htdocs. |
Create new folder | Step No 5.
We have to create a folder to backup the code for the current version of Drupal. |
Rename as drupal-8.1.0 | Name this folder with the current version number. |
Move backup database file to drupal-8.1.0 folder | Next move the backup database file to the drupal-8.1.0 folder. |
Go back to the htdocs folder | Step No 6.
Go back to the htdocs folder. |
Move the folders core, vendor and other files to 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.
|
Go back to our htdocs folder | Step No 7.
Go back to our htdocs folder. |
Open web browser
Go to: https://www.drupal.org/project/drupal
|
Next we have to download the latest version of Drupal.
|
Click on it | Click on it to open. |
Click on the zip file | Click on the tar.gz or zip file to download. |
Click on OK button | Click on the OK button to save it. |
Go to Downloads folder
Move drupal-8.1.6.zip file to htdocs folder |
Now go to your Downloads folder and move the drupal zip file to your htdocs folder.
|
Unzip the file
Point to drupal-8.1.6 folder |
Step No 8.
Unzip the file. This will create a folder drupal-8.1.6 in the htdocs folder. |
Double click on it | Double click on it to open. |
Move the folders core, vendor and other files to htdocs folder | From the new drupal folder move the folders core and vendor and all the other regular files to the htdocs folder. |
Switch to the Bitnami Drupal Stack window | Step No 9.
Switch to the Bitnami Drupal Stack control window. |
Go to Manage Servers
Click Start All button |
Now go to Manage Servers tab and start all the servers by clicking on the Start All button. |
Go to Welcome tab
Click Go to Application, Access Drupal link |
Step No 10.
Visit our site by clicking on the Welcome tab, Go to Application button and Access Drupal link. |
Go to Reports and Status report
|
Go to Reports and Status report.
|
Go to Extend menu and click on update script link. | Step No 11.
Let us learn to update the database.
|
Click on Continue button
|
Click on Continue button.
|
Click Apply pending updates | Click on Apply pending updates button. |
Click on Administration pages link | Now click on Administration pages link.
|
Click on the Go online link | Step No 12:
Click on the Go online link. |
Remove the checkmark to Put site to maintenance mode option | Remove the checkmark to Put site to maintenance mode option.
|
Now let us learn to update themes and modules.
| |
Click on Reports, Available updates. | Step No 1:
Click on Reports menu and then Available updates. |
Click on Update tab | Click on Update tab. |
Select all | Here we can see that we have to update a few themes and modules.
|
Click on Download these updates button
|
Then click on Download these updates button.
|
Click on Continue button | Click on Continue button to apply the updates.
|
Click on Run database updates link | Step No 2.
Click on the Run database updates link.
|
Click on Continue button | Click on the Continue button.
|
Click Apply pending updates | Click on the Apply pending updates button. |
Click on the Administration pages link | Click on the Administration pages link.
|
Click on Reports, Available updates
|
Step No 3.
Finally let us check everything this is up to date.
|
Next let us learn how to revert our old version.
| |
Click Configuration, Put the site into maintenance mode. | Step No 1.
Put the site into maintenance mode. |
Switch Drupal Stack Control window and click Stop all | Step No 2.
Stop all the servers from the Drupal Stack Control window. |
Switch htdocs folder | Step No 3.
Open our htdocs folder. |
Move the folders core, vendor and other files to drupal-8.1.6 | Move the folders core and vendor and other regular files into the drupal-8.1.6 folder. |
Go back to the htdocs folder
Open drupal-8.1.0 folder |
Go back to the htdocs folder and open the previous version folder. |
Move the folders core, vendor and other files to htdocs folder | Then move the folders core and vendor and other regular files from drupal-8.1.0 to htdocs folder. |
Switch Drupal Stack Control window and click Start all | Step No 4.
Start the Apache and MySQL servers from the Drupal Stack Control window. |
Open the phpmyadmin page | Step No 5.
Restoring old database.
|
Click on the Import button | Click on the Import button at the top panel. |
Click on the Browse button
|
Click on the Browse button.
|
Click on the Go button | Then click on the Go button at the bottom. |
Switch to our drupal site
Point to 8.1.0 |
Step No 6.
The final step is checking whether we are back to the old version.
|
Point to database | Note that we can revert only the core and database to the old version. |
The modules and themes were updated by drupal.
| |
With this we come to the end of this tutorial. |
Slide 5:
Summary
|
Let us summarize.
|
Slide 7:
Acknowledgement
|
The video at this link summarises the Spoken Tutorial project.
|
Slide 8:
Spoken Tutorial Workshops
|
The Spoken Tutorial Project Team conducts workshops and gives certificates.
|
Slide 9:
Acknowledgement
|
Spoken Tutorial Project is funded by
Government of India. |
This is Calvin Nikhil Tomy signing off.
|