Discourse 新安装的问题

晚上好,

我今天在我的 Kubernetes 集群上成功安装了 Discourse。

到目前为止一切正常,但我遇到了 Discourse 未正确渲染的问题。

我哪里做错了?

2022-03-04-22-10-56-Discourse

我安装了 bitnami 镜像。

谢谢!

1 个赞

这是日志:

discourse 20:59:40.11 INFO ==> 正在预编译资源,这可能需要一些时间...

discourse 21:01:25.15 INFO ==> ** Discourse 设置完成! **

discourse 21:01:25.18 INFO ==> ** 正在启动 Discourse **

=============== Phusion Passenger(R) Standalone Web 服务器已启动 ===============

PID 文件:/opt/bitnami/discourse/passenger.8080.pid

日志文件:/opt/bitnami/discourse/log/passenger.8080.log

环境:production

可通过以下方式访问:http://0.0.0.0:8080/

您可以通过按 Ctrl-C 来停止 Phusion Passenger(R) Standalone。

遇到问题?请查看 https://www.phusionpassenger.com/library/admin/standalone/troubleshooting/

===============================================================================

[ N 2022-03-04 21:01:32.0224 385/T5 age/Cor/SecurityUpdateChecker.h:519 ]:安全更新检查:未找到更新(下次检查将在 24 小时后)

Started HEAD "/" for 127.0.0.1 at 2022-03-04 21:01:55 +0000

Processing by ListController#latest as HTML

Rendered list/list.erb within layouts/crawler (Duration: 33.3ms | Allocations: 10472)

Rendered layout layouts/crawler.html.erb (Duration: 201.9ms | Allocations: 32399)

Completed 200 OK in 1116ms (Views: 209.7ms | ActiveRecord: 0.0ms | Allocations: 194757)

Started GET "/" for 127.0.0.1 at 2022-03-04 21:03:26 +0000

Processing by ListController#latest as HTML

Rendered list/list.erb within layouts/application (Duration: 4.3ms | Allocations: 787)

Rendered layout layouts/application.html.erb (Duration: 308.9ms | Allocations: 83557)

Completed 200 OK in 657ms (Views: 312.5ms | ActiveRecord: 0.0ms | Allocations: 140796)

Started GET "/discoutse" for 127.0.0.1 at 2022-03-04 21:03:31 +0000

ActionController::RoutingError (No route matches [GET] "/discoutse")

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'

Rendered exceptions/not_found.html.erb within layouts/no_ember (Duration: 2.5ms | Allocations: 630)

Rendered layout layouts/no_ember.html.erb (Duration: 27.8ms | Allocations: 4067)

Rendered html template (Duration: 0.0ms | Allocations: 2)

Started GET "/discourse" for 127.0.0.1 at 2022-03-04 21:03:35 +0000

ActionController::RoutingError (No route matches [GET] "/discourse")

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'

Rendered exceptions/not_found.html.erb within layouts/no_ember (Duration: 0.8ms | Allocations: 139)

Rendered layout layouts/no_ember.html.erb (Duration: 21.7ms | Allocations: 2371)

Rendered html template (Duration: 0.0ms | Allocations: 2)

[ N 2022-03-04 21:08:38.9746 385/T4 age/Cor/CoreMain.cpp:1147 ]:正在检查是否断开进程 565 的长连接,应用程序 /opt/bitnami/discourse (production)

[ N 2022-03-04 21:08:39.0662 385/T4 age/Cor/CoreMain.cpp:1147 ]:正在检查是否断开进程 469 的长连接,应用程序 /opt/bitnami/discourse (production)

[ N 2022-03-04 21:08:49.3180 385/T4 age/Cor/CoreMain.cpp:1147 ]:正在检查是否断开进程 617 的长连接,应用程序 /opt/bitnami/discourse (production)

虽然 Discourse 是免费且开源的软件,但我们仅为遵循我们官方安装指南的生产环境安装提供免费支持。

由于您使用的是 bitnami 提供的软件包,因此您需要使用他们的支持渠道来处理此安装,因为这不是 Discourse 团队创建的。

5 个赞