500-fouten bij het plaatsen van een onderwerp na een upgrade

AI-generated summary

A user named yerttle reports encountering 500 errors when posting new topics after upgrading their Discourse forum from a beta release (2.6.0.beta3) to a stable release (2.5.5). The error logs indicate a PostgreSQL transaction failure: PG::InFailedSqlTransaction. osioke asks for clarification on the versions involved, and yerttle confirms the upgrade path. pfaffman explains that downgrading from a beta to a stable release is not supported and advises waiting for the next stable release, which is expected soon. The core issue stems from an unsupported version downgrade, triggering database transaction errors during topic creation. No immediate fix is offered beyond version alignment.

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.