Project

General

Profile

Actions

Support #3774

closed

Operation FAILED: undefined method `subscribe_to_all_hostgroups'

Added by Felix Barbeira over 10 years ago. Updated over 10 years ago.

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

Description

Foreman version: 1.3.1-1

When I click on "User->My account" the foreman gives this error (check as well the image attached):

Started GET "/users/1-admin/edit" for 192.168.0.x at Wed Nov 27 18:41:29 +0100 2013
Processing by UsersController#edit as HTML
Parameters: {"id"=>"1-admin"}
Rendered common/_edit_habtm.html.erb (2.2ms)
Rendered common/_edit_habtm.html.erb (97.1ms)
Rendered users/_filters.html.erb (127.2ms)
Rendered users/_form.html.erb (139.6ms)
Rendered users/edit.html.erb within layouts/application (139.9ms)
Operation FAILED: undefined method `subscribe_to_all_hostgroups' for #<User:0x7f9fd0c8dc10>
Rendered common/500.html.erb within layouts/application (3.6ms)
Completed 500 Internal Server Error in 255.8ms (Views: 5.2ms | ActiveRecord: 8.2ms)


Files

Actions #1

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Feedback
  • translation missing: en.field_release deleted (1)

This looks to me like the database migrations haven't been run on a 1.2 to 1.3 upgrade. Try running "foreman-rake db:migrate" again to ensure they've all been applied.

Actions #2

Updated by Felix Barbeira over 10 years ago

Ok, it worked! Thanks Dominic! :)

Actions #3

Updated by Dominic Cleal over 10 years ago

  • Tracker changed from Bug to Support
  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF