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 Moodle

You can install Moodle on all AwardSpace web hosting plans. This includes our free web hosting, shared hosting, and the advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. You can also install Moodle in minutes, whichever you choose. Keep in...

How to Check If SELinux Is Enabled in MediaWiki

Although installing MediaWiki and logging in to the platform is a simple task, setting up the CMS can be challenging at times, especially when the process involves server configurations. A critical aspect of web server security is the so-called Security-Enhanced Linux...

How to View and Manage Recent Images in MediaWiki

MediaWiki offers numerous versatile tools that help you manage and display recent images on your wiki pages. This guide showcases how to view and manage recent images in MediaWiki, so you can make it easier for logged-in users and admins to organise image content on...

How to Enable and Customize User Glow in MediaWiki

Now that you have installed MediaWiki and logged in to the admin panel, and you also learned how to add modules, it is time to make your wiki a bit more engaging and user-friendly. There are numerous ways to customize your Wiki project and one handy approach is to add...

How to Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...



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 Moodle

You can install Moodle on all AwardSpace web hosting plans. This includes our free web hosting, shared hosting, and the advanced AwardSpace services such as Semi-Dedicated Hosting and VPS hosting. You can also install Moodle in minutes, whichever you choose. Keep in...

How to Check If SELinux Is Enabled in MediaWiki

Although installing MediaWiki and logging in to the platform is a simple task, setting up the CMS can be challenging at times, especially when the process involves server configurations. A critical aspect of web server security is the so-called Security-Enhanced Linux...

How to View and Manage Recent Images in MediaWiki

MediaWiki offers numerous versatile tools that help you manage and display recent images on your wiki pages. This guide showcases how to view and manage recent images in MediaWiki, so you can make it easier for logged-in users and admins to organise image content on...

How to Enable and Customize User Glow in MediaWiki

Now that you have installed MediaWiki and logged in to the admin panel, and you also learned how to add modules, it is time to make your wiki a bit more engaging and user-friendly. There are numerous ways to customize your Wiki project and one handy approach is to add...

How to Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...

How to Fix MediaWiki Internal Error: A Step-By-Step Guide

MediaWiki Internal Error message can be very frustrating and can significantly harm your MediaWiki project. Luckily, the issue can be fixed in a few easy-to-follow steps to get your website up and running in no time. There are various causes for the issue: Incorrect...

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.