# Focalboard - “Bot does not exist” when enabling plugin

**URL:** <https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210>\
**Category:** Troubleshooting\
**Created:** [October 9, 2022, 9:41pm UTC](https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210 "2022-10-09T21:41:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simsnet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/simsnet/32/5426_2.png) [@Simsnet](https://forum.mattermost.com/u/Simsnet)\
**Post date:** [October 9, 2022, 9:41pm UTC](https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210/1 "2022-10-09T21:41:44Z")

</div>

I recently became the admin of a Mattermost server, and I’m receiving an error when setting up Focalboard.

This is the error message:

```auto
{"timestamp":"2022-10-09 17:18:29.791 -04:00","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:139","plugin_id":"focalboard","error":"error creating mention notifications backend: failed to ensure Boards bot: failed to patch bot: SqlBotStore.Get: Bot does not exist., "}

```

I’ve looked in the Users table of the database and did not see a bot account for boards. I tried creating one with the username `@boards` but to no avail.

How could I possibly repair this?

The server is running Mattermost Starter Edition 7.0.0.

---

<div class="post-metadata">

**Author:** ![Simsnet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/simsnet/32/5426_2.png) [@Simsnet](https://forum.mattermost.com/u/Simsnet)\
**Post date:** [October 9, 2022, 10:31pm UTC](https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210/2 "2022-10-09T22:31:22Z")

</div>

Did a double take and saw that the bot was missing but the user was not. I let Boards create the bot again and copied its user ID from the Bots table to the Users table.

Seems to be working so far. I try not to mess with SQL but it was a last-resort approach that doesn’t throw errors!

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [October 10, 2022, 5:48am UTC](https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210/3 "2022-10-10T05:48:20Z")

</div>

Hmm… this could have been remrants of an old installation where boards has been not fully removed.  
Is the plugin working now for you?

---

<div class="post-metadata">

**Author:** ![Simsnet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/simsnet/32/5426_2.png) [@Simsnet](https://forum.mattermost.com/u/Simsnet)\
**Post date:** [October 10, 2022, 5:59am UTC](https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210/4 "2022-10-10T05:59:24Z")

</div>

Seems to be. I’ve not seen any errors, and others are able to interact with boards with no issues.

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [October 10, 2022, 6:01am UTC](https://forum.mattermost.com/t/focalboard-bot-does-not-exist-when-enabling-plugin/14210/5 "2022-10-10T06:01:43Z")

</div>

Alright, thanks for the feedback!
