Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7360

Closed
Open
Created Jul 23, 2014 by Administrator@rootOwner

[Gitlab 7.1] Undefined local viariables after upgrade to 7.1

Created by: arruor

I'm experiencing some troubles after upgrade of Gitlab CE from 7.0.0 to 7.1.0. To perform upgrade I was using upgrader script as described in https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/upgrader.md. Upgrade just ran fine without any troubles. When gitlab service was restarted it starts to shown "500 We're sorry, but something went wrong" instead of login page. Here is a snip from production.log:

Started GET "/users/sign_in" for 1.1.1.1 at 2014-07-23 10:13:44 +0000
Processing by Devise::SessionsController#new as HTML
Completed 500 Internal Server Error in 172ms

ActionView::Template::Error (undefined local variable or method `brand_title' for #<#<Class:0x007ffb06636bf0>:0x007ffb05f9aa30>):
     6:     .container
     7:       .content
     8:         .login-title
     9:           %h1= brand_title
    10:     %hr
    11:     .container
    12:       .content
  app/views/layouts/devise.html.haml:9:in `_app_views_layouts_devise_html_haml__1381480686227818264_70358060381460'

It seems that variables described in app/helpers/appearances_helper.rb is not passed to devise layout. I've managed to find quick & dirty fix for this - I need to define same variables in app/views/layouts/devise.html.haml.

Assignee
Assign to
Time tracking