Milk
(Milk)
2023 年5 月 26 日 00:31
1
nginx 访问日志显示“212.229.85.68 - milkii [26/May/2023:00:23:51 +0000] “PUT /shared_edits/p/20/enable.json HTTP/2.0” 500 46 “https://x.xxxxxxxxx.x/t/shared-editing-test-thread/15 ” “Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0””
我对 Discourse 相对陌生,但并非不擅长系统管理。有什么建议吗?我可能遗漏了什么吗?谢谢!
1 个赞
在 /logs 中是否有更多详细信息,或者在执行操作时浏览器控制台中是否有更多详细信息?
您能否分享您已安装的其他插件列表?
2 个赞
Milk
(Milk)
2023 年5 月 26 日 09:57
3
啊,有一个错误;
ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "shared_edit_revisions" does not exist
LINE 8: WHERE a.attrelid = '"shared_edit_revisions"'::regclass
^
)
app/controllers/application_controller.rb:387:in `block in with_resolved_locale'
app/controllers/application_controller.rb:387:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/middleware/content_security_policy.rb:12:in `call'
lib/middleware/anonymous_cache.rb:361: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:198:in `call'
Failed to handle exception in exception app middleware : PG::UndefinedTable: ERROR: relation "shared_edit_revisions" does not exist
LINE 8: WHERE a.attrelid = '"shared_edit_revisions"'::regclass
1 个赞
Milk
(Milk)
2023 年5 月 26 日 10:01
4
discourse-calendar
discourse-checklist
discourse-fontawesome-pro
discourse-footnote
ldap
discourse-shared-edits
discourse-spoiler-alert
styleguide
还有日志错误
Job exception: PG::UndefinedTable: ERROR: relation \"discourse_calendar_post_event_dates\" does not exist
LINE 8: WHERE a.attrelid = '\"discourse_calendar_post_event_dates\"':...
^
1 个赞
我不确定为什么它没有那些?这是标准安装吗?
尝试运行 ./launcher rebuild app 看看是否能解决问题可能会有帮助。
2 个赞
Milk
(Milk)
2023 年5 月 26 日 19:28
6
1 个赞
我不熟悉这种方法(并且只支持标准的安装),但它似乎附带了一个过时的 Stable 版本:
已发货版本: 2.8.13~ynh1
如果可以的话,您可能想尝试标准的安装,以便利用所有最新的插件和功能。 (并获得更多来自这里人们的支持 )
4 个赞
system
(system)
关闭
2023 年8 月 19 日 11:22
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.