Getting 500 Errors when posting a topic after an upgrade

Hi there, I have just upgraded our forum from a beta release to a stable release and we are now getting 500 errors whenever we try to post a new topic.

I am seeing the following errors in the log.

ActiveRecord::StatementInvalid (PG::InFailedSqlTransaction: ERROR:  current transaction is aborted, commands ignored until end of transaction block

)
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.0.2/lib/patches/db/pg.rb:69:in `exec_params’

Failed to handle exception in exception app middleware : PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block

Job exception: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block

Thanks

Mark

Hello Mark, what beta release were you on and to what stable release did you upgrade to?

We believe from 2.6.0.beta3 to 2.5.5 stable

If you are on a beta release you’ll need to wait until the next stable release to switch to stable. You cannot downgrade. The good news is that there will be a stable release very soon.

1 Like