更新后出现错误,论坛无法正常运行

最新的日志如下:

59

ActionView::Template::Error (unknown attribute ‘external_plugin_imports’ for JavascriptCache.) app/models/theme.rb:225:in ‘Theme#update_javascript_cache!’ app/models/theme.rb:485:in 'block (2 levels)

下午 12:38

252

Job exception: ERROR: column “source” does not exist LINE 10: AND source = 1 ^ HINT: Perhaps you meant to reference the column “browser_pageview_events.score”.

下午 12:45

209

ActionView::Template::Error (unknown attribute ‘external_plugin_imports’ for JavascriptCache.) app/models/theme.rb:225:in ‘Theme#update_javascript_cache!’ app/models/theme.rb:485:in 'block (2 levels)

下午 12:50


论坛前端变成了这样:

请再次在命令行中尝试运行 ./launcher rebuild app。这样有帮助吗?

可能是缺少迁移文件,所以 Nate 的回答应该会有帮助。

或者为了更快,仅执行迁移:./launcher run app bundle exec rake db:migrate

然后仅重启:./launcher restart app

谢谢!我终于搞定了!

首先,我采纳了你的建议,然后将其与 Nate 的回复结合起来。非常感谢!!!