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

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


530 5.7.7 Email sending without SSL/TLS encryption is not allowed. Please see:

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

1 Like

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


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


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