为检查安装情况,是否为控制台生成邮件日志?

我在使用 Docker 进行本地安装后,似乎遇到了邮件发送错误(我想修改 Discourse,并计划在未来的一些网站上使用它)。

问题是系统要求通过邮件来创建管理员账户。我已经查看了关于此问题的最新讨论,但未能找到解决方案。

因此,我想知道是否可以生成有关邮件发送的日志,以发现可能出错的地方。

谢谢!!

I don’t think You’re supposed to run docker install locally.
If you’re interested in development, install using discourse for development guide.

There are ways to retrieve logs by entering the container and looking for relevant logs (search for where are all the logs on this forum)

Maybe… I still tried haha, I know there’s people who’ve done it successfully.

For example:

Anyways… Isn’t there any command to generate logs internally at console level?

There may be! but I’m not aware of it!

1 个赞

okay thanks. Will keep searching and if I find a way I’ll post it here, might be useful for somebody else!

1 个赞

Search for

rake admin:create

Edit: Breakfast was calling. Glad this was enough to solve your problem!

4 个赞

that actually solved the login problem!!! thanks!!

4 个赞