重建过程导致 db:migrate 错误,由于一个插件损坏

您好,

我想将 Discourse 连接到一个单独的 PostgreSQL 服务器。我在 Azure 中创建了一个数据库服务器,并遵循了以下链接中提到的相同步骤。

在重建应用程序时,我遇到了以下错误。论坛也宕机了。

有人能帮我解决这个问题吗?

如果您需要任何其他信息,请告诉我。

Discourse_Error_Logs.txt (53.7 KB)

1 个赞

您正在使用哪个版本的 PostgreSQL?我认为需要 12 版本。推荐使用 13 版本。

1 个赞

PostgreSQL 版本:13.4

1 个赞

https://github.com/liip/discourse-multilingual-support 是一个损坏的插件。

I, [2022-03-07T10:24:30.440910 #1]  INFO -- : cd /var/www/discourse & su discourse -c 'bundle exec rake db:migrate'
rake aborted!
LoadError: cannot load such file -- single_sign_on
...
/var/www/discourse/plugins/discourse-multilingual-support/plugin.rb:18:in `block (2 levels) in activate!'
...
3 个赞

它奏效了!!! :slightly_smiling_face: 非常感谢您迅速回复我以解决此问题。

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.