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

Do you have DISCOURSE_S3_INSTALL_CORS_RULE: false as described in Configure an S3 compatible object storage provider for uploads?

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