Actions

ComfortUpdate/ru: Difference between revisions

From LimeSurvey Manual

(Created page with "__ОГЛАВЛЕНИЕ__")
(Updating to match new version of source page)
 
(38 intermediate revisions by 2 users not shown)
Line 2: Line 2:
__ОГЛАВЛЕНИЕ__
__ОГЛАВЛЕНИЕ__


=General=
=Общее=


The ComfortUpdate tool is a new feature for LimeSurvey introduced in version 1.87. ComfortUpdate is designed to update your installation of LimeSurvey automatically from your web browser, with just a few mouse clicks; instead of having to perform a manual update.
<div class="mw-translate-fuzzy">
Инструмент Мастер обновления - новая возможность. LimeSurvey внедренная в версии 1.87. Мастер обновлений  предназначен для обновления Вашей установки LimeSurvey автоматически прямо в окне браузера буквально в несколько кликов мыши; вместо того, чтобы выполнять обновление вручную.
</div>


ComfortUpdate is currently a free beta test service. We considering that at some point in the future users might have to pay a small fee to purchase an upgrade key to continue using the feature.
To use and test ComfortUpdate, you have to sign up [https://account.limesurvey.org on LimeSurvey] to receive a [https://community.limesurvey.org/comfort-update-extension/ free trial key]. After that trial key has expired, you can either [https://community.limesurvey.org/comfort-update-extension/ buy one of our premium packages] or [[Upgrading from a previous version|update your installation manually]].
=Requirements=


Your PHP installation must be compiled with support for ZLib. Check your PHPInfo to see, and contact your system administrator to confirm. [http://php.net/manual/es/book.zlib.php].


Your server must be able to connect by SSL to update.limesurvey.org and update-data.limesurvey.org in order to use the ComfortUpdate tool. If you have problems with this and get error messages like
{{Alert|To copy and use your ComfortUpdate key, access your LimeSurvey profile and check out the bottom section COMFORTUPDATE KEYS.}}


  10060 could not connect to the host "update.limesurvey.org"
<div class="mw-translate-fuzzy">
you should tweak/edit your proxy/firewall security settings or ask your server administrator for help.
На данный момент мастер обновлений на стадии бесплатного бета-теста. Мы учитываем то, что в будущем пользователям, возможно, придется заплатить небольшую плату для приобретения ключа обновления, чтобы продолжить пользоваться данной возможностью!
=Требования=
</div>


=Using ComfortUpdate=
<div class="mw-translate-fuzzy">
Ваш PHP должен быть скомпилирован с поддержкой ZLib. Проверьте Ваш PHPInfo и обратитесь к Вашему системному администратору для подтверждения.
[http://php.net/manual/es/book.zlib.php].
</div>


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 and ensure you have backed up your database and files manually before proceeding.
<div class="mw-translate-fuzzy">
Ваш сервер должен иметь возможность подключения по протоколу SSL к update.limesurvey.org и update-data.limesurvey.org для использования инструмента мастер обновлений. Если у Вас возникли проблемы с этим и Вы получаете сообщения об ошибках наподобие
</div>


*Go to the Global Settings Icon, select the first tab, and click the button for “Updates”
=Использование мастера обновлений=
*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.
*If an update is found, LimeSurvey will display a link to allow you to update. Click on this to begin updating.
*If you have never used before or ComfortUpdate upgrade key is not valid will be asked to enter an upgrade key. During the trial period use the default key for free updates.
*LimeSurvey will now verify your installation directory to check the appropriate permissions are set to allow an update. A list of proposed changes will be displayed.
*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 will now update your installation to the latest version, including updating the database for any new changes.


=Known problems=
<div class="mw-translate-fuzzy">
Возможность мастера обновлений в LimeSurvey можно применять даже при имеющихся активных опросах. Обновление не удалит и не уничтожит любые существующие данные. Тем не менее, следует иметь ввиду, что это бета-функция и будьте уверены, что сделали резервную копию данных и файлов вручную, перед продолжением обновления.
</div>


==Blank page on step 3==
<div class="mw-translate-fuzzy">
*Кликните по значку "Общие настройки", выберите первую вкладку и кликните по кнопку "Использовать мастер обновлений"
*Будет показан экран мастера обновлений и ссылка на доступную новую версию LimeSurvey, если таковая имеется. Кликните "Проверить сейчас", чтобы увидеть появилась ли новая обновленная версия.
*Если обновление найдено, LimeSurvey покажет ссылку позволяющую Вам обновиться. Кликните по ней для начала обновления.
*Если Вы никогда ранее не пользовались мастером обновлений или ключ обновления не действителен, то у Вас будет запрошен ключ обновления. Во время пробного периода используется стандартный ключ для бесплатных обновлений.
*LimeSurvey проверит Вашу установочную директорию на наличие соответствующих прав позволяющих произвести обновление. Будет показан список предлагаемых изменений.
*Если будут обнаружены какие либо проблемы, то Вы должны исправить их и продолжить процесс установки.
*Мастер обновлений сделает резервную копию Вашей базы данных (если Вы используете MySQL) и сохранит старые файлы в директории /tmp. Если Вы используете какую либо другую СУБД, то сделайте резервную копию самостоятельно перед тем как продолжить.
Мастер обновлений обновит Вашу установку до последней версии, включая обновление базы данных.
</div>


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).


==Using a proxy server to connect to update.limesurvey.com==
<center>[[File:ComfortUpdate.png]]</center>


If you are behind a proxy, you may have to adjust some settings to be able to use comfort update. 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).


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.
*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
*If an update is found, LimeSurvey will display a link to allow you to update. Click this to begin updating
*If you have never used ComfortUpdate before or the ComfortUpdate upgrade key is not valid, you will be asked to enter an upgrade key.


Example: Connect to a proxy server 111.111.111.111 port 1234 without authentication edit the following lines to look like
  var $proxy_host_name="111.111.111.111";
  var $proxy_host_port=1234;


Depending on your version, you will find the file in the /admin/classes/ folder or in /application/libraries/admin/http/. There are pre-coded variables within the file so only details of your proxy are needed. If your installation is running unusually slow, wrong proxy settings may be the cause.
<center>[[File:ComfortUpdateKey.png]]</center>
 
 
*LimeSurvey will now verify your installation directory to verify that the appropriate permissions are set to allow an update. A list of proposed changes will be displayed
*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 will then update your installation files to the latest version and finish.
On major version updates you will be redirected to a page for any necessary database updates.
 
Please note that the database updates are not part of ComfortUpdate, but a general function of LimeSurvey, no matter how you update.
 
=Disabling ComfortUpdate=
To disable ComfortUpdate to avoid receving ''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):
<syntaxhighlight lang="php" enclose="pre">
'updatable' => false
</syntaxhighlight>
'''However, we strongly recommend not disabling this, as you might miss important security updates.'''
 
