# Deployment issue with Mattermost AI plugin

**URL:** <https://forum.mattermost.com/t/deployment-issue-with-mattermost-ai-plugin/22652>\
**Category:** Troubleshooting\
**Created:** [February 26, 2025, 4:36am UTC](https://forum.mattermost.com/t/deployment-issue-with-mattermost-ai-plugin/22652 "2025-02-26T04:36:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![goforman](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@goforman](https://forum.mattermost.com/u/goforman)\
**Post date:** [February 26, 2025, 4:36am UTC](https://forum.mattermost.com/t/deployment-issue-with-mattermost-ai-plugin/22652/1 "2025-02-26T04:36:50Z")

</div>

Mattermost AI plugin won’t go away, even on a fresh install.

Been banging my head against this for like 10 hours, and stuck. I’m running Mattermost Team Edition (latest) and keep getting the “Only one bot allowed with current license” error—even after a completely fresh install.

Here’s what I’ve tried:

Disabled the AI plugin in `config.json` (`"Enable": false` under `PluginStates`).  
Deleted everything related to `mattermost-ai`\*\* from `/mattermost/plugins/`, `/mattermost/prepackaged_plugins/`, and `/mattermost/client/plugins/`.  
Removed any leftover plugin data from the database (`PluginKeyValueStore`).  
Restarted and reinstalled from scratch at least five hundred times, making sure there’s no old data left.

The issue:

Mattermost keeps reinstalling `mattermost-ai`, even though I’ve explicitly disabled it and removed all traces of it.  
This “Only one bot allowed” error keeps coming up and blocking everything.  
I would like to have the AI plugin to play around with but dont need it.

How do I permanently stop Mattermost from reinstalling this plugin?  
Is there a hidden setting, cache, or something I missed?  
Anyone else run into this and actually fixed it?

Any ideas?

---

<div class="post-metadata">

**Author:** ![john.combs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.combs/32/7118_2.png) [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Post date:** [March 4, 2025, 8:14pm UTC](https://forum.mattermost.com/t/deployment-issue-with-mattermost-ai-plugin/22652/2 "2025-03-04T20:14:04Z")

</div>

Hi @goforman, thanks for sharing the details! It sounds like you’re encountering a persistent issue with the AI plugin, which might be related to prepackaged plugins. You can try setting `"EnableUploads": false` in the `PluginSettings` section of your `config.json` to stop prepackaged plugins from reinstalling. For more details, check out our [Plugin configuration guide](https://docs.mattermost.com/administration/plugins.html#plugin-uploads). Let us know how it goes!
