Project

General

Profile

"My account" page 500 error

Added by John Simmons almost 9 years ago

I used this method to install redmine http://martin-denizet.com/install-redmine-2-5-x-git-subversion-ubuntu-14-04-apache2-rvm-passenger/

I installed redmine in /opt/redmine, and i checked my log in /opt/redmine/current/log/production.log

My tail of production.log

Completed 500 Internal Server Error in 42.6ms

ActionView::Template::Error (cannot load such file -- tzinfo/definitions/Europe/London):
1: <%= labelled_fields_for :pref, @user.pref do |pref_fields| >
2: <p><
= pref_fields.check_box :hide_mail ></p>
3: <p><
= pref_fields.time_zone_select :time_zone, nil, :include_blank => true ></p>
4: <p><
= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] ></p>
5: <p><
= pref_fields.check_box :warn_on_leaving_unsaved ></p>
6: <
end %>
lib/redmine/views/labelled_form_builder.rb:42:in `time_zone_select'
app/views/users/_preferences.html.erb:3:in `block in app_views_users_preferences_html_erb__1218068006107140812_70264432515560'
app/helpers/application_helper.rb:1050:in `labelled_fields_for'
app/views/users/_preferences.html.erb:1:in `_app_views_users__preferences_html_erb__1218068006107140812_70264432515560'
app/views/my/account.html.erb:43:in `block in app_views_my_account_html_erb_373455605642633520_70264429441020'
app/helpers/application_helper.rb:1043:in `labelled_form_for'
app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb__373455605642633520_70264429441020'

Everything seems to be working except for "My account" page.

I have found this problem other places, but no solutions

http://www.redmine.org/boards/2/topics/8960

http://www.redmine.org/boards/2/topics/43672

The file it's looking for doesn't exist, but I am lost as to the solution. Any help is appreciated.


Replies (3)

RE: "My account" page 500 error - Added by John Simmons almost 9 years ago

I recently upgraded from 2.5.2.stable.13345 to 2.5.3.stable.14266

Environment:
Redmine version 2.5.3.stable.14266
Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_agile 1.3.2
redmine_graphs 0.1.0
sidebar_hide 0.0.7

RE: "My account" page 500 error - Added by Leonel Iturralde almost 9 years ago

Hi,
I'm not sure if this will resolve the issue but try installing tzinfo-data.

RE: "My account" page 500 error - Added by John Simmons almost 9 years ago

Thank you for the response. I did install tzinfo-data, and that didn't work, but .....

Then I rebooted the machine, noticed it installed the wrong version of tzinfo-data, and ran gem install, and it installed the correct one for me.

This issue is now resolved. Thank you for the help

    (1-3/3)