<div class="mw-translate-fuzzy">
=Типичные проблемы=
</div>
 
== I get some error during ComfortUpdate ==
As a first step, please try to run the same step again after one minute. Occasionally, the server has to first generate the update package, which might take a minute. If it still does not work, check the other solutions in this troubleshooting section.
 
==No server answer - The ComfortUpdate server is not responding ==
Starting December 2022 the connection default to our updated server was changed to only use SSL.
This requires that the OpenSSL PHP library on your server is properly configured and activated and that your server is allowed to connect by HTTP SSL connection to the outside (to our server comfortupdate.limesurvey.org).
If one of these requirements is not met, you will get this message.
A '''temporary''' workaround (which we don't recommend) is to disable this requirement in the /application/config/updater_version.php
by setting
<syntaxhighlight lang="php" enclose="pre">
$config['comfort_update_server_ssl'] = 0;
</syntaxhighlight>
 
==Пустая страница на шаге 3==
 
<div class="mw-translate-fuzzy">
Если Вы видите пустую страницу на шаге 3, то обычно это значит, что лимит памяти в конфигурации PHP слишком мал. Во время этого шага LimeSurvey пытается создать резервную копию базы данных и файлов (которые будут в дальнейшем заменены).
</div>
 
==Использование прокси-сервера для подключения к update.limesurvey.com==
 
<div class="mw-translate-fuzzy">
Если Вы находитесь за проски-сервером, то Вам потребуется изменить некоторые настройки, чтобы использовать мастер обновлений. В LimeSurvey 2.05 и старше чем версия сборки 140404, Вы можете задать параметры Вашего прокси сервера в конфигурационном файле (см. [https://manual.limesurvey.org/Optional_settings#General_settings общие настройки]).
</div>

Latest revision as of 10:38, 3 April 2024

__ОГЛАВЛЕНИЕ__

Общее

Инструмент Мастер обновления - новая возможность. LimeSurvey внедренная в версии 1.87. Мастер обновлений предназначен для обновления Вашей установки LimeSurvey автоматически прямо в окне браузера буквально в несколько кликов мыши; вместо того, чтобы выполнять обновление вручную.

To use and test ComfortUpdate, you have to sign up on LimeSurvey to receive a free trial key. After that trial key has expired, you can either buy one of our premium packages or update your installation manually.


  To copy and use your ComfortUpdate key, access your LimeSurvey profile and check out the bottom section COMFORTUPDATE KEYS.


На данный момент мастер обновлений на стадии бесплатного бета-теста. Мы учитываем то, что в будущем пользователям, возможно, придется заплатить небольшую плату для приобретения ключа обновления, чтобы продолжить пользоваться данной возможностью!

Требования

Ваш PHP должен быть скомпилирован с поддержкой ZLib. Проверьте Ваш PHPInfo и обратитесь к Вашему системному администратору для подтверждения. [1].

Ваш сервер должен иметь возможность подключения по протоколу SSL к update.limesurvey.org и update-data.limesurvey.org для использования инструмента мастер обновлений. Если у Вас возникли проблемы с этим и Вы получаете сообщения об ошибках наподобие

Использование мастера обновлений

Возможность мастера обновлений в LimeSurvey можно применять даже при имеющихся активных опросах. Обновление не удалит и не уничтожит любые существующие данные. Тем не менее, следует иметь ввиду, что это бета-функция и будьте уверены, что сделали резервную копию данных и файлов вручную, перед продолжением обновления.

  • Кликните по значку "Общие настройки", выберите первую вкладку и кликните по кнопку "Использовать мастер обновлений"
  • Будет показан экран мастера обновлений и ссылка на доступную новую версию LimeSurvey, если таковая имеется. Кликните "Проверить сейчас", чтобы увидеть появилась ли новая обновленная версия.
  • Если обновление найдено, LimeSurvey покажет ссылку позволяющую Вам обновиться. Кликните по ней для начала обновления.
  • Если Вы никогда ранее не пользовались мастером обновлений или ключ обновления не действителен, то у Вас будет запрошен ключ обновления. Во время пробного периода используется стандартный ключ для бесплатных обновлений.
  • LimeSurvey проверит Вашу установочную директорию на наличие соответствующих прав позволяющих произвести обновление. Будет показан список предлагаемых изменений.
  • Если будут обнаружены какие либо проблемы, то Вы должны исправить их и продолжить процесс установки.
  • Мастер обновлений сделает резервную копию Вашей базы данных (если Вы используете MySQL) и сохранит старые файлы в директории /tmp. Если Вы используете какую либо другую СУБД, то сделайте резервную копию самостоятельно перед тем как продолжить.

Мастер обновлений обновит Вашу установку до последней версии, включая обновление базы данных.



  • 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
  • If an update is found, LimeSurvey will display a link to allow you to update. Click this to begin updating
  • If you have never used ComfortUpdate before or the ComfortUpdate upgrade key is not valid, you will be asked to enter an upgrade key.



  • LimeSurvey will now verify your installation directory to verify that the appropriate permissions are set to allow an update. A list of proposed changes will be displayed
  • 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 will then update your installation files to the latest version and finish.

On major version updates you will be redirected to a page for any necessary database updates.

Please note that the database updates are not part of ComfortUpdate, but a general function of LimeSurvey, no matter how you update.

Disabling ComfortUpdate

To disable ComfortUpdate to avoid receving 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):

'updatable' => false

However, we strongly recommend not disabling this, as you might miss important security updates.

Типичные проблемы

I get some error during ComfortUpdate

As a first step, please try to run the same step again after one minute. Occasionally, the server has to first generate the update package, which might take a minute. If it still does not work, check the other solutions in this troubleshooting section.

No server answer - The ComfortUpdate server is not responding

Starting December 2022 the connection default to our updated server was changed to only use SSL. This requires that the OpenSSL PHP library on your server is properly configured and activated and that your server is allowed to connect by HTTP SSL connection to the outside (to our server comfortupdate.limesurvey.org). If one of these requirements is not met, you will get this message. A temporary workaround (which we don't recommend) is to disable this requirement in the /application/config/updater_version.php by setting

$config['comfort_update_server_ssl'] = 0;

Пустая страница на шаге 3

Если Вы видите пустую страницу на шаге 3, то обычно это значит, что лимит памяти в конфигурации PHP слишком мал. Во время этого шага LimeSurvey пытается создать резервную копию базы данных и файлов (которые будут в дальнейшем заменены).

Использование прокси-сервера для подключения к update.limesurvey.com

Если Вы находитесь за проски-сервером, то Вам потребуется изменить некоторые настройки, чтобы использовать мастер обновлений. В LimeSurvey 2.05 и старше чем версия сборки 140404, Вы можете задать параметры Вашего прокси сервера в конфигурационном файле (см. общие настройки).