Project

General

Profile

Actions

Bug #5688

closed

Cannot login after upgrade from 1.4.1 to 1.5.1

Added by Ollie Lawson about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have upgraded following the steps at http://theforeman.org/manuals/1.5/index.html#3.6Upgrade and now after login (as admin) in I get:

Warning!
undefined method `avatar_hash' for #<User:0x000000081e1d30>

Stack trace is:
NoMethodError
undefined method `avatar_hash' for #<User:0x000000081e1d30>
app/helpers/application_helper.rb:336:in `avatar_image_tag'
app/helpers/home_helper.rb:47:in `user_header'
app/views/home/_user_dropdown.html.erb:2:in `_app_views_home__user_dropdown_html_erb__1414197084760456750_65123600'
app/views/home/_topbar.html.erb:14:in `_app_views_home__topbar_html_erb__1416470694707807501_64043380'
app/views/layouts/base.html.erb:43:in `_app_views_layouts_base_html_erb___2194225959891543969_64536280'
app/views/layouts/application.html.erb:28:in `_app_views_layouts_application_html_erb__220818452840898789_49758440'
app/controllers/dashboard_controller.rb:6:in `index'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Actions

Also available in: Atom PDF