Answers.Body: <p>Ok - I went the long way around -&gt; used civix to generate an extension of that name -&gt; then pulled it into the site's extensions dir -&gt; and installed it.</p>
  <p>Now I can run <code>cv ext:upgrade-db</code> and execute much needed extension updates </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-21T21:47:40.310Z
Answers.LastActivityDate: 2021-03-21T23:51:29.857Z
Answers.LastEditDate: 2021-03-21T23:51:29.857Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I get this
  <code>[error_message] =&gt; Entity declaration references invalid or inactive module name [name_of_extension]</code></p>
  <p>When trying to run:
  <code>cv ext:upgrade-db</code></p>
  <p>It's an extension I don't recognize - but yeah it does not exist for this site.</p>
  <p>It's not in <code>civicrm_extension</code> - it's not not in <code>civicrm_managed</code>. Where do I need to look to find this and strip it?</p>
  
Tags: <extension>
Title: How to solve [error_message] => Entity declaration references invalid or inactive module name
ThreadText: # How to solve [error_message] => Entity declaration references invalid or inactive module name
  
  (Asked by: username_0 on 2021-03-21)
  
  I get this
  `[error_message] => Entity declaration references invalid or inactive module name [name_of_extension]`
  
  When trying to run:
  `cv ext:upgrade-db`
  
  It's an extension I don't recognize - but yeah it does not exist for this site.
  
  It's not in `civicrm_extension` - it's not not in `civicrm_managed`. Where do I need to look to find this and strip it?
  
  **Tags:** extension
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-03-21. Score: 1
  
  Ok - I went the long way around -> used civix to generate an extension of that name -> then pulled it into the site's extensions dir -> and installed it.
  
  Now I can run `cv ext:upgrade-db` and execute much needed extension updates
  
  
  ---
  
  