升级后发帖出现500错误

你好,我们刚刚将论坛从测试版升级到了稳定版,现在每次尝试发布新主题时都会出现 500 错误。

我在日志中看到了以下错误:

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’

异常应用中间件处理异常失败:PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block

作业异常:PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block

谢谢,

Mark

你好 Mark,你之前使用的是哪个测试版?又升级到了哪个稳定版?

我们相信从 2.6.0.beta3 到 2.5.5 稳定版

如果您正在使用测试版(beta)发布版本,您需要等到下一个稳定版发布才能切换到稳定版。无法降级。好消息是,稳定版很快就会发布。