Project

General

Profile

Scrum plugin instalation error

Added by Fabio Rodrigues about 1 year ago

Hi everyone, i'm newbie here.

This is my first post with a problem with a instalation of plugin scrum.

This information about redmine instalation on a Red Hat Enterprise Linux 9.2

Environment:
Redmine version 4.2.10.stable
Ruby version 2.7.8-p225 (2023-03-30) [x86_64-linux]
Rails version 5.2.8.1
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.14.1
Mercurial 6.1.4
Git 2.39.3
Filesystem
Redmine plugins:
computed_custom_field 1.0.7

What I did so far:

  1. su - redmine
    $ cd /var/www/redmine
    $ tar -xvf /home/redmine/scrum-v0.23.0.tar.gz -C plugins/
    $ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
    $ touch tmp/restart.txt

In browser, the redmine crashes and in /var/www/redmine/log/production.log I that error:

Started GET "/admin" for 10.1.75.75 at 2023-09-26 11:13:36 -0300
Processing by AdminController#index as HTML
Current user: user.user (id=502)
Rendering admin/index.html.erb within layouts/admin
Rendered admin/_menu.html.erb (6.6ms)
Rendered admin/index.html.erb within layouts/admin (9.1ms)
Rendering layouts/base.html.erb
Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.8ms)
Rendered plugins/scrum/app/views/scrum_hooks/_scrum_tips.html.erb (3.6ms)
Rendered layouts/base.html.erb (64.6ms)
Completed 500 Internal Server Error in 809ms (ActiveRecord: 33.7ms)

ActionView::Template::Error (Unknown alias: 1):
1: <%- tips = scrum_tips >
2: <
unless tips.empty? ->
3: <h3><
= l(:label_tip_title) > <= image_tag("help.png") %></h3>
4: <ul>

app/models/setting.rb:108:in `value'
app/models/setting.rb:122:in `[]'
app/models/setting.rb:309:in `plugin_scrum'
plugins/scrum/lib/scrum/setting.rb:135:in `setting_or_default'
plugins/scrum/lib/scrum/setting.rb:139:in `setting_or_default_boolean'
plugins/scrum/lib/scrum/setting.rb:41:in `render_plugin_tips'
plugins/scrum/lib/scrum/application_helper_patch.rb:99:in `scrum_tips'
plugins/scrum/app/views/scrum_hooks/_scrum_tips.html.erb:1:in `_plugins_scrum_app_views_scrum_hooks__scrum_tips_html_erb__4314188686435449753_88860'
lib/redmine/hook/view_listener.rb:61:in `block (2 levels) in render_on'
lib/redmine/hook/view_listener.rb:59:in `map'
lib/redmine/hook/view_listener.rb:59:in `block in render_on'
lib/redmine/hook.rb:66:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:66:in `each'
lib/redmine/hook.rb:66:in `block in call_hook'
lib/redmine/hook.rb:63:in `tap'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:101:in `call_hook'
app/helpers/application_helper.rb:1692:in `view_layouts_base_sidebar_hook_response'
app/helpers/application_helper.rb:1688:in `sidebar_content?'
app/views/layouts/base.html.erb:102:in `_app_views_layouts_base_html_erb___1935163438191186223_88760'
app/views/layouts/admin.html.erb:8:in `_app_views_layouts_admin_html_erb___629092612448410115_88740'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'

I dont now if there is a relationship, but in /var/log/httpd/error_log, I got that error:

App 523166 output: sh: line 1: bzr: command not found

But workaroud i see that bazzar was discontinued.

May anyone tell me what's wrong and how I can fix it?