Actions

ComfortUpdate/ja: Difference between revisions

From LimeSurvey Manual

No edit summary
(Created page with "データベースの更新は、ComfortUpdateの一部ではなく、更新の方法に関係なく、LimeSurveyの一般的な機能であることに注意してください。")
 
(61 intermediate revisions by 2 users not shown)
Line 2: Line 2:
__TOC__
__TOC__


<span id="General"></span>
=概要=
=概要=


ComfortUpdateツールは、LimeSurveyをウェブブラウザからアップデートできるように作られました。[[Upgrading from a previous version/ja|手作業でのアップデート]]のかわりに、数回マウスクリックするだけです。
ComfortUpdateは、LimeSurveyをウェブブラウザから[[Upgrading from a previous version/ja|手作業でアップデート]]するかわりに、数回マウスクリックするだけでアップデートできるLimeSurvey GmbHの有料サービスです。


In order to use and test ComfortUpdate, you have to sign up [https://www.limesurvey.org/en/services#pricing on LimeSurvey] to receive a free trial key. After that trial key has expired you can either [https://www.limesurvey.org/en/services#pricing buy one of our premium packages] or [[Upgrading from a previous version|update your installation manually]].
ComfortUpdateを使用してテストするには、[https://community.limesurvey.org/comfort-update-extension/ 無料トライアルキー]を受け取るため[https://account.limesurvey.org LimeSurvey]にサインアップする必要があります。トライアルキーの有効期限が切れたら、[https://community.limesurvey.org/comfort-update-extension/ プレミアムパッケージのいずれかを購入]するか[[Upgrading from a previous version/ja|手動でインストールを更新]]します。


{{Alert|In order to copy and use your ComfortUpdate key, access your [https://www.limesurvey.org/your-account/your-limesurvey-profile LimeSurvey] profile and click on COMFORTUPDATE KEYS, which is located in the profile menu (left side of the page).}}


=Requirements=
{{Alert|ComfortUpdateキーをコピーして使用するには、LimeSurveyプロファイルにアクセスし、株のセクションにあるCOMFORTUPDATE KEYSをクリックします。}}


Your PHP installation must be compiled with support for [http://php.net/manual/en/book.zlib.php ZLib]. Check your PHPInfo and ask your system administrator for a confirmation.
<span id="Requirements"></span>
=要件=


Your server must be able to connect by SSL to ''update.limesurvey.org'' and ''update-data.limesurvey.org'' to use the ComfortUpdate tool. If you have problems with this and get error messages such as ''10060 could not connect to the host 'update.limesurvey.org''', you will have to tweak/edit your proxy/firewall security settings or ask your server administrator for further guidance and help.
PHPは[http://php.net/manual/en/book.zlib.php ZLib]をサポートしてコンパイルされ、[https://www.php.net/manual/en/book.openssl.php OpenSSL extension]がインストールされ、有効になっていることが必要です。PHPInfoを確認して、必要ならシステム管理者に相談してください。


=つかいかた=
ComfortUpdateツールを使用するには、サーバーからSSLで''comfortupdate.limesurvey.org''に接続できる必要があります。通信に問題があり、''10060がホスト 'comfortupdate.limesurvey.org'に接続できませんでした''などのエラーメッセージが表示された場合は、プロキシ/ファイアウォールのセキュリティ設定を調整/編集するか、サーバー管理者にサポートを依頼してください。


The LimeSurvey ComfortUpdate feature is safe to use even with active surveys. It does not delete or destroy any existing data. However, you should keep in mind that this is a beta feature. Therefore, it is important to have your database and files manually backed up before proceeding.
<span id="Using_ComfortUpdate"></span>
=ComfortUpdateを使用する=


*Find the ''Update'' button
LimeSurvey ComfortUpdate機能は、実行中のアンケートがあっても安全に使用できます。既存のデータは削除も破棄もされません。念のため、続行する前に現用のデータベースとファイルを手動でバックアップすべきです。
**For the older LimeSurvey versions, go to the Global Settings Icon, select the first tab, and click on the ''Updates'' button
 
**For the recent Limesurvey versions, you may find the '''ComfortUpdate''' button in the '''Configuration''' dialog, under the ''Advanced'' tab:
*''更新''ボタンの場所
**古いLimeSurveyバージョンでは、'''全般設定'''アイコンから最初のタブを選択して、'''更新'''ボタンをクリックします。
**最近のLimesurveyのバージョンでは、'''設定'''ダイアログの'''アドバンス'''タブに'''ComfortUpdate'''ボタンがあります。




Line 28: Line 32:




*The ComfortUpdate screen will display an update link if a new version of LimeSurvey is available. If not, click “Check now” to see if a new update is available
*新しいバージョンのLimeSurveyが利用可能な場合、ComfortUpdate画面に更新リンクが表示されます。そうでない場合は、'''今すぐ確認'''をクリックして、新しいアップデートが利用可能かどうかを確認します。
*If an update is found, LimeSurvey will display a link to allow you to update. Click on this to begin updating
*アップデートが見つかると、LimeSurveyに更新リンクが表示されます。クリックして更新を開始してください。
*If you have never used ComfortUpdate before or the ComfortUpdate upgrade key is not valid, you will be asked to enter an upgrade key. Use the default key for free updates during the trial period
*以前にComfortUpdateを使用したことがない、またはComfortUpdateアップグレードキーが有効でない場合は、アップグレードキーの入力を求められます。




Line 36: Line 40:




*LimeSurvey will now verify your installation directory to check if the appropriate permissions are set to allow an update. A list of proposed changes will be displayed
*LimeSurveyはインストールディレクトリーを確認し、適切な権限によって更新が許可されるよう設定されているかを確認します。変更リストが表示されます。
*If there are any problems, you must correct them at this point and then proceed to the next step
*問題がある場合は、ここで修正してから次の手順に進む必要があります。
*The ComfortUpdate will now make a backup of your database (if you use MySQL) and save your old installation files in the /tmp directory. If you use a different database, you should backup your database manually before proceeding
*ComfortUpdateはデータベースをバックアップし(MySQLを使用している場合)、古いインストールファイルを/tmpディレクトリーに保存します。別のデータベースを使用する場合は、先に進む前にデータベースを手動でバックアップする必要があります。
ComfortUpdate will now update your installation to the latest version, updating also the database in order to reflect the new (possible) changes.
ComfortUpdateによってインストールファイルが最新バージョンに更新され、終了します。メジャーアップデートの際は、必要なデータベースの更新を行うためのページにリダイレクトされます。
 
データベースの更新は、ComfortUpdateの一部ではなく、更新の方法に関係なく、LimeSurveyの一般的な機能であることに注意してください。


=Disabling ComfortUpdate=
=ComfortUpdateを無効にする=
If you want to disable ComfortUpdate in order not to get the ''New release available'' popup messages after each new release, you can add the following option to your "config.php" file (which is located in /limesurvey/application/config):
新たなリリースが出たときに''新しいリリースが利用できます''というポップアップメッセージが表示されないようにするには、ComfortUpdateを無効にしたい場合は、"config.php"ファイル(/LimeSurvey/application/configにあります)に次のオプションを追加することができます。
<syntaxhighlight lang="php" enclose="pre">
<syntaxhighlight lang="php" enclose="pre">
'updatable' => false  
'updatable' => false  
</syntaxhighlight>
</syntaxhighlight>
'''ただし、重要なセキュリティアップデートを見逃す可能性があるため、これを無効にしないよう強くお勧めします。'''


This is documented in more detail at "[http://www.limesurvey-consulting.com/how-to-disable-the-comfortupdate-updating-feature-at-limesurvey/ How to disable the Limesurvey ComfortUpdate updating feature]".
<span id="Troubleshooting"></span>
=トラブルシューティング=


{{Alert|title=Attention|text=Always create a backup first!}}
== ComfortUpdate実行中にエラーが発生した ==
まず、1分後に同じステップをもう一度実行してみてください。場合により、サーバーが更新パッケージを生成する必要があり、これには1分かかります。それでも解決しない場合は、他のトラブルシューティングの解決策を確認してください。


=Known problems=
==サーバーの応答なし - ComfortUpdateサーバーが応答しない==
 
2022年12月以降、更新後のサーバーへの接続の既定値はSSLのみを使用するよう変更されました。
==Blank page on step 3==
これにより、サーバー上のOpenSSL PHPライブラリーを適切に設定・有効化し、サーバーが外部(comfortupdate.limesurvey.org)とHTTP SSL接続ができるようにする必要があります。
 
これらの要件のいずれかが満たされない場合、このようなメッセージが表示されます。
If you get a blank page on step 3, it usually means that the memory limit of your PHP configuration is set too low. During that step, LimeSurvey tries to create a database backup and a file backup (of the files that will be replaced).
'''暫定的な'''回避方法(非推奨)は、 /application/config/updater_version.phpでこの要件を以下のように無効にすることです。
 
<syntaxhighlight lang="php" enclose="pre">
==Using a proxy server to connect to update.limesurvey.com==
$config['comfort_update_server_ssl'] = 0;
</syntaxhighlight>


If you are behind a proxy, you may have to adjust some settings to be able to use ComfortUpdate. In LimeSurvey 2.05 (later than build 140404), you can set the details of your proxy server in the configuration file (see [https://manual.limesurvey.org/Optional_settings#General_settings the general settings wiki]).
<span id="Blank_page_on_step_3"></span>
==ステップ3で空白ページが表示される問題==


For earlier versions, you have to edit the http.php file in your LimeSurvey installation. Have a look at the variables in the first lines of this file in a text editor and add values if needed.
ステップ3で空白のページが表示される場合は、通常、PHP構成のメモリ制限が低すぎます。この手順では、LimeSurveyはデータベースバックアップと(置き換えられるファイルの)バックアップを作成しようとします。


Example: Connect to a proxy server 111.111.111.111 port 1234 without authentication and edit the following lines to look like:
<span id="Using_a_proxy_server_to_connect_to_update.limesurvey.com"></span>
  var $proxy_host_name="111.111.111.111";
==update.limesurvey.comへの接続にプロキシーサーバーを利用する場合の問題==
  var $proxy_host_port=1234;


Depending on your version, you will find the file either in /admin/classes/ or in /application/libraries/admin/http/. There are pre-coded variables within the file. Therefore, only details of your proxy are needed. If your installation is running unusually slow, wrong proxy settings may be the cause.
プロキシーを使用している場合は、ComfortUpdateを使用できるように設定を調整する必要があります。設定ファイルでプロキシサーバーの詳細を設定します([https://manual.limesurvey.org/Optional_settings/ja#General_settings 全体設定]を参照)。

Latest revision as of 23:55, 7 April 2024

概要

ComfortUpdateは、LimeSurveyをウェブブラウザから手作業でアップデートするかわりに、数回マウスクリックするだけでアップデートできるLimeSurvey GmbHの有料サービスです。

ComfortUpdateを使用してテストするには、無料トライアルキーを受け取るためLimeSurveyにサインアップする必要があります。トライアルキーの有効期限が切れたら、プレミアムパッケージのいずれかを購入するか手動でインストールを更新します。


  ComfortUpdateキーをコピーして使用するには、LimeSurveyプロファイルにアクセスし、株のセクションにあるCOMFORTUPDATE KEYSをクリックします。


要件

PHPはZLibをサポートしてコンパイルされ、OpenSSL extensionがインストールされ、有効になっていることが必要です。PHPInfoを確認して、必要ならシステム管理者に相談してください。

ComfortUpdateツールを使用するには、サーバーからSSLでcomfortupdate.limesurvey.orgに接続できる必要があります。通信に問題があり、10060がホスト 'comfortupdate.limesurvey.org'に接続できませんでしたなどのエラーメッセージが表示された場合は、プロキシ/ファイアウォールのセキュリティ設定を調整/編集するか、サーバー管理者にサポートを依頼してください。

ComfortUpdateを使用する

LimeSurvey ComfortUpdate機能は、実行中のアンケートがあっても安全に使用できます。既存のデータは削除も破棄もされません。念のため、続行する前に現用のデータベースとファイルを手動でバックアップすべきです。

  • 更新ボタンの場所
    • 古いLimeSurveyバージョンでは、全般設定アイコンから最初のタブを選択して、更新ボタンをクリックします。
    • 最近のLimesurveyのバージョンでは、設定ダイアログのアドバンスタブにComfortUpdateボタンがあります。



  • 新しいバージョンのLimeSurveyが利用可能な場合、ComfortUpdate画面に更新リンクが表示されます。そうでない場合は、今すぐ確認をクリックして、新しいアップデートが利用可能かどうかを確認します。
  • アップデートが見つかると、LimeSurveyに更新リンクが表示されます。クリックして更新を開始してください。
  • 以前にComfortUpdateを使用したことがない、またはComfortUpdateアップグレードキーが有効でない場合は、アップグレードキーの入力を求められます。



  • LimeSurveyはインストールディレクトリーを確認し、適切な権限によって更新が許可されるよう設定されているかを確認します。変更リストが表示されます。
  • 問題がある場合は、ここで修正してから次の手順に進む必要があります。
  • ComfortUpdateはデータベースをバックアップし(MySQLを使用している場合)、古いインストールファイルを/tmpディレクトリーに保存します。別のデータベースを使用する場合は、先に進む前にデータベースを手動でバックアップする必要があります。

ComfortUpdateによってインストールファイルが最新バージョンに更新され、終了します。メジャーアップデートの際は、必要なデータベースの更新を行うためのページにリダイレクトされます。

データベースの更新は、ComfortUpdateの一部ではなく、更新の方法に関係なく、LimeSurveyの一般的な機能であることに注意してください。

ComfortUpdateを無効にする

新たなリリースが出たときに新しいリリースが利用できますというポップアップメッセージが表示されないようにするには、ComfortUpdateを無効にしたい場合は、"config.php"ファイル(/LimeSurvey/application/configにあります)に次のオプションを追加することができます。

'updatable' => false

ただし、重要なセキュリティアップデートを見逃す可能性があるため、これを無効にしないよう強くお勧めします。

トラブルシューティング

ComfortUpdate実行中にエラーが発生した

まず、1分後に同じステップをもう一度実行してみてください。場合により、サーバーが更新パッケージを生成する必要があり、これには1分かかります。それでも解決しない場合は、他のトラブルシューティングの解決策を確認してください。

サーバーの応答なし - ComfortUpdateサーバーが応答しない

2022年12月以降、更新後のサーバーへの接続の既定値はSSLのみを使用するよう変更されました。 これにより、サーバー上のOpenSSL PHPライブラリーを適切に設定・有効化し、サーバーが外部(comfortupdate.limesurvey.org)とHTTP SSL接続ができるようにする必要があります。 これらの要件のいずれかが満たされない場合、このようなメッセージが表示されます。 暫定的な回避方法(非推奨)は、 /application/config/updater_version.phpでこの要件を以下のように無効にすることです。

$config['comfort_update_server_ssl'] = 0;

ステップ3で空白ページが表示される問題

ステップ3で空白のページが表示される場合は、通常、PHP構成のメモリ制限が低すぎます。この手順では、LimeSurveyはデータベースバックアップと(置き換えられるファイルの)バックアップを作成しようとします。

update.limesurvey.comへの接続にプロキシーサーバーを利用する場合の問題

プロキシーを使用している場合は、ComfortUpdateを使用できるように設定を調整する必要があります。設定ファイルでプロキシサーバーの詳細を設定します(全体設定を参照)。