plugin redmineup_cms was not found
BITNAMI REDMINE STACK version 4.1.1 installed on my windows server, now we are installing the plugin but facing issue.
I have followed the plugin installation steps mentioned in the link -https://www.redmineup.com/pages/help/installation/install-redmine-bitnami-package-and-plugins-on-windows
and running bundle exec rake redmine:plugins NAME=redmineup_cms RAILS_ENV=production command i am getting message as "plugin redmineup_cms was not found"
After that i had restarted redmine thru Bitnami redmine stack manager tool,
Now i am getting Internal Error message when i try to open the redmine.
In production.log following error messages are displaying.
Completed 200 OK in 289ms (Views: 76.3ms | ActiveRecord: 100.3ms)
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/redmine/admin/plugins" for 127.0.0.1 at 2020-06-15 22:12:10 +0530
Processing by AdminController#plugins as HTML
Current user: admin (id=1)
Completed 500 Internal Server Error in 7264ms (ActiveRecord: 153.7ms)
ActiveRecord::StatementInvalid (Mysql2::Error: Table 'bitnami_redmine.cms_menus' doesn't exist: SHOW FULL FIELDS FROM cms_menus):
plugins/redmine_cms/app/models/cms_menu.rb:29:in block in <class:CmsMenu>'
plugins/redmine_cms/app/models/cms_menu.rb:117:incheck_cache'
plugins/redmine_cms/lib/redmine_cms/patches/application_controller_patch.rb:50:in menu_setup'
lib/redmine/sudo_mode.rb:65:insudo_mode'
Started GET "/redmine/admin/projects" for 127.0.0.1 at 2020-06-15 22:12:24 +0530
Processing by AdminController#projects as HTML
Current user: admin (id=1)
Completed 500 Internal Server Error in 5547ms (ActiveRecord: 163.4ms)
Please help me to resolve the issue
Answers (2)
Hello. Further investigation is needed on the reported problem. Please contact our support team at support@redmineup.com for the solution of it. Thank you.
Hello, I meet same problem when I am using latest cms plugin on redmine 5.1
Environment:
Ubuntu22.04 + docker redmine:5.1,
redmine_cms-1_2_6-light plugin
root@bafe03dea6d7:/usr/src/redmine# bundle exec rake redmine:plugins NAME=redmine_cms RAILS_ENV=production
(in /usr/src/redmine)
W, [2024-10-29T08:22:08.073009 #42] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
W, [2024-10-29T08:22:08.199292 #42] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
rake aborted!
Redmine::PluginNotFound: Plugin not found. The directory for plugin redmineup_cms should be /usr/src/redmine/plugins/redmineup_cms. (Redmine::PluginNotFound)
/usr/src/redmine/lib/redmine/plugin.rb:104:in `register'
/usr/src/redmine/plugins/redmine_cms/init.rb:22:in `<top (required)>'
/usr/src/redmine/lib/redmine/plugin_loader.rb:31:in `load'
/usr/src/redmine/lib/redmine/plugin_loader.rb:31:in `run_initializer'
/usr/src/redmine/lib/redmine/plugin_loader.rb:108:in `each'
/usr/src/redmine/lib/redmine/plugin_loader.rb:108:in `block in load'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:603:in `catch'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:512:in `each'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/reloader.rb:88:in `prepare!'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `instance_exec'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `run'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/initializable.rb:60:in `run_initializers'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/application.rb:391:in `initialize!'
/usr/src/redmine/config/environment.rb:16:in `<top (required)>'
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
/usr/local/bundle/gems/zeitwerk-2.7.0/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/local/bundle/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/application.rb:367:in `require_environment!'
/usr/local/bundle/gems/railties-6.1.7.8/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/src/redmine/lib/tasks/redmine.rake:73:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
Hello. Further investigation is needed on the reported problem. Please contact our support team at support@redmineup.com for the solution of it. Thank you.