
나는 사용했다이것레드마인 설치방법
Redmine을 설치 /opt/redmine
하고 로그인을 확인했습니다./opt/redmine/current/log/production.log
최근에 2.5.2.stable.13345에서 2.5.3.stable.14266으로 업그레이드했습니다.
My install info. 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
내 생산 꼬리.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'
"내 계정" 페이지를 제외한 모든 것이 작동하는 것 같습니다.
다른 곳에서도 이 문제를 발견했지만 해결책이 없습니다.
그리고여기
찾고 있는 파일이 존재하지 않지만 해결책을 찾을 수 없습니다. 도움을 주시면 감사하겠습니다.
편집 1
아래 지침을 따른 후 새로운 문제가 발생했습니다.
Web application could not be started
Cannot execute "/home/$USER/.rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.45/buildout/agents/SpawnPreparer": Permission denied (errno=13)
Application root
/opt/redmine/current
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
production
Ruby interpreter command
/home/$USER/.rvm/gems/ruby-2.0.0-p481/wrappers/ruby
User and groups
Unknown
Environment variables
Unknown
Ulimits
Unknown
나는 이에 대한 해결책을 찾아보았고 관련된 모든 파일/디렉토리에 대한 권한과 소유자를 확인했습니다. 모든 것은 동일한 사용자가 소유하고 있으며 모든 것을 777로 옮겼지만 아무 것도 작동하지 않습니다.
답변1
gem이 실제로 설치되었는지 확인해 보셨나요?
gem list
설치되어 있지 않다면 아마도 문제일 것입니다.
Gemfile과 동일한 디렉토리에 있다면 다음을 사용할 수 있습니다:
bundle update
그래도 작동하지 않으면 수동으로 설치할 수 있습니다.
설치정보를 확인하실 수 있습니다여기
gem install tzinfo
gem install tzinfo-data
그런 다음 애플리케이션 서버를 다시 시작해야 할 수도 있습니다.