2010年9月1日水曜日

Redmine1.0.1へアップデート(svn)

日本時間8/23にRedmine 1.0.1が正式リリースされました。
前回1.0.0 RCをインストールしたのでこれをアップデートします。(開発版です)

私がインストールした手順についてはこちらです。(CentOS+PostgreSQL)

データベースのバックアップ
# /usr/local/pgsql/bin/pg_dump -U [db username] -Fc --file=[backup filename] [dbname]

Redmineのインストールディレクトリへ移動
# cd /home/redmine/

SVN レポジトリからチェックアウト
# svn update
U test/unit/issue_status_test.rb

A test/unit/helpers/issue_moves_helper_test.rb
U test/unit/helpers/application_helper_test.rb
U test/unit/lib/redmine/menu_manager_test.rb
U test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
U test/unit/lib/redmine/menu_manager/menu_item_test.rb
U test/unit/lib/redmine_test.rb
U test/unit/user_test.rb
U test/unit/query_test.rb
U test/unit/mailer_test.rb
U test/exemplars/attachment_exemplar.rb
U test/test_helper.rb
U test/functional/issues_controller_test.rb
A test/functional/auto_completes_controller_test.rb
A test/functional/context_menus_controller_test.rb
U test/functional/account_controller_test.rb
U test/functional/calendars_controller_test.rb
U test/functional/journals_controller_test.rb
U test/functional/gantts_controller_test.rb
U test/functional/users_controller_test.rb
A test/functional/issue_moves_controller_test.rb
A test/functional/activities_controller_test.rb
U test/functional/projects_controller_test.rb
A test/functional/files_controller_test.rb
A test/functional/previews_controller_test.rb
U test/functional/auth_sources_controller_test.rb
U test/functional/versions_controller_test.rb
U test/integration/issues_api_test.rb
U test/integration/routing_test.rb
U test/integration/issues_test.rb
A test/integration/layout_test.rb
U test/fixtures/enabled_modules.yml
U app/helpers/projects_helper.rb
A app/helpers/calendars_helper.rb
U app/helpers/issues_helper.rb
U app/helpers/queries_helper.rb
U app/helpers/journals_helper.rb
A app/helpers/issue_moves_helper.rb
U app/helpers/application_helper.rb
U app/models/change.rb
U app/models/query.rb
U app/models/member.rb
U app/models/mailer.rb
U app/models/user.rb
U app/models/issue_status.rb
U app/models/changeset.rb
U app/controllers/issues_controller.rb
A app/controllers/auto_completes_controller.rb
A app/controllers/context_menus_controller.rb
U app/controllers/journals_controller.rb
U app/controllers/timelog_controller.rb
U app/controllers/users_controller.rb
A app/controllers/issue_moves_controller.rb
A app/controllers/files_controller.rb
U app/controllers/application_controller.rb
A app/controllers/previews_controller.rb
U app/controllers/versions_controller.rb
U app/controllers/boards_controller.rb
U app/controllers/groups_controller.rb
U app/controllers/projects_controller.rb
U app/controllers/account_controller.rb
U app/controllers/calendars_controller.rb
U app/controllers/gantts_controller.rb
A app/controllers/activities_controller.rb
A app/views/auto_completes
A app/views/auto_completes/issues.html.erb
A app/views/context_menus
A app/views/context_menus/issues.html.erb
U app/views/welcome/index.rhtml
A app/views/journals/index.rxml
U app/views/layouts/base.rhtml
A app/views/issue_moves
A app/views/issue_moves/new.rhtml
U app/views/users/_memberships.rhtml
U app/views/users/show.rhtml
A app/views/files
A app/views/files/index.html.erb
A app/views/previews
A app/views/previews/issue.html.erb
U app/views/messages/show.rhtml
A app/views/versions/index.html.erb
U app/views/versions/show.rhtml
U app/views/boards/index.rhtml
U app/views/attachments/_form.rhtml
U app/views/news/_news.rhtml
U app/views/news/index.rhtml
U app/views/repositories/diff.rhtml
U app/views/admin/_menu.rhtml
U app/views/admin/projects.rhtml
D app/views/projects/activity.rhtml
D app/views/projects/list_files.rhtml
D app/views/projects/roadmap.rhtml
U app/views/projects/show.rhtml
U app/views/projects/_form.rhtml
A app/views/projects/_members_box.html.erb
U app/views/projects/index.rhtml
U app/views/calendars/show.html.erb
U app/views/gantts/show.html.erb
U app/views/wiki/special_date_index.rhtml
A app/views/activities
A app/views/activities/index.html.erb
D app/views/issues/changes.rxml
D app/views/issues/preview.html.erb
D app/views/issues/move.rhtml
D app/views/issues/context_menu.rhtml
D app/views/issues/auto_complete.html.erb
U app/views/issues/_relations.rhtml
U app/views/issues/_action_menu.rhtml
U app/views/issues/_history.rhtml
U app/views/issues/_form.rhtml
U app/views/issues/bulk_edit.rhtml
U app/views/issues/index.rhtml
U app/views/issues/_sidebar.rhtml
U app/views/issues/show.rhtml
U app/views/issues/_changesets.rhtml
U app/views/issues/_list_simple.rhtml
U app/views/issues/_edit.rhtml
U app/views/issues/new.rhtml
A db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb
U db/migrate/20100705164950_change_changes_path_length_limit.rb
U vendor/plugins/open_id_authentication/lib/open_id_authentication.rb
U config/settings.yml
D config/locales/sr-CY.yml
U config/locales/lt.yml
A config/locales/sr-YU.yml
U config/locales/ro.yml
U config/locales/lv.yml
U config/locales/zh.yml
U config/locales/pt.yml
U config/locales/ca.yml
U config/locales/pt-BR.yml
U config/locales/tr.yml
U config/locales/ru.yml
U config/locales/en-GB.yml
U config/locales/id.yml
U config/locales/el.yml
U config/locales/en.yml
U config/locales/gl.yml
U config/locales/cs.yml
U config/locales/es.yml
A config/locales/mk.yml
U config/locales/zh-TW.yml
U config/locales/eu.yml
U config/locales/ko.yml
U config/locales/mn.yml
U config/locales/it.yml
U config/locales/sk.yml
U config/locales/sl.yml
U config/locales/uk.yml
U config/locales/sr.yml
U config/locales/da.yml
U config/locales/sv.yml
U config/locales/de.yml
U config/locales/bg.yml
U config/locales/ja.yml
U config/locales/he.yml
U config/locales/fi.yml
U config/locales/bs.yml
U config/locales/fr.yml
U config/locales/nl.yml
U config/locales/hr.yml
U config/locales/pl.yml
U config/locales/th.yml
U config/locales/no.yml
U config/locales/hu.yml
U config/locales/vi.yml
U config/routes.rb
U doc/CHANGELOG
U lib/redmine/export/pdf.rb
U lib/redmine/scm/adapters/git_adapter.rb
U lib/redmine/version.rb
U lib/redmine/helpers/gantt.rb
U lib/redmine.rb
A lib/tasks/permissions.rake
U lib/tasks/yardoc.rake
A lib/tasks/ci.rake
U public/javascripts/jstoolbar/lang/jstoolbar-mk.js
A public/javascripts/jstoolbar/lang/jstoolbar-sr-yu.js
U public/javascripts/jstoolbar/lang/jstoolbar-it.js
U public/javascripts/jstoolbar/lang/jstoolbar-sr.js
D public/javascripts/calendar/lang/calendar-sr-CY.js
U public/javascripts/calendar/lang/calendar-mk.js
A public/javascripts/calendar/lang/calendar-sr-yu.js
U public/javascripts/calendar/lang/calendar-it.js
U public/javascripts/calendar/lang/calendar-sr.js
U public/javascripts/application.js
U public/stylesheets/calendar.css
A public/stylesheets/context_menu_rtl.css
A public/stylesheets/rtl.css
G public/stylesheets/application.css
Updated to revision 4051.

