(bitnami-)redmine 3.3.0 に pluginを導入してみました。
既に、何度か実行中の手順です。
1.bitnami-redmineからのインストーラーをダウンロードし、
docker containerを作成・実行
2.1のコンテナに対して、稼働中の旧バージョン(今回は3.2.3)から
対象となるpluginsを移行
(毎日バックアップを取得しているので、それを転用)
3.pluginを配置後に、導入手順を実行
(導入済みプラグイン情報:管理-情報 の表示から)
Redmine plugins:
advanced_roadmap_v2 2.4.3
clipboard_image_paste 1.10
easy_gantt 1.4
redmine_absolute_dates 0.0.2
redmine_agile 1.3.13
redmine_checklists 3.1.3
redmine_close_button 0.0.8
redmine_code_review 0.7.0
redmine_default_custom_query 1.1.2
redmine_issue_templates 0.1.1
redmine_issues_summary_graph 0.0.9
redmine_logs 0.1.0
redmine_monitoring_controlling 0.1.1
redmine_my_calendar 0.0.1
redmine_slack 0.1
redmine_vividtone_my_page_blocks 20150614
redmine_wiki_extensions 0.7.0
redmine_wiki_lists 0.0.6
redmine_work_days 0.9.0
redmine_work_time 0.3.2
sidebar_hide 0.0.7
プラグインのページは、このとおり。
既に、何度か実行中の手順です。
1.bitnami-redmineからのインストーラーをダウンロードし、
docker containerを作成・実行
2.1のコンテナに対して、稼働中の旧バージョン(今回は3.2.3)から
対象となるpluginsを移行
(毎日バックアップを取得しているので、それを転用)
3.pluginを配置後に、導入手順を実行
[root@hogehoge htdocs]# vi Gemfile
=コメントアウト=
# gem "mime-types", (RUBY_VERSION >= "2.0" ? "~> 3.0" : "~> 2.99")
=以下を追加=
gem "httpclient"
gem "mime-types"
gem "factory_girl_rails"
=以上を追加=
[root@hogehoge htdocs]# rm -rf Gemfile.lock
[root@hogehoge htdocs]# bundle install --no-deployment --without development test
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
Your Gemfile lists the gem mime-types (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Your Gemfile lists the gem httpclient (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Your Gemfile lists the gem simplecov-rcov (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...............................................................
Installing rake 11.2.2
Using i18n 0.7.0
Using json 1.8.3
Installing minitest 5.9.0
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Installing activesupport 4.2.6
Using builder 3.2.2
Using erubis 2.7.0
Installing mini_portile2 2.1.0
Installing pkg-config 1.1.7
Installing nokogiri 1.6.8 with native extensions
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Installing rails-html-sanitizer 1.0.3
Installing actionview 4.2.6
Using rack 1.6.4
Using rack-test 0.6.3
Installing actionpack 4.2.6
Using globalid 0.3.6
Installing activejob 4.2.6
Installing mime-types-data 3.2016.0521
Installing mime-types 3.1
Installing mail 2.6.4
Installing actionmailer 4.2.6
Installing actionpack-action_caching 1.1.1
Installing actionpack-xml_parser 1.0.2
Installing activemodel 4.2.6
Using arel 6.0.3
Installing activerecord 4.2.6
Installing addressable 2.4.0
Using bundler 1.10.4
Installing coderay 1.1.1
Installing concurrent-ruby 1.0.2
Installing css_parser 1.3.7
Installing docile 1.1.5
Installing factory_girl 4.7.0
Using thor 0.19.1
Installing railties 4.2.6
Installing factory_girl_rails 4.7.0
Installing htmlentities 4.3.1
Installing httpclient 2.8.0
Installing jquery-rails 3.1.4
Installing mimemagic 0.3.1
Installing multi_json 1.12.1
Using mysql2 0.4.2
Installing net-ldap 0.12.1
Installing protected_attributes 1.1.3
Installing ruby-openid 2.3.0
Installing rack-openid 1.4.2
Installing sprockets 3.6.2
Installing sprockets-rails 3.0.4
Installing rails 4.2.6
Installing rbpdf-font 1.19.0
Installing rbpdf 1.19.0
Installing redcarpet 3.3.4 with native extensions
Installing redmine_extensions 0.1.02
Installing request_store 1.0.5
Installing rmagick 2.15.4 with native extensions
Installing roadie 3.1.1
Installing roadie-rails 1.1.1
Installing simplecov-html 0.9.0
Installing simplecov 0.9.2
Installing simplecov-rcov 0.2.3
Bundle complete! 40 Gemfile dependencies, 65 gems now installed.
Gems in the groups development, test and sqlite were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
[root@hogehoge htdocs]# rake --trace db:migrate RAILS_ENV=production
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
== 20160404080304 ForcePasswordResetDuringSetup: migrating ====================
== 20160404080304 ForcePasswordResetDuringSetup: migrated (0.1817s) ===========
== 20160416072926 RemovePositionDefaults: migrating ===========================
-- change_column("boards", :position, :integer, {:default=>nil})
-> 0.0422s
-- change_column("custom_fields", :position, :integer, {:default=>nil})
-> 0.0327s
-- change_column("enumerations", :position, :integer, {:default=>nil})
-> 0.0098s
-- change_column("issue_statuses", :position, :integer, {:default=>nil})
-> 0.0132s
-- change_column("roles", :position, :integer, {:default=>nil})
-> 0.0091s
-- change_column("trackers", :position, :integer, {:default=>nil})
-> 0.0118s
== 20160416072926 RemovePositionDefaults: migrated (0.2269s) ==================
== 20160529063352 AddRolesSettings: migrating =================================
-- add_column(:roles, :settings, :text)
-> 0.0913s
== 20160529063352 AddRolesSettings: migrated (0.0916s) ========================
** Invoke db:_dump (first_time)
** Execute db:_dump
** Invoke db:schema:dump (first_time)
** Invoke environment
** Invoke db:load_config
** Execute db:schema:dump
[root@hogehoge htdocs]# rake --trace redmine:plugins:migrate RAILS_ENV=production
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:plugins:migrate
Migrating advanced_roadmap_v2 (Advanced roadmap & milestones plugin)...
Migrating clipboard_image_paste (Clipboard image paste)...
Migrating easy_gantt (Easy Gantt plugin)...
Migrating redmine_absolute_dates (Redmine Absolute Dates plugin)...
Migrating redmine_agile (Redmine Agile plugin (Light version))...
Migrating redmine_checklists (Redmine Checklists plugin (Light version))...
Migrating redmine_close_button (Redmine Close Issue Button Plugin)...
Migrating redmine_code_review (Redmine Code Review plugin)...
Migrating redmine_default_custom_query (Redmine Default Custom Query)...
Migrating redmine_issue_templates (Redmine Issue Templates plugin)...
Migrating redmine_issues_summary_graph (Redmine Issues Summary Graph plugin)...
Migrating redmine_logs (Redmine Logs plugin)...
Migrating redmine_monitoring_controlling (Redmine (Monitoring & Controlling | Monitoramento & Controle))...
Migrating redmine_my_calendar (Redmine My Calendar plugin)...
Migrating redmine_slack (Redmine Slack)...
Migrating redmine_vividtone_my_page_blocks (My Page Blocks plugin)...
Migrating redmine_wiki_extensions (Redmine Wiki Extensions plugin)...
Migrating redmine_wiki_lists (Redmine Wiki Lists plugin)...
Migrating redmine_work_days (Redmine Work Days)...
Migrating redmine_work_time (Redmine Work Time plugin)...
Migrating sidebar_hide (Sidebar Hide Plugin)...
** Invoke db:schema:dump (first_time)
** Invoke environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:schema:dump
(導入済みプラグイン情報:管理-情報 の表示から)
Redmine plugins:
advanced_roadmap_v2 2.4.3
clipboard_image_paste 1.10
easy_gantt 1.4
redmine_absolute_dates 0.0.2
redmine_agile 1.3.13
redmine_checklists 3.1.3
redmine_close_button 0.0.8
redmine_code_review 0.7.0
redmine_default_custom_query 1.1.2
redmine_issue_templates 0.1.1
redmine_issues_summary_graph 0.0.9
redmine_logs 0.1.0
redmine_monitoring_controlling 0.1.1
redmine_my_calendar 0.0.1
redmine_slack 0.1
redmine_vividtone_my_page_blocks 20150614
redmine_wiki_extensions 0.7.0
redmine_wiki_lists 0.0.6
redmine_work_days 0.9.0
redmine_work_time 0.3.2
sidebar_hide 0.0.7
プラグインのページは、このとおり。