Fresh install on VPS can't receive email

Hi Guys,

Just follow github’s tutorial on my ovh VPS. Install Postgres 9.5, Redis 2.6, Ruby 2.3 and then docker and finally discourse and all seem to be ok but I can’t reach my server “ERR_CONNECTION_REFUSED” with url and ip too.

I see that the /containers/app.yml is not created.

With this command I see I have no container.
~# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 1
Server Version: 17.11.0-ce

How do I create one. Do I have to?

Many thanks for your help

Did you see these instructions?
discourse/ at master · discourse/discourse · GitHub

They don’t mention installing anything but Docker.


Yep. that the first tutorial I followed.
Now work fine with digital ocean’s tutorial and ubuntu 14.

Still a probleme with my email. I’ve see this post :

port 443 not accessible

I’ve an MX plan with ovh for my email. All is configured automaticaly on my DNS aera.
Seem to be
SRV 0 0 443
SPF “v=spf1 ~all”

…and as I see it will prevent me from installing a let’s encrypt certificat :confused:

After multiple attempts I’m desesperate with email troubleshooting.

Discourse is on my VPS (ovh) with ubuntu 14 because tutorial won’t work with ubuntu 16 (no container created)

So I’ve configured file containers/app.yml like this

  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.ssl.template.yml"
  - "templates/web.letsencrypt.ssl.template.yml"
  - "80:80"   # http
  - "443:443" # https
    DISCOURSE_DEVELOPER_EMAILS: 'my_personnal_email'

then write for test

telnet 587

Connected to
Escape character is '^]'.
220 Service ready

So my email server work but… I don’t received any email.

Then :

tail shared/standalone/log/rails/production.log
Processing by FinishInstallationController#resend_email as HTML
  Parameters: {"authenticity_token"=>"MYTOKEN=="}
  Rendering finish_installation/resend_email.html.erb within layouts/finish_installation
  Rendered finish_installation/resend_email.html.erb within layouts/finish_installation (0.8ms)
  Rendered common/_special_font_face.html.erb (0.3ms)
  Rendered layouts/_head.html.erb (0.5ms)
Completed 200 OK in 47ms (Views: 3.5ms | ActiveRecord: 14.9ms)
Sent mail to (6.4ms)
Job exception: SMTP-AUTH requested but missing secret phrase 

It appears that the secret phrase is missing

My discourse domain is and my email server is Can this create a conflict?

In the future in want to host my own instance and I don’t want to buy a digitalocean’s vps.

Simply resolve by upgrading disk space. 10Go is too little. Work fine on 20Go