Generating mailing logs for console to check installation?

AI-generated summary

Zooey encountered mailing errors after a local Docker install of Discourse, which blocked admin account creation. Seeking logs to diagnose the issue, they asked if there’s a console command to generate mailing logs. itsbhanusharma advised against local Docker installs for development, suggesting the official development guide instead, and noted logs can be found by entering the container. Zooey shared a YouTube example of successful local installs and reiterated the need for internal console logging. itsbhanusharma admitted unawareness of such a command. Zooey resolved to keep searching and share findings. Later, pfaffman suggested running rake admin:create, which Zooey confirmed solved the login issue, referencing this guide.

I seem to be running with mailing errors after a local install with docker (I want to tamper with discourse, planning to use it on some sites in the future).

The problem is that it requires mail to create admin. I’ve checked last threads about the issue to no avail.

So I’d want to know if it is possible to generate logs about mailing to discover what might be failing.

Thanks!!

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!

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

Search for

rake admin:create

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

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