【问题标题】:redmine upgrade to 3.4.4 not working [ActionView::Template::Error (undefined method `default_users_time_zone')]redmine 升级到 3.4.4 不起作用 [ActionView::Template::Error (undefined method `default_users_time_zone')]
【发布时间】:2018-03-14 19:22:13
【问题描述】:

Redmine 3.3 对我来说一切正常。现在我想升级到 3.4.4 并且 Redmine 不再运行。我搜索了互联网,但没有找到完全相同的问题。由插件引起的类似问题,但我没有安装任何插件。我使用 Redmine 的乘客 Docker 映像。

日志给我以下错误信息:

Processing by WelcomeController#index as HTML
  Current user: anonymous
Redirected to http://0.0.0.0/login?back_url=http%3A%2F%2F0.0.0.0%2F
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 60ms (ActiveRecord: 3.7ms)
App 179 stdout: 
Started GET "/login?back_url=https%3A%2F%2Fredmine.mydomain.tld%2F" for 95.90.204.176 at 2018-03-14 19:10:26 +0000
Processing by AccountController#login as HTML
  Parameters: {"back_url"=>"https://redmine.mydomain.tld/"}
  Current user: anonymous
  Rendered account/login.html.erb within layouts/base (24.1ms)
Completed 500 Internal Server Error in 219ms (ActiveRecord: 4.3ms)

ActionView::Template::Error (undefined method `default_users_time_zone' for #<Class:0x00000000055f2120>
Did you mean?  default_users_hide_mail):
    11: <%= favicon %>
    12: <%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'application', 'responsive', :media => 'all' %>
    13: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    14: <%= javascript_heads %>
    15: <%= heads_for_theme %>
    16: <%= call_hook :view_layouts_base_html_head %>
    17: <!-- page specific tags -->
  app/models/user_preference.rb:44:in `initialize'
  app/models/user.rb:949:in `pref'
  app/helpers/application_helper.rb:1451:in `javascript_heads'
  app/views/layouts/base.html.erb:14:in `_app_views_layouts_base_html_erb__2446195152155203147_36658300'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

那会是什么?我需要升级到 3.4,因为我想使用插件,但插件需要使用 3.4 版本。

【问题讨论】:

    标签: docker upgrade redmine


    【解决方案1】:

    这是我的错!我没有将每个新设置文件都复制到我安装的配置目录中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-28
      • 1970-01-01
      • 2015-04-15
      • 1970-01-01
      • 2018-09-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多