Email confirm not sent with docker


(Unik) #1

I have successfully set up discourse with docker on my ubuntu 16.04. But after setting up my personal account, I do not get a confirmation mail. How can I check whats going from? it looks like the email sending fails, but I dont get errors, where can I check the logs when using the docker container?


(cpradio) #2

By following the Troubleshoot Topic


(Daily Shock) #3

High chance that the issue is with your email provider, check their log. If you are using mailgun then you need to activate it with CC to fully activate the sending function.


(Unik) #4

I can use the mail with same settings from within a simple php script with PHP Mailer. So it should work, all I can find in the production.log is this :

Started GET "/" for 127.0.0.1 at 2017-03-28 18:25:14 +0000
Processing by FinishInstallationController#index as HTML
  Rendered finish_installation/index.html.erb within layouts/finish_installation (0.6ms)
  Rendered common/_special_font_face.html.erb (0.1ms)
  Rendered layouts/_head.html.erb (0.3ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
Started GET "/javascripts/jquery_include.js" for 127.0.0.1 at 2017-03-28 18:25:15 +0000
ActionController::RoutingError (No route matches [GET] "/javascripts/jquery_include.js")
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
Processing by ExceptionsController#not_found as */*
  Rendered exceptions/not_found.html.erb within layouts/no_ember (5.2ms)
  Rendered layouts/_head.html.erb (0.2ms)
  Rendered common/_special_font_face.html.erb (0.1ms)
  Rendered common/_discourse_stylesheet.html.erb (0.1ms)
  Rendered application/_header.html.erb (0.1ms)
  Rendered text template (0.0ms)
Completed 404 Not Found in 23ms (Views: 0.2ms | ActiveRecord: 11.6ms)
Started GET "/finish-installation/register" for 127.0.0.1 at 2017-03-28 18:25:17 +0000
Processing by FinishInstallationController#register as HTML
  Rendered finish_installation/register.html.erb within layouts/finish_installation (2.0ms)
  Rendered common/_special_font_face.html.erb (0.2ms)
  Rendered layouts/_head.html.erb (0.4ms)
Completed 200 OK in 11ms (Views: 4.4ms | ActiveRecord: 2.2ms)
Started GET "/javascripts/jquery_include.js" for 127.0.0.1 at 2017-03-28 18:25:17 +0000
ActionController::RoutingError (No route matches [GET] "/javascripts/jquery_include.js")
"production.log" 56L, 3891C                                                                                                                                                        1,1           Top

there isn’t anything with mail, but the jquery.js cant be loaded, could that be a reason? I dont know why it cant be found