db:migrateの実行
# rake db:migrate RAILS_ENV="production"
(in /home/redmine)

== ChangeChangesPathLengthLimit: migrating ===================================
-- change_column(:changes, :path, :text, {:null=>true, :default=>nil})
-> 0.2495s
-- change_column(:changes, :path, :text, {:null=>false})
-> 0.0728s
-- change_column(:changes, :from_path, :text)
-> 0.0443s
== ChangeChangesPathLengthLimit: migrated (0.3670s) ==========================

== EnableCalendarAndGanttModulesWhereAppropriate: migrating ==================
== EnableCalendarAndGanttModulesWhereAppropriate: migrated (0.0298s) =========

プラグイン関連(0.8.xから継続してアップグレードしてきた場合)
# rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production

ちなみに私は1.0.0 からですので実行する必要がないのですが、どうなるか行ってみたところ・・・旧バージョンに関するものがないので実行する必要なしと表示されました。
(in /home/redmine)

Cannot find old migration table - assuming nothing needs to be done

プラグイン関連
# rake db:migrate_plugins RAILS_ENV=production
(in /home/redmine)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating coderay-0.9.2...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating trunk...
 
Clean upの実行
# rake tmp:cache:clear
# rake tmp:sessions:clear
 
アプリケーションサーバの再起動(Apache)
# /usr/local/apache/bin/apachectl restart
 
 
完了です。
参照した本家のページ http://www.redmine.org/wiki/redmine/RedmineUpgrade

0 件のコメント:

Google検索