剛裝完1.0.3兩天,1.0.4發布了,乘項目還沒有開始,趕快升級。升級過程
1.設定環境變數:
RAILS_ENV=productionexport RAILS_ENV
2. 擷取最新代碼:
cd redmine-2.3/plugins/redmine_backlogs
git fetch --tags origingit tag
3. checkout到最新的tag v1.0.4
git checkout v1.0.4
4. 回到redmine-2.3目錄,運行安裝命令:
bundle exec rake redmine:backlogs:install2.3.2.stable.12037. You are running backlogs v1.0.4, latest version is 1.0.4===================================================== Redmine Backlogs Installer=====================================================Installing to the production environment.Fetching card labels from http://git.gnome.org...done!Story and task trackers are now set.Migrating the database...** Invoke redmine:plugins:migrate (first_time)** Invoke environment (first_time)** Execute environment** Execute redmine:plugins:migrate** Invoke db:schema:dump (first_time)** Invoke environment ** Invoke db:load_config (first_time)** Execute db:load_config** Execute db:schema:dump** Invoke redmine:backlogs:fix_positions (first_time)** Invoke environment (first_time)** Execute environment** Execute redmine:backlogs:fix_positionsdone!
5. 重新啟動 redmine。升級成功。