session_store.rb isn't being processed
I'm running Redmine 0.8.7 on Apache 2.2.3, Passenger 2.2.5, Rails 2.1.2 and Ruby 1.8.5, on a RHEL 4.5.
After upgrading from 0.8.6, I ran the following command as stated on upgrade guide:
After restarting Apache, Redmine just doesn't work. Passenger shows an exception, and the following lines appear on logs:
*** Exception ApplicationController::MissingSessionSecret in PhusionPassenger::Railz::ApplicationSpawner (Missing session secret. Please run 'rake config/initializers/session_store.rb' to generate one) (process 18731): from /opt/redmine/app/controllers/application.rb:29 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in' [....]
config/initializers/session_store.rb exists and has valid content. I have tried inserting some rubbish characters inside it and restarting Apache, and Passenger doesn't throw any kind of error, so I think
session_store.rb isn't being read.
At this moment I have session generation options included on
config/environment.rb as a workaround.
#4 Updated by Jorge López over 10 years ago
- Status changed from New to Resolved
You're right. I'm using your redmine_bots_filter plugin and after moving it out from plugins directory, Redmine has started working perfect.
So the plugin seems to be incompatible with 0.8.7.
I'm changing the status to resolved, what should I do with the plugin?
Thank you very much.