[DRE-maint] Bug#838256: gitlab: Error 500 on front page

Dmitry Smirnov onlyjob at debian.org
Mon Sep 19 06:35:12 UTC 2016


Package: gitlab
Version: 8.11.3+dfsg1-3
Severity: serious

Upgrade from 8.10.5+dfsg-3 to 8.11.3+dfsg1-3 broke GitLab front page
making it impossible to log in:

~~~~
Started GET "/users/sign_in" for 10.24.7.156 at 2016-09-19 16:27:59 +1000
Processing by SessionsController#new as HTML
Started GET "/" for 10.10.50.26 at 2016-09-19 16:27:59 +1000
Processing by RootController#index as */*
Completed 401 Unauthorized in 30ms (ActiveRecord: 1.9ms)
Started GET "/users/sign_in" for 10.10.50.26 at 2016-09-19 16:27:59 +1000
Processing by SessionsController#new as */*
Completed 500 Internal Server Error in 183ms (ActiveRecord: 2.2ms)
Started POST "/ci/api/v1/builds/register.json" for 10.20.32.54 at 2016-09-19 16:27:59 +1000

ActionView::Template::Error (undefined method `user_omniauth_callback_path' for #<#<Class:0x0000000a6cab38>:0x0000000c3325f0>
Did you mean?  user_ldapmain_omniauth_callback_path):
    1: = form_tag(user_omniauth_callback_path(server['provider_name']), id: 'new_ldap_user' ) do
    2:   = text_field_tag :username, nil, {class: "form-control top", placeholder: "#{server['label']} Login", autofocus: "autofocus"}
    3:   = password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
    4:   - if devise_mapping.rememberable?
  app/views/devise/sessions/_new_ldap.html.haml:1:in `_app_views_devise_sessions__new_ldap_html_haml___3575120519288279164_90157780'
  app/views/devise/shared/_signin_box.html.haml:26:in `block in _app_views_devise_shared__signin_box_html_haml__1859658278745184570_89138500'
  app/views/devise/shared/_signin_box.html.haml:24:in `each'
  app/views/devise/shared/_signin_box.html.haml:24:in `each_with_index'
  app/views/devise/shared/_signin_box.html.haml:24:in `_app_views_devise_shared__signin_box_html_haml__1859658278745184570_89138500'
  app/views/devise/sessions/new.html.haml:4:in `_app_views_devise_sessions_new_html_haml__2461595705079297183_87499200'
  app/controllers/sessions_controller.rb:24:in `new'
  lib/gitlab/request_profiler/middleware.rb:15:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'


Completed 500 Internal Server Error in 177ms (ActiveRecord: 2.1ms)

ActionView::Template::Error (undefined method `user_omniauth_callback_path' for #<#<Class:0x0000000b05d9e8>:0x000000062cc198>
Did you mean?  user_ldapmain_omniauth_callback_path):
    1: = form_tag(user_omniauth_callback_path(server['provider_name']), id: 'new_ldap_user' ) do
    2:   = text_field_tag :username, nil, {class: "form-control top", placeholder: "#{server['label']} Login", autofocus: "autofocus"}
    3:   = password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
    4:   - if devise_mapping.rememberable?
  app/views/devise/sessions/_new_ldap.html.haml:1:in `_app_views_devise_sessions__new_ldap_html_haml___3575120519288279164_94393340'
  app/views/devise/shared/_signin_box.html.haml:26:in `block in _app_views_devise_shared__signin_box_html_haml__1859658278745184570_93362480'
  app/views/devise/shared/_signin_box.html.haml:24:in `each'
  app/views/devise/shared/_signin_box.html.haml:24:in `each_with_index'
  app/views/devise/shared/_signin_box.html.haml:24:in `_app_views_devise_shared__signin_box_html_haml__1859658278745184570_93362480'
  app/views/devise/sessions/new.html.haml:4:in `_app_views_devise_sessions_new_html_haml__2461595705079297183_92523620'
  app/controllers/sessions_controller.rb:24:in `new'
  lib/gitlab/request_profiler/middleware.rb:15:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
~~~~

-- 
Best wishes,
 Dmitry Smirnov
 GPG key : 4096R/52B6BBD953968D1B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160919/1709a9bb/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list