User login error
Hello: User login error,as follows:
500 Whoops, something went wrong on our end. Try refreshing the page, or going back and attempting the action again.
Please contact your GitLab administrator if this problem persists.
gitlab version:7.12.0
Error log
==> /var/log/gitlab/gitlab-rails/production.log <== Started POST "/users/sign_in" for 127.0.0.1 at 2019-08-14 11:02:21 +0800 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "user"=>{"login"=>"longju.xu", "password"=>"[FILTERED]", "remember_me"=>"1"}}
==> /var/log/gitlab/postgresql/current <== 2019-08-14_03:02:22.21518 ERROR: column users.unlock_token does not exist at character 39 2019-08-14_03:02:22.21521 STATEMENT: SELECT "users".* FROM "users" WHERE "users"."unlock_token" = '16b50fa0e683d25bf002ec5d3978a85a99882853d80a7440bcbf21a4d1fd026b' ORDER BY "users"."created_at" DESC, "users"."id" DESC LIMIT 1
==> /var/log/gitlab/gitlab-rails/production.log <== PG::Error: ERROR: column users.unlock_token does not exist LINE 1: SELECT "users".* FROM "users" WHERE "users"."unlock_token"... ^ : SELECT "users".* FROM "users" WHERE "users"."unlock_token" = '16b50fa0e683d25bf002ec5d3978a85a99882853d80a7440bcbf21a4d1fd026b' ORDER BY "users"."created_at" DESC, "users"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 366ms (ActiveRecord: 5.5ms)
ActiveRecord::StatementInvalid (PG::Error: ERROR: column users.unlock_token does not exist LINE 1: SELECT "users".* FROM "users" WHERE "users"."unlock_token"... ^ : SELECT "users".* FROM "users" WHERE "users"."unlock_token" = '16b50fa0e683d25bf002ec5d3978a85a99882853d80a7440bcbf21a4d1fd026b' ORDER BY "users"."created_at" DESC, "users"."id" DESC LIMIT 1): app/controllers/application_controller.rb:74:in `reject_blocked!'