Cannot uninstall AI Search. Milvus Provider does not exist
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3558571. -->
Reported by: [jbuttler](https://www.drupal.org/user/3437983)
>>>
<p>Whenever I try to uninstall the deprecated AI Search, I receive an error Plugin (milvus) instance class "Drupal\ai_vdb_provider_milvus\Plugin\VdbProvider\MilvusProvider" does not exist.</p>
<p>I have reinstalled and configured Milvus 1.1.0-beta2 but this still does not allow me to uninstall AI Search.</p>
<p>1. Uninstall AI search with drush. The response is:<br>
"The following extensions will be uninstalled: ai_search, ai_vdb_provider_milvus".<br>
2. I confirm the uninstall.<br>
3. Milvus module is uninstalled.<br>
4. An error in the CLI is generated:<br>
"In Container.php line 159: You have requested a non-existent service "milvus_v2.api".<br>
5. This error prevents the AI search module from being uninstalled.<br>
6. Attempt to uninstall AI Search again using drush. The response is:<br>
"In DefaultFactory.php line 97: Plugin (milvus) instance class "Drupal\ai_vdb_provider_milvus\Plugin\VdbProvider\MilvusProvider" does not exist.<br>
7. I resinstall Milvus and try again. Go back to step 1. This prevents AI search from ever being uninstalled.</p>
<p>I have followed the procedures at <a href="https://www.drupal.org/project/ai_vdb_provider_milvus/issues/3485610">https://www.drupal.org/project/ai_vdb_provider_milvus/issues/3485610</a> and installed the patch successfully, but this still does not allow uninstallation of the AI search module.</p>
<p>Any help is greatly appreciated. Thank you for your time!</p>
issue