summaryrefslogtreecommitdiffstats
path: root/doc/UPGRADING
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-04-25 08:13:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-04-25 08:13:23 +0000
commit1860c43d665d8c16cc8798af7b0e828f30c799fa (patch)
tree3a3be3b8d3075d49ca203d5a0e10c4ecb598e8f2 /doc/UPGRADING
parent16b5ff6aaf7974fd3232d567125e68a41fca2476 (diff)
downloadredmine-1860c43d665d8c16cc8798af7b0e828f30c799fa.tar.gz
redmine-1860c43d665d8c16cc8798af7b0e828f30c799fa.zip
Upgrade guide for 3.x version and get gid of DEPRECATION WARNING: You didn't set config.secret_key_base (#19185).
git-svn-id: http://svn.redmine.org/redmine/trunk@14217 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'doc/UPGRADING')
-rw-r--r--doc/UPGRADING12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/UPGRADING b/doc/UPGRADING
index 9bf0536d8..729b006ce 100644
--- a/doc/UPGRADING
+++ b/doc/UPGRADING
@@ -44,10 +44,16 @@ http://www.redmine.org/
6. Generate a session store secret
- Redmine stores session data in cookies by default, which requires
- a secret to be generated. Under the new application directory run:
+ If you're upgrading from Redmine 2.x or below, remove the following file
+ if it exists: config/initializers/secret_token.rb
+
+ Then generate a new secret by running the following command under the
+ application directory:
bundle exec rake generate_secret_token
-
+
+ Alternatively, you can store this secret in config/secrets.yml:
+ http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml
+
DO NOT REPLACE OR EDIT ANY OTHER FILES.
7. Migrate your database