重置密码链接错误

您好!

我在测试我的第一个 discourse 论坛时遇到了重置密码链接的问题,并且在其他帖子中没有找到解决方案。

我附上了我从这个错误中收集到的信息。

错误:

糟糕

为这个讨论论坛提供支持的软件遇到了意外问题。我们对给您带来的不便表示歉意。

有关错误的详细信息已记录,并已生成自动通知。我们会对其进行查看。

无需进一步操作。但是,如果错误状况持续存在,您可以通过在该站点的反馈类别中发布一个讨论主题来提供更多详细信息,包括重现错误的步骤。

来自 domain.example/logs 的信息:

消息(报告了 4 份副本)

ActionView::Template::Error (资产 "ember_jquery.js" 不存在于资产管道中。
)
app/helpers/application_helper.rb:95:in `script_asset_path'
app/helpers/application_helper.rb:146:in `block in preload_script'
app/helpers/application_helper.rb:145:in `map'
app/helpers/application_helper.rb:145:in `preload_script'
app/views/users/password_reset.html.erb:20
app/views/users/password_reset.html.erb:18
app/controllers/users_controller.rb:830:in `block (2 levels) in password_reset_show'
app/controllers/users_controller.rb:820:in `password_reset_show'
app/controllers/application_controller.rb:415:in `block in with_resolved_locale'
app/controllers/application_controller.rb:415:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:368:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
lib/middleware/request_tracker.rb:202:in `call'

回溯

sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:84:in `compute_asset_path'
actionview (7.0.3) lib/action_view/helpers/asset_url_helper.rb:203:in `asset_path'
app/helpers/application_helper.rb:95:in `script_asset_path'
app/helpers/application_helper.rb:146:in `block in preload_script'
app/helpers/application_helper.rb:145:in `map'
app/helpers/application_helper.rb:145:in `preload_script'
app/views/users/password_reset.html.erb:20
actionview (7.0.3) lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
actionview (7.0.3) lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
actionview (7.0.3) lib/action_view/helpers/capture_helper.rb:45:in `capture'

我的邮件文本配置:

非常感谢!!!

Francisco.-

这似乎已在最新版本中修复。您能尝试更新一下吗?

2 个赞

我几天前从 DigitalOcean 安装了它。如何将其更新到最新版本?

您可以在 /admin/upgrade 页面上执行此操作。:+1: 不过,如果您是自托管用户,还应查看此主题 如何手动将 Discourse 和 Docker 镜像更新到最新版本?

我只按照帖子中的第二步操作,问题就解决了。谢谢!

2 个赞