您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. == Redmine upgrade
  2. Redmine - project management software
  3. Copyright (C) 2006-2010 Jean-Philippe Lang
  4. http://www.redmine.org/
  5. == Upgrading
  6. 1. Uncompress the program archive in a new directory
  7. 2. Copy your database settings (RAILS_ROOT/config/database.yml)
  8. and SMTP settings (RAILS_ROOT/config/email.yml) into the new
  9. config directory
  10. 3. Copy the RAILS_ROOT/files directory content into your new installation
  11. This directory contains all the attached files.
  12. 4. Copy the folders of the installed plugins and themes into new installation
  13. 5. Generate a session store secret
  14. Redmine stores session data in cookies by default, which requires
  15. a secret to be generated. Under the new application directory run:
  16. rake generate_session_store
  17. DO NOT REPLACE OR EDIT ANY OTHER FILES.
  18. 6. Migrate your database
  19. If you are upgrading to Rails 2.3.5 as part of this migration, you
  20. need to upgrade the plugin migrations before running the plugin migrations
  21. using:
  22. rake db:migrate:upgrade_plugin_migrations RAILS_ENV="production"
  23. Please make a backup before doing this! Under the new application
  24. directory run:
  25. rake db:migrate RAILS_ENV="production"
  26. If you have installed any plugins, you should also run their database
  27. migrations using:
  28. rake db:migrate_plugins RAILS_ENV="production"
  29. 7. Clean up
  30. Clear the cache and the existing sessions by running:
  31. rake tmp:cache:clear
  32. rake tmp:sessions:clear
  33. 8. Restart the application server (e.g. mongrel, thin, passenger)
  34. 9. Finally go to "Administration -> Roles & permissions" to check/set permissions
  35. for new features, if any
  36. == Notes
  37. * Rails 2.3.5 is required for versions 0.9.x and 1.0.x.
  38. == References
  39. * http://www.redmine.org/wiki/redmine/RedmineUpgrade