Defect #2501

Stylesheets not being applied after upgrading to 0.8.0

Added by Sam Bloomquist almost 14 years ago. Updated almost 14 years ago.

Status:ClosedStart date:2009-01-13
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-
Resolution: Affected version:

Description

I recently upgraded to Redmine 0.8.0 on a Dreamhost shared server by following the instructions on RedmineUpgrade. Everything went smoothly except that now the stylesheets are no longer applied. I am getting a lot of messages like the following in my production.log file (also get similar errors for javascript files):

ActionController::RoutingError (No route matches "/public/stylesheets/application.css" with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:385:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
/dh/passenger/lib/passenger/railz/request_handler.rb:38:in `process_request'
/dh/passenger/lib/passenger/abstract_request_handler.rb:165:in `main_loop'
/dh/passenger/lib/passenger/railz/application_spawner.rb:321:in `start_request_handler'
/dh/passenger/lib/passenger/railz/application_spawner.rb:282:in `handle_spawn_application'
/dh/passenger/lib/passenger/utils.rb:163:in `safe_fork'
/dh/passenger/lib/passenger/utils.rb:161:in `fork'
/dh/passenger/lib/passenger/utils.rb:161:in `safe_fork'
/dh/passenger/lib/passenger/railz/application_spawner.rb:280:in `handle_spawn_application'
/dh/passenger/lib/passenger/utils.rb:163:in `safe_fork'
/dh/passenger/lib/passenger/utils.rb:161:in `fork'
/dh/passenger/lib/passenger/utils.rb:161:in `safe_fork'
/dh/passenger/lib/passenger/railz/application_spawner.rb:279:in `handle_spawn_application'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `__send__'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `main_loop'
/dh/passenger/lib/passenger/abstract_server.rb:168:in `start_synchronously'
/dh/passenger/lib/passenger/abstract_server.rb:135:in `start'
/dh/passenger/lib/passenger/abstract_server.rb:112:in `fork'
/dh/passenger/lib/passenger/abstract_server.rb:112:in `start'
/dh/passenger/lib/passenger/railz/application_spawner.rb:179:in `start'
/dh/passenger/lib/passenger/spawn_manager.rb:222:in `spawn_rails_application'
/dh/passenger/lib/passenger/spawn_manager.rb:217:in `synchronize'
/dh/passenger/lib/passenger/spawn_manager.rb:217:in `spawn_rails_application'
/dh/passenger/lib/passenger/spawn_manager.rb:126:in `spawn_application'
/dh/passenger/lib/passenger/spawn_manager.rb:251:in `handle_spawn_application'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `__send__'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `main_loop'
/dh/passenger/lib/passenger/utils.rb:161:in `fork'
/dh/passenger/lib/passenger/utils.rb:161:in `safe_fork'
/dh/passenger/lib/passenger/railz/application_spawner.rb:280:in `handle_spawn_application'
/dh/passenger/lib/passenger/utils.rb:163:in `safe_fork'
/dh/passenger/lib/passenger/utils.rb:161:in `fork'
/dh/passenger/lib/passenger/utils.rb:161:in `safe_fork'
/dh/passenger/lib/passenger/railz/application_spawner.rb:279:in `handle_spawn_application'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `__send__'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `main_loop'
/dh/passenger/lib/passenger/abstract_server.rb:168:in `start_synchronously'
/dh/passenger/lib/passenger/abstract_server.rb:135:in `start'
/dh/passenger/lib/passenger/abstract_server.rb:112:in `fork'
/dh/passenger/lib/passenger/abstract_server.rb:112:in `start'
/dh/passenger/lib/passenger/railz/application_spawner.rb:179:in `start'
/dh/passenger/lib/passenger/spawn_manager.rb:222:in `spawn_rails_application'
/dh/passenger/lib/passenger/spawn_manager.rb:217:in `synchronize'
/dh/passenger/lib/passenger/spawn_manager.rb:217:in `spawn_rails_application'
/dh/passenger/lib/passenger/spawn_manager.rb:126:in `spawn_application'
/dh/passenger/lib/passenger/spawn_manager.rb:251:in `handle_spawn_application'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `__send__'
/dh/passenger/lib/passenger/abstract_server.rb:317:in `main_loop'
/dh/passenger/lib/passenger/abstract_server.rb:168:in `start_synchronously'
/dh/passenger/bin/passenger-spawn-server:46

I tried uncommenting and updating the "config.action_controller.asset_host" property in config/environments/production.rb with no luck. Dreamhost recently upgraded all of their servers to Rails 2.2.2, but I don't think this should be the problem since rails is frozen into the vendor directory. The environment.rb file still specifies RAILS_GEM_VERSION as 2.1.2

History

#1 Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from New to Closed
  • Affected version (unused) deleted (0.8.0)

Obviously, stylesheets are still there.
Please, try to get help in the forums.

Also available in: Atom PDF