Project

General

Profile

Actions

Defect #19185

closed

Update Install/Upgrade guide for 3.x version and get gid of DEPRECATION WARNING: You didn't set config.secret_key_base

Added by Pavel Potcheptsov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Documentation
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Need to add section for 3.x install and upgrade to 3.x where change such text

Run the following command from your new Redmine root directory:

bundle exec rake generate_secret_token

This will generate a file (config/initializers/secret_token.rb) with a random secret used to secure session data.

to something like:
- follow official guide
- or just create secrets.yml file with such content:
production:
  secret_key_base:

- run rake secret and copy/paste output after secret_key_base:
Otherwise you'll get DEPRECATION WARNING: You didn't set config.secret_key_base in your production.log


Related issues

Related to Redmine - Patch #20292: Ignore Secrets.yml fileClosed

Actions
Actions

Also available in: Atom PDF