EOFError after login
Hey there,
finally I got schleuder-web
running behind my nginx
; however, after logging in with the super user for the first time (no list created yet), I receive the following error page.
When looking at the logs, I see the following:
I, [2017-04-26T22:29:13.858062 #24073] INFO -- : Started GET "/" for 111.222.333.444 at 2017-04-26 22:29:13 +0200
I, [2017-04-26T22:29:13.860718 #24073] INFO -- : Processing by AccountsController#home as HTML
E, [2017-04-26T22:29:13.861332 #24073] ERROR -- : Error: no implicit conversion of nil into String
I, [2017-04-26T22:29:13.861896 #24073] INFO -- : Redirected to https://schleuder.example.org/login/new
I, [2017-04-26T22:29:13.862033 #24073] INFO -- : Filter chain halted as :authenticate rendered or redirected
I, [2017-04-26T22:29:13.862253 #24073] INFO -- : Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
I, [2017-04-26T22:29:14.095999 #24073] INFO -- : Started GET "/login/new" for 111.222.333.444 at 2017-04-26 22:29:14 +0200
I, [2017-04-26T22:29:14.098020 #24073] INFO -- : Processing by LoginsController#new as HTML
I, [2017-04-26T22:29:14.108825 #24073] INFO -- : Rendered logins/new.html.haml within layouts/application (2.1ms)
I, [2017-04-26T22:29:14.111067 #24073] INFO -- : Rendered application/_navbar.html.haml (0.2ms)
I, [2017-04-26T22:29:14.111735 #24073] INFO -- : Rendered application/_flashes.html.haml (0.4ms)
I, [2017-04-26T22:29:14.112014 #24073] INFO -- : Rendered application/_page_header.html.haml (0.1ms)
I, [2017-04-26T22:29:14.112448 #24073] INFO -- : Completed 200 OK in 14ms (Views: 6.7ms | ActiveRecord: 0.0ms)
I, [2017-04-26T22:31:13.434920 #24073] INFO -- : Started GET "/login/new" for 111.222.333.444 at 2017-04-26 22:31:13 +0200
I, [2017-04-26T22:31:13.448724 #24073] INFO -- : Processing by LoginsController#new as HTML
I, [2017-04-26T22:31:13.459062 #24073] INFO -- : Rendered logins/new.html.haml within layouts/application (1.3ms)
I, [2017-04-26T22:31:13.460451 #24073] INFO -- : Rendered application/_navbar.html.haml (0.1ms)
I, [2017-04-26T22:31:13.460814 #24073] INFO -- : Rendered application/_flashes.html.haml (0.1ms)
I, [2017-04-26T22:31:13.461262 #24073] INFO -- : Rendered application/_page_header.html.haml (0.2ms)
I, [2017-04-26T22:31:13.461685 #24073] INFO -- : Completed 200 OK in 13ms (Views: 4.5ms | ActiveRecord: 0.0ms)
I, [2017-04-26T22:31:28.561565 #24073] INFO -- : Started POST "/login/create" for 111.222.333.444 at 2017-04-26 22:31:28 +0200
I, [2017-04-26T22:31:28.572302 #24073] INFO -- : Processing by LoginsController#create as HTML
I, [2017-04-26T22:31:28.572463 #24073] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==", "email"=>"root@localhost", "password"=>"[FILTERED]", "button"=>""}
I, [2017-04-26T22:31:28.671790 #24073] INFO -- : Redirected to https://schleuder.example.org/accounts/1
I, [2017-04-26T22:31:28.672120 #24073] INFO -- : Completed 302 Found in 99ms (ActiveRecord: 1.0ms)
I, [2017-04-26T22:31:28.942087 #24073] INFO -- : Started GET "/accounts/1" for 111.222.333.444 at 2017-04-26 22:31:28 +0200
I, [2017-04-26T22:31:28.944074 #24073] INFO -- : Processing by AccountsController#show as HTML
I, [2017-04-26T22:31:28.944183 #24073] INFO -- : Parameters: {"id"=>"1"}
I, [2017-04-26T22:31:28.986441 #24073] INFO -- : Completed 500 Internal Server Error in 42ms (ActiveRecord: 0.4ms)
F, [2017-04-26T22:31:28.988517 #24073] FATAL -- :
EOFError (end of file reached):
app/models/account.rb:17:in `subscriptions'
app/models/account.rb:25:in `lists'
app/controllers/accounts_controller.rb:72:in `show'
What's wrong here?