Project

General

Profile

Actions

Defect #4848

closed

INSTALL doc: session key must be made _before_ db structure

Added by Henning Sprang almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
Start date:
2010-02-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When trying to run step 4 in the INSTALL doc "rake db:migrate RAILS_ENV="production"

I get the mnessage "... A key is required to write a cookie containing the session data. Use config.action_controller.session = { :key => "_myapp_session", :secret => "some secret phrase" } in config/environment.rb"

Step 5 (running rake config/initializers/session_store.rb ) solves this - but usually people run these steps from top to bottom, so the ordering should be changed :)

For the records: I'm working with redmine 0.9.2 here.

Actions

Also available in: Atom PDF