Deployment issue with Mattermost AI plugin

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?

1 Like

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. Let us know how it goes!