# Generating mailing logs for console to check installation?

**URL:** https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301
**Category:** Self-hosting
**Created:** [June 20, 2018, 12:28pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301 "2018-06-20T12:28:08Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Zooey](https://avatars.discourse-cdn.com/v4/letter/z/c2a13f/32.png) [@Zooey](https://meta.discourse.org/u/Zooey)
#### Post date: [June 20, 2018, 12:28pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/1 "2018-06-20T12:28:08Z")

</div>

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!!

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [June 20, 2018, 12:34pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/2 "2018-06-20T12:34:57Z")

</div>

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)

---

<div class="post-metadata">

### Author: ![Zooey](https://avatars.discourse-cdn.com/v4/letter/z/c2a13f/32.png) [@Zooey](https://meta.discourse.org/u/Zooey)
#### Post date: [June 20, 2018, 1:22pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/3 "2018-06-20T13:22:26Z")

</div>

> [@itsbhanusharma](#):
>
> I don’t think You’re supposed to run docker install locally.

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

For example:

[![](https://global.discourse-cdn.com/meta/original/4X/e/4/b/e4b34352bb690c027ff1095059a63e66793e3fd8.jpeg "How to install Discourse on Ubuntu 16.04") ](https://www.youtube.com/watch?v=BN-aGctqafY)

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

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [June 20, 2018, 1:24pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/4 "2018-06-20T13:24:41Z")

</div>

> [@Zooey](#):
>
> Isn’t there any command to generate logs internally at console level?

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

---

<div class="post-metadata">

### Author: ![Zooey](https://avatars.discourse-cdn.com/v4/letter/z/c2a13f/32.png) [@Zooey](https://meta.discourse.org/u/Zooey)
#### Post date: [June 20, 2018, 1:27pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/5 "2018-06-20T13:27:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 20, 2018, 2:04pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/6 "2018-06-20T14:04:09Z")

</div>

Search for

```
rake admin:create

```

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

---

<div class="post-metadata">

### Author: ![Zooey](https://avatars.discourse-cdn.com/v4/letter/z/c2a13f/32.png) [@Zooey](https://meta.discourse.org/u/Zooey)
#### Post date: [June 20, 2018, 2:09pm UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/7 "2018-06-20T14:09:59Z")

</div>

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

> [@Create an admin account from the console](https://meta.discourse.org/t/create-admin-account-from-console/17274):
>
> bookmark This guide provides instructions for creating an admin account or granting admin privileges using the console in a self-hosted Discourse installation. person_raising_hand Required user level: System Administrator warning Console access required So you want to create/grant Admin privileges or reset user password from console? Great, let’s get started! This guide will cover the following: Accessing the console Creating a new account with admin privileges Resetting an existin…

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 3, 2021, 10:44am UTC](https://meta.discourse.org/t/generating-mailing-logs-for-console-to-check-installation/90301/8 "2021-01-03T10:44:10Z")

</div>


