updating Drupal
Updating Drupal 10 Core and Modules
Most Drupal 10 installations on campus will be hosted on OIT Web Hosting and managed through composer (not Installatron as was used for Drupal 7 and earlier). Updating Drupal 10 under composer is relatively straightforward, but does involve several steps:
On a Site's Status Report, Drupal Complains About a Missing Profile
Issue
You are seeing a red error message in Drupal stating that a Drupal profile is missing from the file system. Common examples are "gt_profile" and "gt_install", but the issue could happen with any profile.
After Upgrading to Drupal 7.50 (or Later), I Get Missing Module Warnings
Issue
After upgrading to Drupal 7.50 (or later), you start seeing red error messages that read "The following module is missing from the file system...".
Drupal 7.50 began scanning more carefully for module and theme files, including files for modules and themes that had been disabled, but not uninstalled. Unfortunately, many Drupal site administrators have disabled and deleted modules in the past without running the uninstall process, and once the module has been deleted, you no longer have a way to uninstall it.
Drupal 7 Installatron Updating Tips
Running updates on OIT Web Hosting is essential to ensuring that your site remains safe and responsive to every user. The preferred method of running updates is through Installatron, a server application which manages installed web applications on a hosting account.
Update Check
By default, Installatron will check for core updates in one of two ways:
Configuring the Drupal Update Manager
The Update Manager, if used properly, can provide you an easily-accessible location to view what modules and themes need updating.
The settings for the Update Manager ( admin/reports/updates/settings ) provide a few key settings:
Updating Modules via Drush
If you have to perform module updates on your Drupal site, then Drush is the way to go. Drush will help you to update all modules on your site(s) quickly and painlessly.
Prerequisites
- SSH/shell access
- Somewhat higher than basic Unix/Linux command-line experience
Process
Drush has many commands and options. These commands need to be run from the directory where the settings.php file for your site is, i.e.
/path/to/drupal/sites/default
Updating Drupal 7 Modules
Before You Begin
-
Installatron does not upgrade modules, so even if you use Installatron to manage your Drupal core upgrades, module updates must still be done manually.
-
If you are managing a Drupal 8 or later site via Composer, you do not want to use the following instructions, as all updates will be handled through composer.
Updating Drupal 7 Core Manually
Before You Begin
-
The instructions below are for moving between different releases of the same major version of Drupal (e.g. 7.x, 8.x. etc.) Please see our Site Migrations section for more details on moving to the next major version of Drupal, which is a much more involved process.
-
If you are managing a Drupal 8 or later site via Composer, you do not want to use the following instructions, as all updates will be handled through composer.
Updating Drupal 7 Core Via Installatron
Before You Begin
- To be able to use this method of upgrading, your Drupal site must have been created via Installatron or imported into Installatron.
- Please note that if you installed the Drupal application via Installatron with the update automatically setting, you will not need to go through these steps, as Installat ron will update the site as soon as the new release is posted.
- Important!!! Installatron will overwrite your .htaccess