# Bootstrap error with ai plugin, bundle exec rake db:migrate

**URL:** <https://meta.discourse.org/t/bootstrap-error-with-ai-plugin-bundle-exec-rake-db-migrate/371514>\
**Category:** Product Support\
**Tags:** ai\
**Created:** [June 24, 2025, 4:12pm UTC](https://meta.discourse.org/t/bootstrap-error-with-ai-plugin-bundle-exec-rake-db-migrate/371514 "2025-06-24T16:12:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Thomas\_Rother](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_rother/32/423597_2.png) [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Post date:** [July 10, 2025, 7:32pm UTC](https://meta.discourse.org/t/bootstrap-error-with-ai-plugin-bundle-exec-rake-db-migrate/371514/5 "2025-07-10T19:32:25Z")

</div>

In my case the database part of Discourse is located on an external server and not part of the standard bundle of Discourse containers. The vector extension must be installed with different permissions compared to the database user for Discourse. Therefore the installation had to be performed manually, not as one step of the bootstrap process.

---

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