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

That is true. Here is what worked for me.

  • Using bitnami discourse chart
  • Override dockerfile for bitnami postgres and install vector as root
  • at the startup of postgres ran an init script to make the discourse user the owner of vector
  • rest(including installing of plugin) is taken care by the bitnami chart

I learned this the hard way. I wish there were some documentation around this. The plugin docs should mention some prerequisite.