I updated my installation from 1.5.4 to 1.6.4, but I cannot login or reset the admin password. Here is portion of the log from production.log:
Reset password:
Started POST "/session/forgot_password" for 31.171.219.125 at 2016-10-01 19:03:56 +0000
Processing by SessionController#forgot_password as */*
Parameters: {"login"=>"NuLL3rr0r"}
Completed 422 Unprocessable Entity in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Login:
Started POST "/session" for 31.171.219.125 at 2016-10-01 19:19:07 +0000
Processing by SessionController#create as */*
Parameters: {"login"=>"NuLL3rr0r", "password"=>"[FILTERED]"}
Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.9ms)
I even tried running this from terminal:
$ RAILS_ENV=production bundle exec rake admin:create
When I enter the admin email the first time, it creates a new user (which means either the user does not exists anymore or Discourse cannot find it). The second time it asks if I want to rest the password. In any case when I login using this new user and password it says:
Incorrect username, email or password
I also checked my mail server logs but Discourse never attempts a connection to the mail server.
Thanks for your help.