Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Drupal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 55
    • Issues 55
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Development
  • Drupal
  • Issues
  • #118

Closed
Open
Created Apr 22, 2020 by johnk@johnk

civicrm_views module no longer present causing updatedb error: "The module civicrm_views does not exist"

CiviCRM 5.24.4 with Drupal 8.8.5. The last few version upgrades, now, I get this error from updatedb.

In ExtensionList.php line 265:                                               
                                                                               
    The module civicrm_views does not exist.

I thought I was able to fix it, before, with a drush pm:uninstall civicrm_views. (I don't need it.) But the error came back. This time I was only able to resolve it by copying civicrm_views from my vendor/civicrm/civicrm-drupal-8/modules/ into web/modules/contrib/civicrm/modules. I can then run the updatedb. Even though I now have this module disabled, I can't remove it from web/modules or I get this in my Apache log upon going to the status page:

Uncaught PHP Exception Drupal\\Core\\Extension\\Exception\\UnknownExtensionException: "The module civicrm_views does not exist or is not installed." at /var/www/acreresidency.org/web/core/lib/Drupal/Core/Extension/ExtensionList.php line 346

Was this recently taken out of the set of modules and stuff that gets installed by the composer scripts? I'm thinking back to when I used to have to do some of this install work manually, and then eventually composer took over for me.

If I had to take a guess at what this bug is: civicrm_views got removed from what is installed by default, but I already had it installed. And the module doesn't properly clean up after itself on uninstall?

I seem to recall I also, for one of the upgrades, had to remove a line saying "civicrm_views" from an extensions list that's in my config/sync. Just now I looked in the database too. I tried out some "LIKE" queries with "civicrm_view%", and I wasn't able to find anything in my drupal_config table that relates to this module.

How screwed up is my install now? I should have reported this sooner.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking