seven1m/onebody

Can't login after upgrade to 3.8.0

jeffmikels opened this issue · 1 comments

I have manually upgraded from 3.4.0 to 3.8.0 by doing a git checkout of every release and then running the migration and the asset compilation.

However, I can no longer log in.

I'm getting redirected to the /pages/system/unauthorized page. Any ideas why this is happening?

Here's the log:

I, [2017-10-31T13:21:06.342632 #28404]  INFO -- : Started POST "/session" for 72.12.203.182 at 2017-10-31 13:21:06 -0400
I, [2017-10-31T13:21:06.350990 #28404]  INFO -- : Processing by SessionsController#create as HTML
I, [2017-10-31T13:21:06.352066 #28404]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"UbwmIrtFF8gct+x+pyVTS1ZzjLUCSQAA9CxAbITN9NvXyjn8YEr7VJ0d3rjDD7C5JG/zMY7R6lFjx17ICI+JOA==", "from"=>"/stream", "for"=>"", "email"=>"XXXXXXMASKEDXXXXXX", "password"=>"[FILTERED]", "remember_me"=>"true"}
I, [2017-10-31T13:21:06.615482 #28404]  INFO -- : Redirected to https://members.lafayettecc.org/pages/system/unauthorized
I, [2017-10-31T13:21:06.616145 #28404]  INFO -- : Completed 302 Found in 263ms (ActiveRecord: 5.4ms)
I, [2017-10-31T13:21:06.879449 #28404]  INFO -- : Started GET "/pages/system/unauthorized" for 72.12.203.182 at 2017-10-31 13:21:06 -0400

Nevermind... I got it fixed:

  • db:migrate didn't complete properly. I needed to change my config/database.yml to reflect the new encoding.
  • touch tmp/restart.txt wasn't triggering a restart, so I had to fully stop and restart the server.

Now, I can log in again.