Project

General

Profile

Actions

Defect #40580

closed

Redmine Checklists Plugin NoMethod Error

Added by Ömer Taha ÖZTOP 7 months ago. Updated 7 months ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

- Hi to all,

I want to upgrade our Redmine 5.1.0 to 5.1.2, everything is worked except redmine_checklists plugin

Puma printing this error:


[21:21:56@0] [root@redmine-test:/opt/redmine]# journalctl -fu puma
Apr 17 21:21:57 redmine-test puma[197646]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/bin/puma:10:in `<top (required)>'
Apr 17 21:21:57 redmine-test puma[197646]:         from /usr/local/bin/puma:25:in `load'
Apr 17 21:21:57 redmine-test puma[197646]:         from /usr/local/bin/puma:25:in `<main>'
Apr 17 21:21:57 redmine-test systemd[1]: puma.service: Main process exited, code=exited, status=1/FAILURE
Apr 17 21:21:57 redmine-test systemd[1]: puma.service: Failed with result 'exit-code'.
Apr 17 21:21:57 redmine-test systemd[1]: puma.service: Consumed 2.693s CPU time.
Apr 17 21:21:57 redmine-test systemd[1]: puma.service: Scheduled restart job, restart counter is at 71902.
Apr 17 21:21:57 redmine-test systemd[1]: Stopped puma.service - Puma HTTP Server.
Apr 17 21:21:57 redmine-test systemd[1]: puma.service: Consumed 2.693s CPU time.
Apr 17 21:21:57 redmine-test systemd[1]: Started puma.service - Puma HTTP Server.
Apr 17 21:21:57 redmine-test puma[197648]: Puma starting in single mode...
Apr 17 21:21:57 redmine-test puma[197648]: * Puma version: 6.4.2 (ruby 3.1.2-p20) ("The Eagle of Durango")
Apr 17 21:21:57 redmine-test puma[197648]: *  Min threads: 0
Apr 17 21:21:57 redmine-test puma[197648]: *  Max threads: 5
Apr 17 21:21:57 redmine-test puma[197648]: *  Environment: production
Apr 17 21:21:57 redmine-test puma[197648]: *          PID: 197648
Apr 17 21:22:00 redmine-test puma[197648]: ! Unable to load application: NoMethodError: undefined method `acts_as_event' for Checklist:Class
Apr 17 21:22:00 redmine-test puma[197648]: Did you mean?  acts_as_tagger
Apr 17 21:22:00 redmine-test puma[197648]: /var/lib/gems/3.1.0/gems/activerecord-7.1.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `acts_as_event' for Checklist:Class (NoMethodError)
Apr 17 21:22:00 redmine-test puma[197648]: Did you mean?  acts_as_tagger
Apr 17 21:22:00 redmine-test puma[197648]:         from /opt/redmine/plugins/redmine_checklists/app/models/checklist.rb:26:in `<class:Checklist>'
Apr 17 21:22:00 redmine-test puma[197648]:         from /opt/redmine/plugins/redmine_checklists/app/models/checklist.rb:20:in `<top (required)>'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:26:in `require'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:26:in `require'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:135:in `const_get'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:135:in `cget'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:175:in `block in actual_eager_load_dir'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:40:in `block in ls'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:25:in `each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:25:in `ls'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:170:in `actual_eager_load_dir'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:17:in `block (2 levels) in eager_load'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:16:in `each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:16:in `block in eager_load'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:10:in `synchronize'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:10:in `eager_load'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader.rb:379:in `block in eager_load_all'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader.rb:377:in `each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader.rb:377:in `eager_load_all'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/railties-7.1.2/lib/rails/application/finisher.rb:80:in `block in <module:Finisher>'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/railties-7.1.2/lib/rails/initializable.rb:32:in `instance_exec'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/railties-7.1.2/lib/rails/initializable.rb:32:in `run'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/railties-7.1.2/lib/rails/initializable.rb:61:in `block in run_initializers'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:347:in `each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:347:in `call'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/railties-7.1.2/lib/rails/initializable.rb:60:in `run_initializers'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/railties-7.1.2/lib/rails/application.rb:423:in `initialize!'
Apr 17 21:22:00 redmine-test puma[197648]:         from /opt/redmine/config/environment.rb:16:in `<top (required)>'
Apr 17 21:22:00 redmine-test puma[197648]:         from config.ru:3:in `require_relative'
Apr 17 21:22:00 redmine-test puma[197648]:         from config.ru:3:in `block in <main>'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/rack-3.0.10/lib/rack/builder.rb:103:in `eval'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/rack-3.0.10/lib/rack/builder.rb:103:in `new_from_string'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/rack-3.0.10/lib/rack/builder.rb:94:in `load_file'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/rack-3.0.10/lib/rack/builder.rb:64:in `parse_file'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/lib/puma/configuration.rb:368:in `load_rackup'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/lib/puma/configuration.rb:290:in `app'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/lib/puma/runner.rb:162:in `load_and_bind'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/lib/puma/single.rb:44:in `run'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/lib/puma/launcher.rb:194:in `run'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/lib/puma/cli.rb:75:in `run'
Apr 17 21:22:00 redmine-test puma[197648]:         from /var/lib/gems/3.1.0/gems/puma-6.4.2/bin/puma:10:in `<top (required)>'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/local/bin/puma:25:in `load'
Apr 17 21:22:00 redmine-test puma[197648]:         from /usr/local/bin/puma:25:in `<main>'
Apr 17 21:22:00 redmine-test systemd[1]: puma.service: Main process exited, code=exited, status=1/FAILURE

- I send a email to RedmineUP company, has anyone else encountered this?

Actions

Also available in: Atom PDF