# The primary user creation command does not work rake admin:create

**URL:** https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950
**Category:** Self-hosting
**Created:** [July 6, 2020, 7:24pm UTC](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950 "2020-07-06T19:24:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tatar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tatar/32/184404_2.png) [@tatar](https://meta.discourse.org/u/tatar)
#### Post date: [July 6, 2020, 7:24pm UTC](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950/1 "2020-07-06T19:24:11Z")

</div>

Hi All!

I started deploying and configuring discourse from a ready made DigitalOcean droplet

as a mail server - I decided to use smtp from yandex

but I ran into a problem sending mail, because of which I can not verify my starting administrator account

```
 UNEXPECTED ERROR

530 5.7.7 Email sending without SSL/TLS encryption is not allowed. Please see: https://yandex.ru/support/mail/mail-clients/ssl.html

```

I have not been able to solve this problem, maybe someone knows what else you can try to do

After that, I decided to create an administrator manually - via the console, using command - rake admin:create

but I got an error

rake aborted!

```
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace)

```

Please help me

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [July 6, 2020, 11:23pm UTC](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950/2 "2020-07-06T23:23:19Z")

</div>

> [@tatar](#):
>
> After that, I decided to create an administrator manually - via the console, using command - rake admin:create

Did you run `./launcher enter app` from your `/var/discourse` directory before running the `rake admin:create` command?

---

<div class="post-metadata">

### Author: ![tatar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tatar/32/184404_2.png) [@tatar](https://meta.discourse.org/u/tatar)
#### Post date: [July 7, 2020, 6:28am UTC](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950/3 "2020-07-07T06:28:42Z")

</div>

> [@simon](#):
>
> rake admin:create

No, I didn’t. Thanks for the help!

---

<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: [July 8, 2020, 12:01pm UTC](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950/4 "2020-07-08T12:01:48Z")

</div>

There is a start tls environment variable in app.yml. You’ll need to edit it by hand and rebuild.
