iOS10へアップグレードする前にiTunesでバックアップしてることが前提で、しかもiTunesでは以下のような状態でバックアップしていることが条件です。
・PCにて最新版iTunesを使用したバックアップ
・バックアップ先は「このコンピュータ」
・iPhoneのバックアップを暗号化にチェックON←ここ重要
基本的にiOSのアップグレードするときはあとでデータが復元できるよう必ずバックアップすることをお勧めします。アプリはもちろん暗号化しておくことで各種パスワード等もバックアップされるためアップグレード前とほぼ同じ状態で戻せます。詳しくはこちらがわかりやすいのでご参考にどうぞ。
さて、実際にiOSを戻すのですがiOS9が必要になるため以下のサイトからデバイス、モデル、iOSバージョンを選択してダウンロードします。
http://www.getios.com/index.php
私はiOS9.3.5をダウンロード(iPhone7,2_9.3.5_13G36_Restore.ipsw)
最後に「iPhoneを探す」をオフしておく必要があるので、設定>iCloud>iPhoneを探すをオフにしてAppleIDのパスワードを入力します。パスコードやタッチIDも一時的にオフにしておくとやりやすいかもです。
これで準備は完了、PCとiPhoneをライトニングケーブルで接続してiTunesを起動します。iTunesでiPhoneが認識されたことを確認してからiPhoneをDFUモードに移行させます。
電源ボタンとホームボタンを同時に10秒間押していくとAppleのロゴが表示されるので電源ボタンのみを離します。ホームボタンのみ押したまましばらくするとiTunes側に「リカバリモードのiPhone/iPadを見つけました。・・・」と表示されるので、それまでホームボタンは押し続け「OK」を押します。
iTunes左項目一覧から「概要」を指定し「Shift」キーを押しながら「iPhoneを復元」を押します。(Macの場合は「Option」キーですね)
先ほどダウンロードしたiPhone7,2_9.3.5_13G36_Restore.ipswを選択して「開く」
次に表示される画面で「復元」これでiOS9へ強制的に適用させることが出来ます。
iTunesに新しいiPhoneへようこそと表示されたら「このバックアップから復元」を選択して戻したいデータを選択しておしまいです。
アプリを含めデータの復元が始まりますので気長に待ちましょう。
インストールされているアプリの数にもよりますが私の場合全ての作業に約2時間掛かりました。
因みにLINEを起動したら「LINEが連絡先へのアクセスを求めています」と表示されたのでいくつかの初期設定はやり直すとこになりそうですね。
尚、このダウングレードは個人的に試したもので必ず成功するとは限りません。もし行う場合は自己責任でお願いします。
日々業務で接しているLinux,PostgreSQL,SQLServer,FortiGateなどに関することの覚え書きや個人的に気になったことなどを綴っています。
もし、ここの情報があなたのお役に立てるならば幸いです。
2016年9月14日水曜日
2016年9月5日月曜日
CentOS logrotateでエラー
先日CentOS6.8、Apache+PHP+PostgreSQLを構築した。OSはテキストモード、アプリはソースからインストール。
------------------------------------
------------------------------------
構築後の週明け月曜日にこんなメールが・・・
------------------------------------
表題:Anacron job 'cron.daily' on xxxxx.jp
------------------------------------
------------------------------------
本文:
/etc/cron.daily/logrotate:
syslogd: no process killed
error: error running shared postrotate script for '/var/log/postgresql.log '
------------------------------------
PostgreSQLのログは/var/log/でconfは以下の通り
#vi /etc/rsyslog.conf
#追記
# Save PostgreSQL to postgresql.log
local0.* /var/log/postgresql.log
ログファイルのローテーション設定は以下の通り
# vi /etc/logrotate.d/postgresql
/var/log/postgresql.log {
rotate 12
weekly
missingok
sharedscripts
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
あ、CentOS6.8・・・syslogdじゃなくてrsyslogdだ!
※6.4よりrsyslogがデフォルト
/var/log/postgresql.log {
rotate 12
weekly
missingok
sharedscripts
postrotate
/usr/bin/killall -HUP rsyslogd
endscript
}
これで無事解決(^^)
2016年7月27日水曜日
レガシーシステムPHP5.1.6でのPEAR INSTALL DB
古いシステムの再構築でDBパッケージインストールで問題
# pear install DB
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
pear/DB requires package "pear/PEAR" (version >= 1.10.0), installed version is 1.4.9
No valid packages found
install failed
リプレース前と極力同じ状態にしたいのでPEARのアップグレードはせずに古いDBパッケージをインストールしたい・・・
# pear install DB-1.7.13
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (134,026 bytes)
.............................done: 134,026 bytes
install ok: channel://pear.php.net/DB-1.7.13
ということでバージョン指定して解決
2015年10月13日火曜日
Windows10 更新アイコン消す
つい何だっけな?ってなるから覚え書き!ネットでその都度見てもいいんだけど余計な事柄や親切過ぎる内容が多い!それはそれでいいんだけど私は要点だけあればそれで十分です。
さっと見てわかればいい!
1.GWX.exeプロセスを終了
さっと見てわかればいい!
1.GWX.exeプロセスを終了
2.インストールされた更新プログラムを表示→KB3035583アンインスト
3.KB3035583のアップデートを非表示
以上
以上
2015年3月12日木曜日
FotiGate-30D
FortiGate統合脅威管理(UTM)をコンパクトなケースに収めたFortiGate-30D
私にとって初のDタイプ、今までの金属ケースではなくプラスティックと随分と変わりましたね
一概には言えないがカタログ値で同40Cより上で60Cより下って感じですね。
FortiOSはv5.0 build0305 Patch10
私にとって初のDタイプ、今までの金属ケースではなくプラスティックと随分と変わりましたね
一概には言えないがカタログ値で同40Cより上で60Cより下って感じですね。
FortiOSはv5.0 build0305 Patch10
2014年10月30日木曜日
Redmine 2.6.0へアップグレード
redmine 2.5.3を2.6.0へアップグレード(tarボール版)
不満のあったPDFエクスポートが改善されたようなので2.6へアップしてみました。
でも2.6.1がすぐリリースされそうな予感ですが・・・
手順は以前アップグレードした時と同じです。
OS:CentOS 6.4
DB:PostgreSQL9.2.3
redmine:/home/redmine/public_html/
※プラグインは一切に使用していない
ruby:1.9.3p392
gem:1.8.23
●現在のGemList
# gem list --local
*** LOCAL GEMS ***
actionmailer (3.2.19, 3.2.17, 3.2.13)
actionpack (3.2.19, 3.2.17, 3.2.13)
activemodel (3.2.19, 3.2.17, 3.2.13)
activerecord (3.2.19, 3.2.17, 3.2.13)
activeresource (3.2.19, 3.2.17, 3.2.13)
activesupport (3.2.19, 3.2.17, 3.2.13)
arel (3.0.3, 3.0.2)
awesome_nested_set (2.1.6)
bigdecimal (1.1.0)
builder (3.0.0)
bundler (1.3.4)
capybara (2.1.0)
childprocess (0.5.3)
coderay (1.1.0, 1.0.9)
daemon_controller (1.1.2)
erubis (2.7.0)
fastthread (1.0.7)
ffi (1.9.3)
hike (1.2.3, 1.2.2, 1.2.1)
i18n (0.6.11, 0.6.9, 0.6.1)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.0.3)
json (1.8.1, 1.8.0, 1.7.7, 1.5.5)
mail (2.5.4, 2.5.3)
metaclass (0.0.4)
mime-types (1.25.1, 1.23, 1.21)
mini_portile (0.5.3)
minitest (2.5.1)
mocha (1.0.0)
multi_json (1.10.1, 1.10.0, 1.7.7, 1.7.3, 1.7.2)
net-ldap (0.3.1)
nokogiri (1.6.1)
passenger (3.0.19)
pg (0.17.1, 0.15.1, 0.15.0)
polyglot (0.3.5, 0.3.4, 0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-openid (1.4.2, 1.3.1)
rack-ssl (1.3.4, 1.3.3)
rack-test (0.6.2)
rails (3.2.19, 3.2.17, 3.2.13)
railties (3.2.19, 3.2.17, 3.2.13)
rake (10.1.1, 10.1.0, 10.0.4, 0.9.2.2)
rdoc (3.12.2, 3.9.5)
redcarpet (2.3.0)
rmagick (2.13.3, 2.13.2)
ruby-openid (2.3.0, 2.1.8)
rubyzip (1.1.3)
selenium-webdriver (2.41.0)
shoulda (3.3.2)
shoulda-context (1.0.2)
shoulda-matchers (1.4.1)
sprockets (2.2.2)
thor (0.19.1, 0.18.1, 0.18.0)
tilt (1.4.1, 1.4.0, 1.3.6)
treetop (1.4.15, 1.4.14, 1.4.12)
tzinfo (0.3.42, 0.3.39, 0.3.37)
websocket (1.0.7)
xpath (2.0.0)
yard (0.8.7.4)
●DBバックアップ
dbname:redmine(-U でdbuser指定), dbuser:redmine, バックアップはredmineのソースディレクトリに保存(db_日付.dumpで作成)
# /usr/local/pgsql/bin/pg_dump -U redmine -Fc redmine > /home/redmine/public_html/db_`date +%Y%m%d`.dump
●redmineのバックアップと2.6.0用ディレクトリの作成
public_htmlをpublic_html_253でバックアップ
# mv /home/redmine/public_html /home/redmine/public_html_253
# mkdir /home/redmine/public_html
# chmod 775 /home/redmine/public_html
●redmine2.6.0のダウンロード
ソース解凍後に2.6.0用ディレクトリにソースを移動
# cd /usr/local/src/
# wget http://www.redmine.org/releases/redmine-2.6.0.tar.gz
# tar zxvf redmine-2.6.0.tar.gz
# mv ./redmine-2.6.0/* /home/redmine/public_html/
# mv ./redmine-2.6.0/* /home/redmine/public_html/
●設定ファイル等のコピー
追加したfarend_fancyというテーマも移行します。
# cd /home/redmine/public_html_253/
# cp ./config/database.yml /home/redmine/public_html/config/
# cp ./config/additional_environment.rb /home/redmine/public_html/config/
# cp -rf ./files/* /home/redmine/public_html/files/
# cp -r ./public/themes/farend_fancy /home/redmine/public_html/public/themes/
私はプラグインを使用していないため移行作業はありませんが移行するならば
# cp -r ./plugins/* /home/redmine/public_html/plugins/
ただし新バージョンでは動作しないことも考えられるためスムーズに移行できるとは限らない。redmine2.6に対応したバージョンがリリースされているか事前にチェックした方が良さそうです。
今はプラグインはここかな?
# mkdir ./public/plugin_assets
# cp -r /home/redmine/public_html_252/public/plugin_assets /home/redmine/public_html/public/plugin_assets
今はプラグインはここかな?
# mkdir ./public/plugin_assets
# cp -r /home/redmine/public_html_252/public/plugin_assets /home/redmine/public_html/public/plugin_assets
●依存Gem関連のインストール
redmineはGemの依存管理をBundlerが行っているためBundlerをインストールしておく
# gem install bundler
# cd /home/redmine/public_html
# bundle install --without development test mysql sqlite sqlserver
(ImageMagickがインストールされていない場合はオプションにrmagic付加すればよい)
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Installing rake (10.3.2)
Using i18n (0.6.11)
Using multi_json (1.10.1)
Using activesupport (3.2.19)
Installing builder (3.0.4)
Using activemodel (3.2.19)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.19)
Using mime-types (1.25.1)
Using polyglot (0.3.5)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (3.2.19)
Using arel (3.0.3)
Using tzinfo (0.3.42)
Using activerecord (3.2.19)
Using activeresource (3.2.19)
Using bundler (1.3.4)
Using coderay (1.1.0)
Using rack-ssl (1.3.4)
Using json (1.8.1)
Using rdoc (3.12.2)
Using thor (0.19.1)
Using railties (3.2.19)
Installing jquery-rails (3.1.2)
Using net-ldap (0.3.1)
Using pg (0.17.1)
Using ruby-openid (2.3.0)
Using rack-openid (1.4.2)
Using rails (3.2.19)
Installing rbpdf (1.18.2)
Using redcarpet (2.3.0)
Installing request_store (1.0.5)
Using rmagick (2.13.3)
●仕上げ
# rake generate_secret_token
# rake db:migrate RAILS_ENV=production
== AddPasswordChangedAtToUser: migrating =====================================
-- add_column(:users, :passwd_changed_on, :datetime)
-> 0.0587s
== AddPasswordChangedAtToUser: migrated (0.0588s) ============================
== InsertBuiltinGroups: migrating ============================================
== InsertBuiltinGroups: migrated (0.7091s) ===================================
# rake redmine:plugins:migrate RAILS_ENV=production
# rake tmp:cache:clear
# rake tmp:sessions:clear
# chown -R daemon:daemon /home/redmine/public_html
# /usr/local/apache/bin/apachectl restart
データベースに大きな変更は無いようですね。
usersにパスワード変更日のようなフィールドが追加されたぐらいですかね。
Redmineの管理>情報
Environment: Redmine version 2.6.0.stable Ruby version 1.9.3-p392 (2013-02-22) [i686-linux] Rails version 3.2.19 Environment production Database adapter PostgreSQL SCM: Subversion 1.6.11 Git 1.7.1 Filesystem Redmine plugins: no plugin installed
チケットの一覧をPDFで出力すると列幅が小さく見ずらい状態でしたが幅が広がり見やすくなりましたね。
2014年5月9日金曜日
Redmine 2.5.1へアップグレード
以前こちらで、アップグレードしたRedmine2.3系を2.5.1へアップグレード
ちなみに環境はCentOS6.4+PostgreSQL9.2+Apache+Passenger
●DBバックアップ
# /usr/local/pgsql/bin/pg_dump -U [dbuser] -Fc [dbname] > /home/redmine/public_html/db_`date +%Y%m%d`.dump
●旧Redmineのバックアップと新ディレクトリの作成
# mv /home/redmine/public_html /home/redmine/public_html_v232
# mkdir /home/redmine/public_html
# chmod 775 /home/redmine/public_html
●Redmineダウンロード
# cd /usr/local/src
# wget http://www.redmine.org/releases/redmine-2.5.1.tar.gz
# tar zxvf redmine-2.5.1.tar.gz
# mv ./redmine-2.5.1/* /home/redmine/public_html/
●設定ファイル等を移動
# cd /home/redmine/public_html_232/
# cp ./config/database.yml /home/redmine/public_html/config/
# cp ./config/configuration.yml /home/redmine/public_html/config/
# cp ./config/additional_environment.rb /home/redmine/public_html/config/
# cp -rf ./files/* /home/redmine/public_html/files/
テーマのfarend_fancyは最新にするため不要
# cp -r ./public/themes/farend_fancy /home/redmine/public_html/public/themes/
プラグインを使用していないため不要
# cp -r ./plugins/* /home/redmine/public_html/plugins/
●テーマ(farend_fancy)を最新へ
# cd /usr/local/src
# wget https://github.com/farend/redmine_theme_farend_fancy/archive/master.tar.gz
# tar zxvf master
# mv ./redmine_theme_farend_fancy-master/ ./farend_fancy
# cp -r ./farend_fancy /home/redmine/public_html/public/themes/
●PostreSQL用アダプタの追加インストール(ver.0.17.1)
# cd /home/redmine/public_html
# gem install pg -v '0.17.1' -- --with-pg-config=/usr/local/pgsql/bin/pg_config --no-rdoc --no-ri
Fetching: pg-0.17.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed pg-0.17.1
1 gem installed
Installing ri documentation for pg-0.17.1...
Installing RDoc documentation for pg-0.17.1...
●Gemfileに従い依存ソフトのインストール
# cd /home/redmine/public_html
mysql不要でオプション指定しているが何故かMySQL用アダプターで怒られる・・・
database.ymlファイル内のproduction:項目以外はコメントにしてみたらOKだった
# bundle install --without development test mysql sqlite
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.1.1)
Using i18n (0.6.9)
Using multi_json (1.10.0)
Using activesupport (3.2.17)
Using builder (3.0.0)
Using activemodel (3.2.17)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.17)
Using mime-types (1.25.1)
Using polyglot (0.3.4)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (3.2.17)
Using arel (3.0.3)
Using tzinfo (0.3.39)
Using activerecord (3.2.17)
Using activeresource (3.2.17)
Using awesome_nested_set (2.1.6)
Using bundler (1.2.3)
Using coderay (1.1.0)
Using rack-ssl (1.3.4)
Using json (1.8.1)
Using rdoc (3.12.2)
Using thor (0.19.1)
Using railties (3.2.17)
Using jquery-rails (2.0.3)
Using net-ldap (0.3.1)
Using pg (0.17.1)
Installing ruby-openid (2.3.0)
Installing rack-openid (1.4.2)
Installing rails (3.2.17)
Installing redcarpet (2.3.0) with native extensions
Using rmagick (2.13.2)
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
●仕上げ
# rake generate_secret_token
# rake db:migrate RAILS_ENV=production
== CreateQueriesRoles: migrating =============================================
-- create_table(:queries_roles, {:id=>false})
-> 0.0874s
-- add_index(:queries_roles, [:query_id, :role_id], {:unique=>true, :name=>:queries_roles_ids})
-> 0.0161s
== CreateQueriesRoles: migrated (0.1036s) ====================================
== AddQueriesVisibility: migrating ===========================================
-- add_column(:queries, :visibility, :integer, {:default=>0})
-> 0.0473s
-- remove_column(:queries, :is_public)
-> 0.0009s
== AddQueriesVisibility: migrated (0.0941s) ==================================
== CreateCustomFieldsRoles: migrating ========================================
-- create_table(:custom_fields_roles, {:id=>false})
-> 0.0008s
-- add_index(:custom_fields_roles, [:custom_field_id, :role_id], {:unique=>true, :name=>:custom_fields_roles_ids})
-> 0.0030s
== CreateCustomFieldsRoles: migrated (0.0177s) ===============================
== AddQueriesOptions: migrating ==============================================
-- add_column(:queries, :options, :text)
-> 0.0005s
== AddQueriesOptions: migrated (0.0005s) =====================================
== AddUsersMustChangePasswd: migrating =======================================
-- add_column(:users, :must_change_passwd, :boolean, {:default=>false, :null=>false})
-> 0.0121s
== AddUsersMustChangePasswd: migrated (0.0122s) ==============================
== RemoveEolsFromAttachmentsFilename: migrating ==============================
== RemoveEolsFromAttachmentsFilename: migrated (0.1646s) =====================
== SupportForMultipleCommitKeywords: migrating ===============================
== SupportForMultipleCommitKeywords: migrated (0.0543s) ======================
== AddRepositoriesCreatedOn: migrating =======================================
-- add_column(:repositories, :created_on, :timestamp)
-> 0.0008s
== AddRepositoriesCreatedOn: migrated (0.0008s) ==============================
== AddCustomFieldsFormatStore: migrating =====================================
-- add_column(:custom_fields, :format_store, :text)
-> 0.0011s
== AddCustomFieldsFormatStore: migrated (0.0012s) ============================
== AddCustomFieldsDescription: migrating =====================================
-- add_column(:custom_fields, :description, :text)
-> 0.0006s
== AddCustomFieldsDescription: migrated (0.0007s) ============================
== RemoveCustomFieldsMinMaxLengthDefaultValues: migrating ====================
-- change_column(:custom_fields, :min_length, :int, {:default=>nil, :null=>true})
-> 0.0108s
-- change_column(:custom_fields, :max_length, :int, {:default=>nil, :null=>true})
-> 0.0016s
== RemoveCustomFieldsMinMaxLengthDefaultValues: migrated (0.0142s) ===========
== StoreRelationTypeInJournalDetails: migrating ==============================
== StoreRelationTypeInJournalDetails: migrated (0.0124s) =====================
== DeleteOrphanTimeEntriesCustomValues: migrating ============================
== DeleteOrphanTimeEntriesCustomValues: migrated (0.0314s) ===================
== ChangeChangesetsCommentsLimit: migrating ==================================
== ChangeChangesetsCommentsLimit: migrated (0.0000s) =========================
# rake redmine:plugins:migrate RAILS_ENV=production
# rake tmp:cache:clear
# rake tmp:sessions:clear
# chown -R daemon:daemon /home/redmine/public_html
おしまい
ちなみに環境はCentOS6.4+PostgreSQL9.2+Apache+Passenger
●DBバックアップ
# /usr/local/pgsql/bin/pg_dump -U [dbuser] -Fc [dbname] > /home/redmine/public_html/db_`date +%Y%m%d`.dump
●旧Redmineのバックアップと新ディレクトリの作成
# mv /home/redmine/public_html /home/redmine/public_html_v232
# mkdir /home/redmine/public_html
# chmod 775 /home/redmine/public_html
●Redmineダウンロード
# cd /usr/local/src
# wget http://www.redmine.org/releases/redmine-2.5.1.tar.gz
# tar zxvf redmine-2.5.1.tar.gz
# mv ./redmine-2.5.1/* /home/redmine/public_html/
●設定ファイル等を移動
# cd /home/redmine/public_html_232/
# cp ./config/database.yml /home/redmine/public_html/config/
# cp ./config/configuration.yml /home/redmine/public_html/config/
# cp ./config/additional_environment.rb /home/redmine/public_html/config/
# cp -rf ./files/* /home/redmine/public_html/files/
テーマのfarend_fancyは最新にするため不要
●テーマ(farend_fancy)を最新へ
# cd /usr/local/src
# wget https://github.com/farend/redmine_theme_farend_fancy/archive/master.tar.gz
# tar zxvf master
# mv ./redmine_theme_farend_fancy-master/ ./farend_fancy
# cp -r ./farend_fancy /home/redmine/public_html/public/themes/
●PostreSQL用アダプタの追加インストール(ver.0.17.1)
# cd /home/redmine/public_html
# gem install pg -v '0.17.1' -- --with-pg-config=/usr/local/pgsql/bin/pg_config --no-rdoc --no-ri
Fetching: pg-0.17.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed pg-0.17.1
1 gem installed
Installing ri documentation for pg-0.17.1...
Installing RDoc documentation for pg-0.17.1...
●Gemfileに従い依存ソフトのインストール
# cd /home/redmine/public_html
mysql不要でオプション指定しているが何故かMySQL用アダプターで怒られる・・・
database.ymlファイル内のproduction:項目以外はコメントにしてみたらOKだった
# bundle install --without development test mysql sqlite
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.1.1)
Using i18n (0.6.9)
Using multi_json (1.10.0)
Using activesupport (3.2.17)
Using builder (3.0.0)
Using activemodel (3.2.17)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.17)
Using mime-types (1.25.1)
Using polyglot (0.3.4)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (3.2.17)
Using arel (3.0.3)
Using tzinfo (0.3.39)
Using activerecord (3.2.17)
Using activeresource (3.2.17)
Using awesome_nested_set (2.1.6)
Using bundler (1.2.3)
Using coderay (1.1.0)
Using rack-ssl (1.3.4)
Using json (1.8.1)
Using rdoc (3.12.2)
Using thor (0.19.1)
Using railties (3.2.17)
Using jquery-rails (2.0.3)
Using net-ldap (0.3.1)
Using pg (0.17.1)
Installing ruby-openid (2.3.0)
Installing rack-openid (1.4.2)
Installing rails (3.2.17)
Installing redcarpet (2.3.0) with native extensions
Using rmagick (2.13.2)
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
●仕上げ
# rake generate_secret_token
# rake db:migrate RAILS_ENV=production
== CreateQueriesRoles: migrating =============================================
-- create_table(:queries_roles, {:id=>false})
-> 0.0874s
-- add_index(:queries_roles, [:query_id, :role_id], {:unique=>true, :name=>:queries_roles_ids})
-> 0.0161s
== CreateQueriesRoles: migrated (0.1036s) ====================================
== AddQueriesVisibility: migrating ===========================================
-- add_column(:queries, :visibility, :integer, {:default=>0})
-> 0.0473s
-- remove_column(:queries, :is_public)
-> 0.0009s
== AddQueriesVisibility: migrated (0.0941s) ==================================
== CreateCustomFieldsRoles: migrating ========================================
-- create_table(:custom_fields_roles, {:id=>false})
-> 0.0008s
-- add_index(:custom_fields_roles, [:custom_field_id, :role_id], {:unique=>true, :name=>:custom_fields_roles_ids})
-> 0.0030s
== CreateCustomFieldsRoles: migrated (0.0177s) ===============================
== AddQueriesOptions: migrating ==============================================
-- add_column(:queries, :options, :text)
-> 0.0005s
== AddQueriesOptions: migrated (0.0005s) =====================================
== AddUsersMustChangePasswd: migrating =======================================
-- add_column(:users, :must_change_passwd, :boolean, {:default=>false, :null=>false})
-> 0.0121s
== AddUsersMustChangePasswd: migrated (0.0122s) ==============================
== RemoveEolsFromAttachmentsFilename: migrating ==============================
== RemoveEolsFromAttachmentsFilename: migrated (0.1646s) =====================
== SupportForMultipleCommitKeywords: migrating ===============================
== SupportForMultipleCommitKeywords: migrated (0.0543s) ======================
== AddRepositoriesCreatedOn: migrating =======================================
-- add_column(:repositories, :created_on, :timestamp)
-> 0.0008s
== AddRepositoriesCreatedOn: migrated (0.0008s) ==============================
== AddCustomFieldsFormatStore: migrating =====================================
-- add_column(:custom_fields, :format_store, :text)
-> 0.0011s
== AddCustomFieldsFormatStore: migrated (0.0012s) ============================
== AddCustomFieldsDescription: migrating =====================================
-- add_column(:custom_fields, :description, :text)
-> 0.0006s
== AddCustomFieldsDescription: migrated (0.0007s) ============================
== RemoveCustomFieldsMinMaxLengthDefaultValues: migrating ====================
-- change_column(:custom_fields, :min_length, :int, {:default=>nil, :null=>true})
-> 0.0108s
-- change_column(:custom_fields, :max_length, :int, {:default=>nil, :null=>true})
-> 0.0016s
== RemoveCustomFieldsMinMaxLengthDefaultValues: migrated (0.0142s) ===========
== StoreRelationTypeInJournalDetails: migrating ==============================
== StoreRelationTypeInJournalDetails: migrated (0.0124s) =====================
== DeleteOrphanTimeEntriesCustomValues: migrating ============================
== DeleteOrphanTimeEntriesCustomValues: migrated (0.0314s) ===================
== ChangeChangesetsCommentsLimit: migrating ==================================
== ChangeChangesetsCommentsLimit: migrated (0.0000s) =========================
# rake redmine:plugins:migrate RAILS_ENV=production
# rake tmp:cache:clear
# rake tmp:sessions:clear
# chown -R daemon:daemon /home/redmine/public_html
おしまい
登録:
投稿 (Atom)



