Project

General

Profile

Actions

Defect #34451

closed

error getting after upgrade redmine from 3.4.13.stable to 4.1.1

Added by Juraj Hajka almost 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi all,
I finished upgrade, during upgrade redmine or plugins no error or warnings .
I was upgrading from following configuration.
Environment:
Redmine version 3.4.13.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
Rails version 4.2.11.1
Environment production
Database adapter Mysql2
SCM:
Git 2.20.1
Filesystem
Redmine plugins:
redmine_contacts 4.3.2
redmine_contacts_helpdesk 4.1.11
redmine_reporter 1.0.3

Login screen will not appear.
I see this in logs.

plugins/redmine_contacts/lib/redmine_contacts.rb:75:in `settings'
plugins/redmine_contacts/app/models/contacts_setting.rb:124:in `settings'
plugins/redmine_contacts/app/models/contacts_setting.rb:58:in `contacts_show_in_top_menu?'
plugins/redmine_contacts/init.rb:128:in `block (2 levels) in <top (required)>'
lib/redmine/menu_manager.rb:487:in `allowed?'
lib/redmine/menu_manager.rb:197:in `block in menu_items_for'
lib/redmine/menu_manager.rb:196:in `each'
lib/redmine/menu_manager.rb:196:in `menu_items_for'
lib/redmine/menu_manager.rb:115:in `render_menu'
app/views/layouts/base.html.erb:66:in `_app_views_layouts_base_html_erb___2715056335201344404_47038341947720'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
Current user: admin (id=1)
Rendering welcome/index.html.erb within layouts/base
Rendered welcome/index.html.erb within layouts/base (25.2ms)
Rendered plugins/redmine_contacts/app/views/common/_additional_assets.html.erb (1.1ms)
Completed 500 Internal Server Error in 118ms (ActiveRecord: 11.9ms)

ActionView::Template::Error (undefined method `with_indifferent_access' for #<ActionController::Parameters:0x0000558ff2419fd8>):
63: <div id="top-menu">
64: <div id="account">
65: <%= render_menu :account_menu ->
66: </div>
67: <
= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? >
68: <
= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>

thanks for any help.

Actions

Also available in: Atom PDF