Project

General

Profile

easy_agile: no "all.css"

Added by Toni Mueller over 13 years ago

I've tried to run the easy_agile plugin. On one server, it works (w./ redmine 1.0.3), on another, it fails (w./ redmine 1.0.4) due to a missing 'all.css'. Grep'ing the source of redmine versions starting with 1.0.1 suggests that the file should be part of one of the plugins, but I don't see where that should be, as grep'ing the sources of the plugins also doesn't turn up anything. But then, I'm only a user of Redmine and have not yet a real clue about Ruby, much less Rails. :(

The traceback looks like this:

ActionView::TemplateError (Permission denied - /srv/redmine/sd/public/stylesheets/all.css) on line #4 of vendor/plugins/easy_agile/app/views/layouts/ea_base.html.erb:
1: <% inside_layout 'base' do ->
2: <
content_for :header_tags do >
3: <
= stylesheet_link_tag(
4: 'story/layout',
5: 'story/colours',
6: 'story/typography',
7:

/usr/lib/ruby/1.8/action_view/helpers/asset_tag_helper.rb:673:in `initialize'
/usr/lib/ruby/1.8/action_view/helpers/asset_tag_helper.rb:673:in `open'
/usr/lib/ruby/1.8/action_view/helpers/asset_tag_helper.rb:673:in `write_asset_file_contents'
/usr/lib/ruby/1.8/action_view/helpers/asset_tag_helper.rb:433:in `stylesheet_link_tag_without_engine_additions'
vendor/plugins/easy_agile/app/views/layouts/ea_base.html.erb:4
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:36:in `call'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:120:in `content_for'
app/helpers/application_helper.rb:802:in `content_for'
vendor/plugins/easy_agile/app/views/layouts/ea_base.html.erb:2
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:36:in `call'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/lib/ruby/1.8/action_view/helpers/capture_helper.rb:36:in `capture'
vendor/plugins/easy_agile/app/views/layouts/ea_base.html.erb:1
/usr/lib/ruby/1.8/action_view/renderable.rb:34:in `send'
/usr/lib/ruby/1.8/action_view/renderable.rb:34:in `render'
/usr/lib/ruby/1.8/action_view/base.rb:306:in `with_template'
/usr/lib/ruby/1.8/action_view/renderable.rb:30:in `render'
/usr/lib/ruby/1.8/action_view/template.rb:205:in `render_template'
/usr/lib/ruby/1.8/action_view/base.rb:265:in `render'
/usr/lib/ruby/1.8/action_view/base.rb:352:in `_render_with_layout'
/usr/lib/ruby/1.8/action_view/base.rb:262:in `render'
/usr/lib/ruby/1.8/action_controller/base.rb:1250:in `render_for_file'
/usr/lib/ruby/1.8/action_controller/base.rb:945:in `render_without_benchmark'
/usr/lib/ruby/1.8/action_controller/benchmarking.rb:51:in `render'
/usr/lib/ruby/1.8/action_controller/benchmarking.rb:51:in `render'
vendor/plugins/easy_agile/app/controllers/easy_agile_controller.rb:8:in `show'
/usr/lib/ruby/1.8/action_controller/base.rb:1331:in `send'
/usr/lib/ruby/1.8/action_controller/base.rb:1331:in `perform_action_without_filters'
/usr/lib/ruby/1.8/action_controller/filters.rb:617:in `call_filters'
/usr/lib/ruby/1.8/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/lib/ruby/1.8/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/lib/ruby/1.8/action_controller/flash.rb:146:in `perform_action'
/usr/lib/ruby/1.8/action_controller/base.rb:532:in `send'
/usr/lib/ruby/1.8/action_controller/base.rb:532:in `process_without_filters'
/usr/lib/ruby/1.8/action_controller/filters.rb:606:in `process'
/usr/lib/ruby/1.8/action_controller/base.rb:391:in `process'
/usr/lib/ruby/1.8/action_controller/base.rb:386:in `call'
/usr/lib/ruby/1.8/action_controller/routing/route_set.rb:437:in `call'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/lib/ruby/1.8/active_record/query_cache.rb:29:in `call'
/usr/lib/ruby/1.8/active_record/query_cache.rb:29:in `call'
/usr/lib/ruby/1.8/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/lib/ruby/1.8/active_record/query_cache.rb:9:in `cache'
/usr/lib/ruby/1.8/active_record/query_cache.rb:28:in `call'
/usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'
/usr/lib/ruby/1.8/rack/head.rb:9:in `call'
/usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call'
/usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:93:in `call'
/usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:106:in `call'
/usr/lib/ruby/1.8/rack/adapter/rails.rb:75:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/1.8/eventmachine.rb:257:in `run_machine'
/usr/lib/ruby/1.8/eventmachine.rb:257:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/thin/controllers/controller.rb:80:in `start'
/usr/lib/ruby/1.8/thin/runner.rb:174:in `send'
/usr/lib/ruby/1.8/thin/runner.rb:174:in `run_command'
/usr/lib/ruby/1.8/thin/runner.rb:140:in `run!'
/usr/bin/thin:6

Rendering /srv/redmine/sd/public/500.html (500 Internal Server Error)

With the working instance, the file is located in ./public/stylesheets. The problem so far only occurs with the easy_agile plugin, while the rest of the site works as expected. Of course, I can copy the file from the working installation, but one of the very few Google results indicated that it might have something to do with opening a security hole.