Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error upon git clone installation. #54

Closed
shawndibble opened this issue Jun 12, 2015 · 3 comments
Closed

500 error upon git clone installation. #54

shawndibble opened this issue Jun 12, 2015 · 3 comments
Labels

Comments

@shawndibble
Copy link

Tried installing your plugin. After restarting apache, I get a 500 error immediately. Below is a copy of the production.log file. updated 6/23/2015

Started GET "/admin" for 192.168.1.58 at 2015-06-23 16:04:27 -0500
Processing by AdminController#index as HTML
Current user: *******(id=320)
Rendered admin/_menu.html.erb (4.8ms)
Rendered admin/index.html.erb within layouts/admin (6.1ms)
Rendered layouts/base.html.erb (8.5ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.2ms)
Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.6ms)

ActionView::Template::Error (Missing partial hooks/_stylesheet with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rsb]}. Searched in:

  • "/var/data/redmine/plugins/redmine_monitoring_controlling/app/views"
  • "/var/data/redmine/plugins/redmine_ldap_sync/app/views"
  • "/var/data/redmine/plugins/redmine_importer/app/views"
  • "/var/data/redmine/plugins/redmine_ckeditor/app/views"
  • "/var/data/redmine/plugins/redmine_checklists/app/views"
  • "/var/data/redmine/plugins/redmine_bootstrap_kit/app/views"
  • "/var/data/redmine/plugins/redmine_agile/app/views"
  • "/var/data/redmine/app/views"
  • "/usr/local/rvm/gems/ruby-2.0.0-p643/gems/kaminari-0.16.3/app/views"
  • "/usr/local/rvm/gems/ruby-2.0.0-p643/bundler/gems/rich-93d1dd9526e1/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:119:in block (2 levels) in render_on' lib/redmine/hook.rb:117:inmap'
    lib/redmine/hook.rb:117:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:167:in call_hook' app/views/layouts/base.html.erb:14:in_app_views_layouts_base_html_erb__4553804919593994518_48302540'
    app/controllers/application_controller.rb:469:in block (2 levels) in render_error' app/controllers/application_controller.rb:467:inrender_error'
    app/controllers/application_controller.rb:455:in render_404' app/controllers/application_controller.rb:479:inmissing_template'
@zealot128
Copy link

ran into the same issue, fixed it with renaming the plugin folder to:

plugins/advanced_roadmap_v2

explaination: the folder have to have to the same name as the plugin, otherwise the view paths are not found.

Update:
Also rerun the migrations after renaming the folder:

bundle exec rake redmine:plugins:migrate

@Coren
Copy link
Owner

Coren commented Jun 28, 2015

I can confirm this.
You need to rename your plugin folder to

plugins/advanced_roadmap_v2

@Coren Coren added the question label Jun 28, 2015
@shawndibble shawndibble changed the title 500 error upon installation. 500 error upon git clone installation. Jun 29, 2015
@shawndibble
Copy link
Author

Yep. I was just doing a git clone like I do with all the other redmine plugins. Helps if I follow directions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants