How to upgrade the turnkey redmine VM from redmine 1.0.5 to 1.2

Source: Internet
Author: User
Tags redmine

#0

/Etc/init. d/apache2 stop

#1
CD/var/WWW

#2
MV railsapp railsappold

#3
SVN Co http://redmine.rubyforge.org/svn/branches/1.2-stable railsapp

#4
CP./railsappold/config/database. yml./railsapp/config/database. yml

#5
CP./railsappold/config/email. yml./railsapp/config/email. yml

#6
CP-R./railsappold/files./railsapp/Files

#7
Sudo chown-r root: www-data/var/www/railsapp

#8
CD/var/www/railsapp

#9 (inside the/var/www/railsapp folder)
Sudo chown-r www-data: www-data files log TMP

#10 (this command takes a little time-Be patient)
Gem install rails-V = 2.3.11

#11
Gem install rack

#12
Gem install rack-V = 1.1.1

#13 (inside the/var/www/railsapp folder)
Rake generate_session_store

#14 (inside the/var/www/railsapp folder)
Rake DB: migrate rails_env = Production

#15 (inside the/var/www/railsapp folder)
Sudo chown-r www-data: www-data files log TMP public/plugin_assets

#16 (inside the/var/www/railsapp folder)
Rake DB: migrate: upgrade_plugin_migrations rails_env = Production

#17 (inside the/var/www/railsapp folder)
Rake DB: migrate_plugins rails_env = Production
 
#18
Sudo chmod-r 755 files log/tmp/public/plugin_assets
 
#19 (inside the/var/www/railsapp folder)
Rake TMP: cache: Clear

#20 (inside the/var/www/railsapp folder)
Rake TMP: Sessions: Clear

#21

/Etc/init. d/apache2 start

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.