# AI Plugin Build Error - 'bundle exec rake db:migrate' failed

**URL:** https://meta.discourse.org/t/ai-plugin-build-error-bundle-exec-rake-db-migrate-failed/288104
**Category:** Self-hosting
**Tags:** ai
**Created:** [December 10, 2023, 12:05am UTC](https://meta.discourse.org/t/ai-plugin-build-error-bundle-exec-rake-db-migrate-failed/288104 "2023-12-10T00:05:17Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 13, 2023, 12:16am UTC](https://meta.discourse.org/t/ai-plugin-build-error-bundle-exec-rake-db-migrate-failed/288104/9 "2023-12-13T00:16:42Z")

</div>

Do you have ` DISCOURSE_S3_INSTALL_CORS_RULE: false` as described in [Configure an S3 compatible object storage provider for uploads](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916#digital-ocean-spaces-3)?

That doesn’t make any sense, but it’s my only guess.

---

_[View the full topic](https://meta.discourse.org/t/ai-plugin-build-error-bundle-exec-rake-db-migrate-failed/288104)._
