Actions

ComfortUpdate/ru: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 4: Line 4:
=Общее=
=Общее=


The ComfortUpdate tool is a LimeSurvey professional service to update your installation of LimeSurvey easily from your web browser, with just a few mouse clicks - instead of having to perform [[Upgrading from a previous version|a manual update]].
The ComfortUpdate tool is a LimeSurvey professional service to update your installation of LimeSurvey easily from your web browser with just a few mouse clicks (instead of having to perform [[Upgrading from a previous version|a manual update]]).


To use and test ComfortUpdate you will have to register [https://www.limesurvey.org/en/services#pricing with our website] 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]].
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]].
 
{{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=
=Requirements=


Ваш PHP должен быть скомпилирован с поддержкой ZLib. Проверьте Ваш PHPInfo и обратитесь к Вашему системному администратору для подтверждения.
Your PHP installation must be compiled with support for [http://php.net/manual/es/book.zlib.php ZLib]. Check your PHPInfo and ask your system administrator for a confirmation.  
[http://php.net/manual/es/book.zlib.php].


Ваш сервер должен иметь возможность подключения по протоколу SSL к update.limesurvey.org и update-data.limesurvey.org для использования инструмента мастер обновлений. Если у Вас возникли проблемы с этим и Вы получаете сообщения об ошибках наподобие
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.
 
  10060 could not connect to the host "update.limesurvey.org" Вас необходимо обновить настройки прокси-сервера или сетевого экрана или обратиться за помощью к системному администратору.


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


Возможность мастера обновлений в LimeSurvey можно применять даже при имеющихся активных опросах. Обновление не удалит и не уничтожит любые существующие данные. Тем не менее, следует иметь ввиду, что это бета-функция и будьте уверены, что сделали резервную копию данных и файлов вручную, перед продолжением обновления.
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. That is why it is important to have your database and files manually backed up before proceeding.


*Кликните по значку "Общие настройки", выберите первую вкладку и кликните по кнопку "Использовать мастер обновлений"
#Find the ''Update'' button.
*Будет показан экран мастера обновлений и ссылка на доступную новую версию LimeSurvey, если таковая имеется. Кликните "Проверить сейчас", чтобы увидеть появилась ли новая обновленная версия.
##For the older LimeSurvey versions, go to the Global Settings Icon, select the first tab, and click on the ''Updates'' button.
*Если обновление найдено, LimeSurvey покажет ссылку позволяющую Вам обновиться. Кликните по ней для начала обновления.
##For the recent Limesurvey versions, you may find the '''ComfortUpdate''' button in the '''Configuration''' dialog, under the ''Advanced'' tab.
*Если Вы никогда ранее не пользовались мастером обновлений или ключ обновления не действителен, то у Вас будет запрошен ключ обновления. Во время пробного периода используется стандартный ключ для бесплатных обновлений.
#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 проверит Вашу установочную директорию на наличие соответствующих прав позволяющих произвести обновление. Будет показан список предлагаемых изменений.
#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 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.
*Мастер обновлений сделает резервную копию Вашей базы данных (если Вы используете MySQL) и сохранит старые файлы в директории /tmp. Если Вы используете какую либо другую СУБД, то сделайте резервную копию самостоятельно перед тем как продолжить.
#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.
Мастер обновлений обновит Вашу установку до последней версии, включая обновление базы данных.  
#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, updating also the database in order to reflect the new (possible) changes.  


=Disabling ComfortUpdate=
=Disabling ComfortUpdate=
If you want to disable ComfortUpdate to not get the ''New release available'' popup messages after each new release you can add the following option to your "config.php" file which can be found at ''/limesurvey/application/config'' (Always create a backup first!):
If you want to disable ComfortUpdate 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''):
'updatable' => false
<syntaxhighlight lang="php" enclose="pre">
'updatable' => false  
</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]".
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]".
{{Alert|title=Attention|text=Always create a backup first!}}


=Типичные проблемы=
=Типичные проблемы=
Line 40: Line 45:
==Пустая страница на шаге 3==
==Пустая страница на шаге 3==


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


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


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 General settings]).
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 the general settings wiki]).


Для более ранних версий, Вам необходимо отредактировать файл http.php в каталоге установки LimeSurvey. Обратите внимание на переменные располагающиеся в первых строках данного файла и задайте необходимые значения.
Для более ранних версий, Вам необходимо отредактировать файл http.php в каталоге установки LimeSurvey. Обратите внимание на переменные располагающиеся в первых строках данного файла и задайте необходимые значения.


Например: Для подключения к прокси-серверу по адресу 111.111.111.111 и слушающему порт 1234 без аутентификации отредактируйте следующие линии подобным образом:
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_name="111.111.111.111";
   var $proxy_host_port=1234;
   var $proxy_host_port=1234;


В зависимости от версии, Вы можете найти данный файл в каталоге /admin/classes/ или /application/libraries/admin/http/. Там уже заранее предопределены параметры для мнимого прокси-сервера, которые Вы должна заменить на параметры, соответствующие действительной конфигурации. Если установка работает необычно медленно, то, скорее всего, имеет место быть неправильная настройка прокси-сервера.
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. Therefore, only details of your proxy are needed. If your installation is running unusually slow, wrong proxy settings may be the cause.

Revision as of 11:40, 14 August 2017

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

Общее

The ComfortUpdate tool is a LimeSurvey professional service to update your installation of LimeSurvey easily from your web browser with just a few mouse clicks (instead of having to perform a manual update).

In order 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.

  In order to copy and use your ComfortUpdate key, access your LimeSurvey profile and click on COMFORTUPDATE KEYS, which is located in the profile menu (left side of the page).


Requirements

Your PHP installation must be compiled with support for ZLib. Check your PHPInfo and ask your system administrator for a confirmation.

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.

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

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. That is why it is important to have your database and files manually backed up before proceeding.

  1. Find the Update button.
    1. For the older LimeSurvey versions, go to the Global Settings Icon, select the first tab, and click on the Updates button.
    2. For the recent Limesurvey versions, you may find the ComfortUpdate button in the Configuration dialog, under the Advanced tab.
  2. 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.
  3. If an update is found, LimeSurvey will display a link to allow you to update. Click on this to begin updating.
  4. 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.
  5. 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.
  6. If there are any problems, you must correct them at this point and then proceed to the next step.
  7. 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, updating also the database in order to reflect the new (possible) changes.

Disabling ComfortUpdate

If you want to disable ComfortUpdate 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):

'updatable' => false

This is documented in more detail at "How to disable the Limesurvey ComfortUpdate updating feature".

  Attention : Always create a backup first!


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

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

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

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

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 the general settings wiki).

Для более ранних версий, Вам необходимо отредактировать файл http.php в каталоге установки LimeSurvey. Обратите внимание на переменные располагающиеся в первых строках данного файла и задайте необходимые значения.

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. Therefore, only details of your proxy are needed. If your installation is running unusually slow, wrong proxy settings may be the cause.