Can't access Settings after migration from 2.02 to 2.2
Added by Jonathan Sherry almost 12 years ago
Hi,
I performed a test migration to 2.2 using the bitnami Redmine stack. I did a SQL dump of 2.02, installed the bitnami stack on a different machine and imported the dump. Data all looks good, ut when I try to view Administration/Settings, I get a generic error. The log says:
Started GET "/redmine/settings" for ::1 at 2012-12-27 18:08:04 -0500
Processing by SettingsController#index as HTML
Current user: administrator (id=1)
Rendered settings/_general.html.erb (10.5ms)
Rendered settings/_display.html.erb (32.0ms)
Rendered settings/_authentication.html.erb (8.3ms)
Rendered settings/_projects.html.erb (7.7ms)
Rendered queries/_columns.html.erb (31.9ms)
Rendered settings/_issues.html.erb (37.8ms)
Rendered common/_tabs.html.erb (103.2ms)
Rendered settings/edit.html.erb within layouts/admin (103.7ms)
Completed 500 Internal Server Error in 156ms
ActionView::Template::Error (missing attribute: fields_bits):
4: <%= label_tag "available_columns", l(:description_available_columns) >
5: <br />
6: <= select_tag 'available_columns',
7: options_for_select((query.available_inline_columns - query.columns).collect {|column| [column.caption, column.name]}),
8: :multiple => true, :size => 10, :style => "width:150px",
9: :ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
10: </td>
app/models/tracker.rb:72:in `block in disabled_core_fields'
app/models/tracker.rb:72:in `select'
app/models/tracker.rb:72:in `disabled_core_fields'
app/models/tracker.rb:96:in `map'
app/models/tracker.rb:96:in `disabled_core_fields'
app/models/query.rb:485:in `available_columns'
app/models/query.rb:530:in `available_inline_columns'
app/views/queries/_columns.html.erb:7:in `_app_views_queries__columns_html_erb__412231637_37380210'
app/views/settings/_issues.html.erb:29:in `block in app_views_settings_issues_html_erb__197444615_5841630'
app/views/settings/_issues.html.erb:1:in `_app_views_settings__issues_html_erb__197444615_5841630'
app/views/common/_tabs.html.erb:24:in `block in app_views_common_tabs_html_erb__424317494_23764210'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb__424317494_23764210'
app/helpers/application_helper.rb:263:in `render_tabs'
app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb__538407658_22014750'
app/controllers/settings_controller.rb:26:in `index'
Any help would be appreciated.
-jb
Replies (4)
RE: Can't access Settings after migration from 2.02 to 2.2 - Added by Gytis Gurklys almost 12 years ago
I have the same problem.
RE: Can't access Settings after migration from 2.02 to 2.2 - Added by Sebastian Monk almost 12 years ago
Me to but on a fresh installation with passenger and not after a migration from 2.02 to 2.2
RE: Can't access Settings after migration from 2.02 to 2.2 - Added by Anonymous almost 12 years ago
Verify that /tmp/cache is not read-only.
Missing template, responding with 404 ActionView::Template::Error (Permission denied - /opt/redmine/tmp/cache/900): 3: <div class="box tabular settings"> 4: <p><%= setting_select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, :blank => :label_default, :label => :label_theme %></p> 5: 6: <p><%= setting_select :default_language, lang_options_for_select(false) %></p> 7: 8: <p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(6),'6'], [day_name(7),'7']], :blank => :label_language_based %></p> 9: <% locale = User.current.language.blank? ? ::I18n.locale : User.current.language %> lib/redmine/i18n.rb:95:in `languages_options' app/helpers/application_helper.rb:974:in `lang_options_for_select' app/views/settings/_display.html.erb:6:in `block in _app_views_settings__display_html_erb__2205845322790620537_51257620' app/views/settings/_display.html.erb:1:in `_app_views_settings__display_html_erb__2205845322790620537_51257620' app/views/common/_tabs.html.erb:24:in `block in _app_views_common__tabs_html_erb___2821895935260016318_14312320' app/views/common/_tabs.html.erb:23:in `each' app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb___2821895935260016318_14312320' app/helpers/application_helper.rb:263:in `render_tabs' app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb__2720507475411513480_15345560' app/controllers/settings_controller.rb:26:in `index'
RE: Can't access Settings after migration from 2.02 to 2.2 - Added by Gytis Gurklys almost 12 years ago
Thanks, works with 0777.