# Discourse AI install error

**URL:** <https://meta.discourse.org/t/discourse-ai-install-error/274544>\
**Category:** Self-hosting\
**Tags:** ai\
**Created:** [August 9, 2023, 5:59pm UTC](https://meta.discourse.org/t/discourse-ai-install-error/274544 "2023-08-09T17:59:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/583727_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**Post date:** [August 9, 2023, 6:04pm UTC](https://meta.discourse.org/t/discourse-ai-install-error/274544/2 "2023-08-09T18:04:48Z")

</div>

> [@Martin\_Ju](#):
>
> ```plaintext
> Caused by:
> ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "vector"
> HINT: Must be superuser to create this extension.
> 
> ```

Try again as a superuser. (Not everything works if you are not a superuser.)

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-install-error/274544)._
