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 Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...



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 Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...

How to Disable PHP Error Messages

When running a PHP-based website in a production environment, it's crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support...

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.