記事本文
Movable Type 3.01D-ja から Movable Type 3.11 にアップデートしたので、その手順をメモしておきます。 参考にしたページは mtinstall - Movable Typeのアップグレードです。
- Movable Type Publishing Platform - Movable Typeの入手方法についてからログイン ( TypeKey のアカウントを事前に取得しておいてください。 )
- パッケージの種類でアップグレードを選択します。 ( アーカイブの種類は zip でも tar.gz でもどちらでも構いません。 )
- ダウンロードしたアーカイブを解凍してできたファイルを、 Movable Type をインストールしているディレクトリに全て put します。ただし、
extlib ディレクトリ内のファイルをアップロードするときは、以前Movable Typeをインストールしたときにインストールしたライブラリをどれも上書きしないよう注意。
-
install directory/mt-upgrade31.cgi をブラウザから実行します。 ( Movable Type 3.01D-ja 以外のバージョンからのアップグレードは、実行するスクリプトが異なります。 mtinstall - Movable Typeのアップグレード - アップグレード・スクリプトの実行を参考に適宜読み代えて下さい。 )
アップデートに成功すると、
Upgrading your databases: Running 'alter table mt_blog add blog_ping_technorati tinyint' Running 'alter table mt_blog add blog_children_modified_on datetime' Running 'alter table mt_blog add blog_custom_dynamic_templates varchar(25)' Running 'update mt_blog set blog_custom_dynamic_templates = 'none'' Running 'alter table mt_template add template_created_on datetime not null' Running 'alter table mt_template add template_modified_on timestamp not null' Running 'alter table mt_template add template_created_by integer' Running 'alter table mt_template add template_modified_by integer' Running 'alter table mt_template add template_build_dynamic tinyint' Running 'update mt_template set template_build_dynamic = 0 where template_build_dynamic <> 1' Running 'alter table mt_template modify template_build_dynamic tinyint not null' Running 'alter table mt_category add category_parent integer' Running 'update mt_category set category_parent = 0' Running 'alter table mt_category modify category_parent integer not null' Running 'alter table mt_entry modify entry_basename varchar(50) not null' Running 'create table mt_fileinfo ( fileinfo_id integer primary key auto_increment, fileinfo_blog_id integer not null, fileinfo_entry_id integer, fileinfo_url varchar(255), fileinfo_file_path text, fileinfo_template_id integer, fileinfo_templatemap_id integer, fileinfo_archive_type varchar(255), fileinfo_category_id integer, fileinfo_startdate varchar(80), fileinfo_virtual tinyint, index(fileinfo_blog_id), index(fileinfo_entry_id), index(fileinfo_url) ) ' Creating Dynamic Site Bootstrapper. Creating Dynamic Pages Error Template. Done upgrading your schema! All went well.といったメッセージが表示されます。 - install directory/mt-upgradexx.cgi をサーバ上から消去します。
以上の手順でアップデートした結果が、 Template sample 3.11 default です。 これから色々と新機能を試してみようと思います。 現在はデフォルトテンプレートページの公開は停止しています。





