Foreman 3.12 -> 3.13 upgrade on EL9 DB migration failing on dhcp_helper (dhcp_browser plugin)

Problem:

database migration phase of an upgrade of a foreman 3.12 to 3.13 upgrade errors on ruby file that seems to be associated with dhcp_browser plugin

post rpm upgrades to 3.13 following the foreman upgrade instructions running

foreman-rake db:migrate

errors with

rake aborted!
Zeitwerk::NameError: expected file /usr/share/gems/gems/foreman_dhcp_browser-0.0.8/app/helpers/dhcp_helper.rb to define constant DHCPHelper, but didn't
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/loader/callbacks.rb:32:in `on_file_autoloaded'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:27:in `require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/inflector/methods.rb:273:in `const_get'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/inflector/methods.rb:273:in `constantize'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/core_ext/string/inflections.rb:74:in `constantize'
/usr/share/gems/gems/actionpack-6.1.7.10/lib/abstract_controller/helpers.rb:176:in `block in modules_for_helpers'
/usr/share/gems/gems/actionpack-6.1.7.10/lib/abstract_controller/helpers.rb:169:in `map!'
/usr/share/gems/gems/actionpack-6.1.7.10/lib/abstract_controller/helpers.rb:169:in `modules_for_helpers'
/usr/share/gems/gems/actionpack-6.1.7.10/lib/action_controller/metal/helpers.rb:104:in `modules_for_helpers'
/usr/share/gems/gems/actionpack-6.1.7.10/lib/abstract_controller/helpers.rb:147:in `helper'
/usr/share/gems/gems/actionpack-6.1.7.10/lib/action_controller/railties/helpers.rb:19:in `inherited'
/usr/share/foreman/app/controllers/api/base_controller.rb:3:in `<module:Api>'
/usr/share/foreman/app/controllers/api/base_controller.rb:1:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:26:in `require'
/usr/share/foreman/app/controllers/api/v2/base_controller.rb:3:in `<module:V2>'
/usr/share/foreman/app/controllers/api/v2/base_controller.rb:2:in `<module:Api>'
/usr/share/foreman/app/controllers/api/v2/base_controller.rb:1:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:26:in `require'
/usr/share/foreman/app/controllers/api/v2/interfaces_controller.rb:3:in `<module:V2>'
/usr/share/foreman/app/controllers/api/v2/interfaces_controller.rb:2:in `<module:Api>'
/usr/share/foreman/app/controllers/api/v2/interfaces_controller.rb:1:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:26:in `require'
/usr/share/gems/gems/foreman_remote_execution-14.0.2/lib/foreman_remote_execution/engine.rb:330:in `block in <class:Engine>'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment

Expected outcome:
successful execution of db migrations

Foreman and Proxy versions:
foreman-proxy-3.13.0-1.el9.noarch
foreman-release-3.13.0-1.el9.noarch
foreman-installer-3.13.0-1.el9.noarch

Foreman and Proxy plugin versions:
rubygem-smart_proxy_dynflow-0.9.3-1.fm3_12.el9.noarch
rubygem-smart_proxy_remote_execution_ssh-0.11.4-1.fm3_13.el9.noarch
rubygem-smart_proxy_ansible-3.5.7-1.fm3_13.el9.noarch
rubygem-foreman_dhcp_browser-0.0.8-6.fm3_10.el9.noarch
rubygem-foreman_kubevirt-0.2.0-1.fm3_11.el9.noarch
rubygem-foreman-tasks-10.0.1-1.fm3_13.el9.noarch
rubygem-foreman_remote_execution-14.0.2-1.fm3_13.el9.noarch
rubygem-foreman_ansible-15.0.1-1.fm3_13.el9.noarch
rubygem-foreman_puppet-8.0.0-1.fm3_13.el9.noarch
rubygem-foreman_templates-10.0.1-1.fm3_13.el9.noarch
rubygem-foreman_webhooks-4.0.0-1.fm3_13.el9.noarch

Distribution and version:
Rocky Linux 9.5 x86_64
Other relevant data:

A fix was already merged, but no new release yet.

thanks, I’d not seen this, I’ll keep an eye out for the release.