Actions

Translations

Upgrading from a previous version/11/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "==バージョン1.50から1.xx台のバージョンへのアップグレード== *LimeSurveyの所望のバージョンを[https://www.limesurvey.org/about-limesurvey/downloa...")
 
No edit summary
Line 1: Line 1:
==バージョン1.50から1.xx台のバージョンへのアップグレード==
==バージョン1.50から1.xx台のバージョンへのアップグレード==
*LimeSurveyの所望のバージョンを[https://www.limesurvey.org/about-limesurvey/download ダウンロード]してください。
*LimeSurveyの所望のバージョンを[https://www.limesurvey.org/about-limesurvey/download ダウンロード]してください。
* 古いインストールのバックアップを行います。
*ファイルとデータベースをバックアップします([[Upgrading from a previous version/ja#.E5.A7.8B.E3.82.81.E3.82.8B.E5.89.8D.E3.81.AB|こちらで言及したとおり]])。
** インストールディレクトリーのファイルとSQLベースのデータベースをバックアップします。
*** コマンドラインレベルで、ファイルのインストールディレクトリツリー全体の.zipまたは同様のアーカイブを作成します。たとえば、Linuxでは'tar cvzf foo.tgz cps100'というコマンドにより、cps100ディレクトリ全体を圧縮できます。
*** [https://www.phpmyadmin.net phpMyAdmin]などを使用して、すべてのテーブルをエクスポートしたり、'''LimeSurvey管理'''ボタン[[File:button-export-sql.png]]を使用してデータベース全体をバックアップします。
** 後でアクセスできるよう、'''config.php'''ファイル、変更された'''template'''ディレクトリー、/uploadディレクトリーを個別にコピーします。
* すべてのインストールディレクトリーファイルを置き換えます。
* すべてのインストールディレクトリーファイルを置き換えます。
** 既存のインストールディレクトリ内の古いファイルをすべて削除する。
** 既存のインストールディレクトリ内の古いファイルをすべて削除する。

Revision as of 02:46, 20 March 2020

Message definition (Upgrading from a previous version)
==Upgrading from version 1.50 or later to any later 1.xx version==
*[https://www.limesurvey.org/about-limesurvey/download Download] the desired version of LimeSurvey
* Backup your files and database ([[Upgrading from a previous version#Before you start...|did we already mention that?]]).
* Replace all the installation directory files
** Delete all old files in the existing installation directory
** Upload and unpack the new code version into the same installation directory
** Edit or replace the '''config.php''' file:
*** If your previous version was < 1.70: Edit the new '''config.php''' in order to reflect the changes from the backup '''config.php''' file. '''Do not just overwrite the new '''config.php''' with your old one!'''
*** If your previous version was >= 1.70: Simply replace the new '''config.php''' with your backup '''config.php''' file (as the file format has not changed)
** If your previous version was older than 1.90: Copy any customized templates to /upload/templates - you will also need to rename each template directory whose name matches an existing template in /templates
** Copy your /upload directory back to the old location
** Double-check the '''permissions''' set on the directories of LimeSurvey (write access to '''/tmp''', '''/upload''', and to their subdirectories is required) as described in the [[Installation#Set Directory permissions|installation wiki]]
* Finish the installation/upgrade process
** Once you open the URL to your LimeSurvey administration, the database tables will be updated after confirmation
** Remove or rename the /admin/install directory as/if instructed by the installation script
** Check if any special manual checks apply (as listed below)

バージョン1.50から1.xx台のバージョンへのアップグレード

  • LimeSurveyの所望のバージョンをダウンロードしてください。
  • ファイルとデータベースをバックアップします(こちらで言及したとおり)。
  • すべてのインストールディレクトリーファイルを置き換えます。
    • 既存のインストールディレクトリ内の古いファイルをすべて削除する。
    • 新しいコードバージョンを同じインストールディレクトリにアップロードして解凍します。
    • config.phpファイルを編集または置き換えます。
      • 以前のバージョンが1.70より古い場合は、新しいconfig.phpを編集して、バックアップしたconfig.phpファイルの変更を反映させます。新しいconfig.phpを古い config.phpで上書きしないでください!
      • 以前のバージョンが1.70以降の場合、 新しいconfig.phpをバックアップしたconfig.phpファイルで置き換えてください(ファイル形式が変更されていないため)
    • 以前のバージョンが1.90より古い場合は、カスタマイズしたテンプレートを/upload/templatesにコピーします。/templates内の既存のテンプレートと名前が一致するよう、各々のテンプレートディレクトリーの名前を変更する必要もあります。
    • /uploadディレクトリーを元の場所にコピーし直します。
    • インストールに関するウィキで説明されているように、ディレクトリーに設定されている権限を再確認します(/tmp、/upload、およびそのサブディレクトリーへの書き込みアクセスが必要です)。
    • LimeSurvey管理のURLを開くと、確認の後にデータベーステーブルが更新されます
    • インストールスクリプトの指示に従って/admin/installディレクトリーを削除または名前を変更します。
    • 下記の特別なマニュアルチェックが適用されているか確認してください。