「Moodle2.2へのアップグレード」の版間の差分

提供:MoodleDocs
移動先:案内検索
42行目: 42行目:


* あなたがカスタムレポートを使用している場合、コードを少しだけ変更する必要があります。詳細は開発者ドキュメンテーション[[:dev:General report plugins]]をご覧ください。
* あなたがカスタムレポートを使用している場合、コードを少しだけ変更する必要があります。詳細は開発者ドキュメンテーション[[:dev:General report plugins]]をご覧ください。
* Global search has been removed from core as it was broken.  (A new global search is being written for 2.3.)
* 正常に動作しないため、グローバルサーチは取り除かれました (A new global search is being written for 2.3.)
* Some web service functions have been deprecated.  They still work, but check any web service connections you may have to your Moodle for the future.
* Some web service functions have been deprecated.  They still work, but check any web service connections you may have to your Moodle for the future.



2012年5月3日 (木) 00:01時点における版


作成中です - Mitsuhiro Yoshida

あなたはMoodle 2.1、2.0または1.9からMoodle 2.2にアップグレードすることができます。あなたは2.0よりアップグレードする場合、Upgrading to Moodle 2.1もお読みください。また、1.9よりアップグレードする場合、前述のドキュメントおよびUpgrading to Moodle 2.0をお読みください。これらのドキュメントを参考にして、あなたは直接2.2にアップグレードすることができます。

あなたが前のバージョンのMoodleを使用している場合、最初に最新版のMoodle 1.9.xにアップグレードしてください。

あなたの希望どおりに動作するかどうか確認するため、最初に実運用サイトをコピーして、テストアップグレードされることをお勧めします。

システム要件

  • PHP 5.3.2 またはそれ以上
    • 必須PHP拡張モジュール: iconv, curl, ctype, zip, simplexml, spl, pcre, dom, xml, json
    • PHP memory_limit: 少なくとも40MB (可能であれば、64MB以上を推奨)
  • データベースは下記の中から1つを選択してください:
    • MySQL 5.0.25 またはそれ以上 (InnoDBストレージエンジンを強く推奨)
    • PostgreSQL 8.3 またはそれ以上
    • Oracle 10.2 またはそれ以上
    • MS SQL 2005 またはそれ以上
  • ここ数年内にリリースされた標準的なブラウザ:
    • Firefox 3 またはそれ以上
    • Safari 3 またはそれ以上
    • Google Chrome 4 またはそれ以上
    • Opera 9 またはそれ以上
    • MS Internet Explorer 7 またはそれ以上

メモ: 上記システム用件は、Moodle 2.1以降、変更されていません。

アップグレード前に ...

注意: アップグレード処理では、あなたのデータベースおよびmoodledataファイル保存エリアを回復できない状態にまで修正してしまいます。仮に不具合が発生した場合、あなたは元に戻すことができません。アップグレード時のトラブルに備えて、moodledataおよびデータベースのバックアップは非常に重要です。どのようにすれば良いのか分からない場合、サイトバックアップをご覧ください。またはmoodle.orgフォーラムで (あなたのオペレーティングシステムの情報を加えて) お尋ねください。

  • Moodle 2.2リリースノートおよび新機能リストをご確認ください。
  • 「設定 > サイト管理 > サーバ > 動作環境」にて、あなたのサイトがシステム要件すべてに合致しているかどうか確認してください。
  • データベースを完全にバックアップしてください。
  • moodledataを完全にバックアップしてください。
  • あなたのバックアップを十分に確認してください。
  • PHP acceleratorを使用している場合、忘れずにPHPキャッシュを消去してください。

あなたに影響を及ぼす可能性のある問題点

  • あなたがカスタムレポートを使用している場合、コードを少しだけ変更する必要があります。詳細は開発者ドキュメンテーションdev:General report pluginsをご覧ください。
  • 正常に動作しないため、グローバルサーチは取り除かれました (A new global search is being written for 2.3.)。
  • Some web service functions have been deprecated. They still work, but check any web service connections you may have to your Moodle for the future.

Checking database schema - old sites

If your Moodle site has been upgraded through many prior versions it is possible that there will be some problems with the database schema (compared to a fresh 2.0 installation). This may cause the upgrade to fail. If your site started life prior to Moodle 2.0 it is a very good idea to check and correct the database schema before upgrading. See Verify Database Schema. You should also run the database integrity checks in the XMLDB editor, see the 'See also' for a link to extra scripts to check for other discrepancies.

Now upgrade

Once you have satisfied the requirements for Moodle 2.2, follow the instructions on the upgrading page.

On Linux servers, Moodle 2.2 supports running the upgrade from the command line, rather than through a web browser. This is likely to be more reliable, particularly for large sites.

After upgrade

The config.php file from your 2.0 installation should work fine but if you take a look at config-dist.php that came with Moodle 2.0 there are more/different options available (e.g. database drivers and settings). It's a good idea to map your old config.php settings to a new one based on the 2.2 config-dist.php.

関連情報