When I deployed Redmine_Banner in Bitnami Redmine, Internal Error (505) was displayed and became unusable.

Asked 2 years ago, Updated 2 years ago, 67 views

I'm using Bitnami Redmine in Windows 7, but I got an Internal Error right after I started using Redmine_Bunner and I can't use Redmine anymore.I don't mind if Redmine_Bunner is not available, so could you tell me how to restore Redmine?

  • Windows 7 (32-bit)
  • Bitnami Redmine 3.4.4.stable

I wrote it in the following entry.
I wanted to deploy RedmineBanner in Bitnami Redmine - Qiita

When I accessed localhost/Redmine, the top page was not displayed and the following error message was displayed with the title "Redmine 500 error".

Internal error

Error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

The error log is as follows:

Started GET"/redmine/"for XXX.X.X.X at 2018-XX-XXXX:XX:XX+0900
Processing by WelcomeController #index as HTML
  Current user: ****(id=1)
  Rendered welcome/index.html.erb with in layouts/base (2.0ms)
Missing template, responding with 404
  Rendered common/error.html.erb with in layouts/base(0.0ms)
Completed 500 Internal Server Error in 427ms (ActiveRecord: 236.0ms)

ActionView::Template::Error(Missing partial banner/_project_body_bottom with {:locale=>[:ja,:en],:forms=>[:html],:variants=>[],:handlers=>[:erb,:builder,:wraear }
  * "C:/Bitnami/redmine-3.4.4-3/apps/redmine/htdocs/plugins/redmine_work_time/app/views"
  * "C:/Bitnami/redmine-3.4.4-3/apps/redmine/htdocs/plugins/easy_gantt/app/views"
  * "C:/Bitnami/redmine-3.4.4-3/apps/redmine/htdocs/app/views"
  * "C:/Bitnami/redmine-3.4.4-3/ruby/lib/ruby/gems/2.3.0/gems/redmine_extensions-0.2.9/app/views"
):
    105:         
    106:     
    107: 
    108:     
    109:         
    110:         
    111:         
  plugins/redmine_banner-master/lib/banner_application_hooks.rb:17:in`view_layouts_base_content'
  lib/redmine/hook.rb: 61: in `block(2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in`tap'
  lib/redmine/hook.rb:58:in`call_hook'
  lib/redmine/hook.rb:96:in`call_hook'
  app/views/layouts/base.html.erb: 108:in`_app_views_layouts_base_html_erb__215493345_35494368'
  app/controllers/application_controller.rb:491: in `block(2 levels) in render_error'
  app/controllers/application_controller.rb:489:in`render_error'
  app/controllers/application_controller.rb:477:in`render_404'
  app/controllers/application_controller.rb:501:in`missing_template'

redmine

2022-09-30 21:32

2 Answers

This is centOS 6.9...

  • Redmine version 3.4.6.stable
  • redmine_banner 0.1.2

It is also an internal error, and the log is almost the same as "Missing template, responding with 404".
Is the plugin name extracted to the plugins directory "redmine_banner-master"?
"When I unzipped the zip, ""redmine_banner-master"" was created, so I installed it as it was, and the symptom occurred."
After uninstallation, Redmine Banner plugin was successfully available by renaming it as "redmine_banner".

I hope it will be helpful


2022-09-30 21:32

Why don't you run Unstall, which is written in Readme?
It is recommended that you back up your operating system in advance.

Uninstall

For Redmine 2.x, use the following command:

rake redmine:plugins:migrate NAME=redmine_banner VERSION=0RAILS_ENV=production

For Redmine 1.x, use the following command:

rakedb: migrate_plugins NAME=redmine_banner VERSION=0RAILS_ENV=production


2022-09-30 21:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.