# AI with with new quota faills to rebuild

**URL:** <https://meta.discourse.org/t/ai-with-with-new-quota-faills-to-rebuild/348153>\
**Category:** Product Support\
**Tags:** ai\
**Created:** [January 21, 2025, 10:30am UTC](https://meta.discourse.org/t/ai-with-with-new-quota-faills-to-rebuild/348153 "2025-01-21T10:30:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [January 21, 2025, 10:30am UTC](https://meta.discourse.org/t/ai-with-with-new-quota-faills-to-rebuild/348153/1 "2025-01-21T10:30:07Z")

</div>

I guess this is more or less bug thingy, but what so ever. Few moments ago rebuilding failed. Without Discourse AI it went thru.

This was the first strange one, but I don’t think it’s relevant.

```plaintext

I, [2025-01-21T10:15:39.800894 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.2
      - 3.1.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.

```

Here it starts

```plaintext
I, [2025-01-21T10:16:08.572988 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Plugin name is 'discourse-microsoft-auth', but plugin directory is named 'discourse-plugin-office365-auth'
rake aborted!
ActiveRecord::DuplicateMigrationNameError: (ActiveRecord::DuplicateMigrationNameError)

Multiple migrations have the name EnablePgVectorExtension.

```

And lastly we got this lesser informative part:

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 990 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1

```

---

_[View the full topic](https://meta.discourse.org/t/ai-with-with-new-quota-faills-to-rebuild/348153)._
