How to Update Drupal Module

Home » Knowledge Base » Design Tools » Drupal » How to Update Drupal Module

Updating a Drupal module involves several steps to ensure the process is smooth and doesn’t disrupt your site.

Here’s a detailed guide to help you update a Drupal module.

Read also: How to Install a Drupal Module

 

How to Update Drupal Module

Step 1: Check for Module Updates

You can check for available module updates through the Drupal admin interface. After you log in to Drupal, navigate to go to Reports -> Available updates:

From there, you can check whether your installed Drupal modules are up to date:

How to Update Drupal Module Reports Section

 

Step 2: Download the New Module Version

If you notice a module that is not up to date, it is time to fix that.

To do so, you should download the module’s latest version from the official Drupal website and upload it to your Drupal website.

Here’s how to do that step by step:

Download the Module: Go to the module’s page on Drupal.org and download the latest version:

Download Drupal Module

 

Extract the Files: Extract the downloaded archive on your computer device.

Replace the Old Module: Replace the old module files in sites/all/modules (or modules/custom or modules/contrib depending on where the module is located) with the new files. Ensure the directory name remains the same.

To do so, log in to your AwardSpace hosting panel, and navigate to File Manager:

AwardSpace hosting panel File Manager

 

Then, locate the root folder of your Drupal website:

Drupal website root folder

 

After that, go to Modules:

Drupal website Modules root folder

 

After that, replace the old module files with the ones you downloaded on your computer device. To do so, open the module’s root folder, and click on the blue Upload button at the top of the page:Upload new Drupal Module on Your Server

Then, find the extracted files on your computer device and upload them to the module’s root folder you wish to update.

 

Step 3: Run Database Updates

After updating the module files, you may need to run database updates.

Go to your-drupal-site.com/update.php.

Follow the on-screen instructions to run the update script:

Drupal Website Database Updates

 

Step 4: Clear Website Cache

It’s important to clear the cache after updating a module to ensure the changes take effect.

Via your Drupal admin panel, navigate to Configuration: Configuration -> Development -> Performance:

Clear Drupal website cache

 

Then, click on the Clear all caches button.

By following these steps, you can update a Drupal module safely and efficiently.

Read also:

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Remove a Product in OpenCart

After installing OpenCart and logging in to the dashboard, you can start adding and removing products immediately. We have already covered how to add products in OpenCart, and in this article, we share simple steps to delete products from your store with only a few...

How to Add Products in OpenCart

The most important element in your OpenCart project is the products you will offer your site visitors. In the following paragraphs, we share how to add products to your OpenCart website.   How to Create Products in Opencart The process of adding new products in...

How to Log in to OpenCart

After you install OpenCart, you can log in to the platform and start working on your project right away. To log in, you should open the OpenCart login page and enter the credentials you chose when installing the CMS. This will open the platform’s admin panel. In the...

How to Install OpenCart

You can install OpenCart on every AwardSpace web hosting plan, including our free web hosting, shared hosting, and advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. Keep in mind that all of the AwardSpace hosting services are tailored to run...

How to Change My Last Name in Moodle

If you are asking yourself "How to change my last name in Moodle", then you are at the right place. This guide will walk you through the steps for changing your last name in Moodle while addressing common concerns like ratings and discussions.   How to Change My...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Remove a Product in OpenCart

After installing OpenCart and logging in to the dashboard, you can start adding and removing products immediately. We have already covered how to add products in OpenCart, and in this article, we share simple steps to delete products from your store with only a few...

How to Add Products in OpenCart

The most important element in your OpenCart project is the products you will offer your site visitors. In the following paragraphs, we share how to add products to your OpenCart website.   How to Create Products in Opencart The process of adding new products in...

How to Log in to OpenCart

After you install OpenCart, you can log in to the platform and start working on your project right away. To log in, you should open the OpenCart login page and enter the credentials you chose when installing the CMS. This will open the platform’s admin panel. In the...

How to Install OpenCart

You can install OpenCart on every AwardSpace web hosting plan, including our free web hosting, shared hosting, and advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. Keep in mind that all of the AwardSpace hosting services are tailored to run...

How to Change My Last Name in Moodle

If you are asking yourself "How to change my last name in Moodle", then you are at the right place. This guide will walk you through the steps for changing your last name in Moodle while addressing common concerns like ratings and discussions.   How to Change My...

How to Change Your Name in Moodle

Changing your name in Moodle is a very simple task and requires only a few minutes of your time.   How to Change My Name in Moodle The process is comprised of a few easy-to-follow steps:   Step 1: Log in to Moodle After installing the CMS, you should log in...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.