Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Remove - Uninstall a deleted module from drupal registry

By editor , 4 April, 2018
Question

How to uninstall a deleted module manually from drupal registry, to avoid warning messages ?
How to fix "The following module is missing from the file system..." warning messages ?

When you remove a module manually or re import a database, some times you have a message like "The following module is missing from the file system...". this is due to deleted modules.

To uninstall the module properly via drush:
1. Remove from DB:
    drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='module_name';"
  Example : module devel
    drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='devel';"
2. Clear cache.
    drush cr

Fore more info see : https://www.drupal.org/node/2487215

Tags

  • Drupal 8
  • Drush
  • Module
  • Add new comment
Cache Clearing and rebuilding methods for Drupal 8

Comments1

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

StephenHamlin (not verified)

8 years 5 months ago

Uninstall a deleted module from drupal registry

This is my first visit here and I am really impressed by reading the information content you provided. It is very unique and useful. I am very thankful to you as I am in search of finding this type articles and finally I get it from you. Now I am very happy as I get this quality and genuine information from you. Hope you will share more article like this further. It is my pleasure to read this. For any kind of academic writing work Visit

  • Reply

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer