Updating Drupal
Keeping your Drupal installation updated is critical for security, stability, and access to new features. On ruachost.com, you can update Drupal using Drush, Softaculous, or manual methods.
Why Update Drupal?
Section titled “Why Update Drupal?”- Security → Updates patch vulnerabilities and protect your site from attacks.
- Stability → Bug fixes improve reliability and reduce errors.
- Features → New releases include enhancements and functionality improvements.
Methods to Update Drupal
Section titled “Methods to Update Drupal”Method 1: Update with Drush
Section titled “Method 1: Update with Drush”-
Log in to your server via SSH.
-
Navigate to your Drupal installation directory.
-
Run the following command:
drush up -
Drush will download and apply the latest updates.
-
Clear caches:
Terminal window drush cache-rebuild
✅ Fast and ideal for automation (can be scheduled via cron).
Method 2: Update with Softaculous
Section titled “Method 2: Update with Softaculous”- Log in to your ruachost.com Hosting Panel.
- Go to Softaculous Apps Installer → Drupal.
- If an update is available, you’ll see an Update option.
- Click Update and follow the prompts.
✅ Simple and user‑friendly, recommended for beginners.
Method 3: Manual Update
Section titled “Method 3: Manual Update”-
Back up your site (files + database).
-
Download the latest Drupal version from Drupal.org.
-
Extract the files locally.
-
Replace all files in your Drupal installation except:
/sitesdirectory (contains your configuration).settings.phpfile.
-
Run the update script:
https://example.com/update.php -
Follow the on‑screen instructions.
✅ Recommended for advanced users who need full control.
Important Notes
Section titled “Important Notes”- Always back up your site before updating.
- Test updates on a staging environment before applying to production.
- Clear caches after updates to avoid conflicts.