Actions

ComfortUpdate: Difference between revisions

From LimeSurvey Manual

No edit summary
(Marked this version for translation)
 
(69 intermediate revisions by 10 users not shown)
Line 4: Line 4:
__TOC__
__TOC__


=General.= <!--T:2-->
=General= <!--T:2-->


<!--T:3-->
<!--T:3-->
La herramienta LimeSurvey ComfortUpdate es una nueva funci&oacute;n incluida a partir de la versi&oacute;n 1.87 y est&aacute; pensada para actualizar su instalaci&oacute;n de LimeSurvey de forma autom&aacute;tica con un par de clics de rat&oacute;n, en vez de tener que realizar una [[Upgrading from a previous version|actualizaci&oacute;n manual]]. ComfortUpdate es un servicio en pruebas, lo que significa que en alg&uacute;n momento tendr&aacute; que pagar una peque&ntilde;a cuota para comprar una clave de actualizaci&oacute;n valida durante un cierto per&iacute;odo de tiempo. En la actualidad la funci&oacute;n ConfortUpdate todav&iacute;a esta en periodo de prueba y por eso es gratuita.
''ComfortUpdate'' is a professional service from LimeSurvey GmbH to update 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]]).


=Requisitos.= <!--T:4-->
<!--T:20-->
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]].
 
 
<!--T:23-->
{{Alert|To copy and use your ComfortUpdate key, access your LimeSurvey profile and check out the bottom section COMFORTUPDATE KEYS.}}
 
=Requirements= <!--T:4-->


<!--T:5-->
<!--T:5-->
El &uacute;nico requisito para poder utilizar ComfortUpdate es que su PHP debe estar compilado con soporte para ZLib lo que suele ser habitual - vea la documentaci&oacute;n de PHP y ZLib para m&aacute;s informaci&oacute;n [http://php.net/manual/es/book.zlib.php].
Your PHP installation must be compiled with support for [http://php.net/manual/en/book.zlib.php ZLib] and have the [https://www.php.net/manual/en/book.openssl.php OpenSSL extension] installed and enabled. Check your PHPInfo or ask your system administrator for a confirmation.
 
<!--T:9-->
Your server must be able to connect by SSL to ''comfortupdate.limesurvey.org'' to use the ComfortUpdate tool. If you have problems and get error messages such as ''10060 could not connect to the host 'comfortupdate.limesurvey.org''', you will have to tweak/edit your proxy/firewall security settings or ask your server administrator for further guidance/help.


=Utilizaci&oacute;n  de ConfortUpdate.= <!--T:6-->
=Using ComfortUpdate= <!--T:6-->


<!--T:7-->
<!--T:7-->
La funci&oacute;n de actualizaci&oacute;n de LimeSurvey deber&iacute;a ser segura incluso cuanto tiene encuestas activas o ejecut&aacute;ndose.
The LimeSurvey ComfortUpdate feature is safe to use even with active surveys. It does not delete or destroy any existing data. However, out of precaution, you should backup your current database and files manually before proceeding.
*Vaya a la p&aacute;gina [[Global settings]],seleccione la primera pesta&ntilde;a y haga clic en el bot&oacute;n buscar actualizaciones.
 
*Si se ha encontrado una actualizaci&oacute;n, LimeSurvey mostrar&aacute; un nuevo v&iacute;nculo que apunta a la nueva actualizaci&oacute;n. Haga clic sobre el nuevo v&iacute;nculo para comenzar el proceso de actualizaci&oacute;n.
<!--T:11-->
*Si nunca ha utilizado ComfortUpdate antes o su clave de actualizaci&oacute;n no es valida se le pedir&aacute; que introduzca una clave de actualizaci&oacute;n. Durante el periodo de prueba de ComforUpdate puede utilizar la clave predeterminada durante un periodo de tiempo ilimitado.
*Locate the ''Update'' button
*En el segundo paso LimeSurvey comprobar&aacute; los directorios de la aplicaci&oacute;n para ver si tienen los permisos necesarios para proceder con la instalaci&oacute;n y le mostrar&aacute; tambi&eacute;n un log con los cambios entre la versi&oacute;n instalada y la nueva versi&oacute;n disponible.
**For the older LimeSurvey versions, go to the Global Settings Icon, select the first tab, and click the ''Updates'' button
*Una vez solventado cualquier problema con los permisos podra continuar con el siguiente paso.
**For the recent Limesurvey versions, you will find the '''ComfortUpdate''' button in the '''Configuration''' dialog, under the ''Advanced'' tab:
*En este paso su base de datos (solo en caso de que utilice MySQL) y sus archivos se guardar&aacute;n en el directorio /tmp dentro del directorio de instalaci&oacute;n de LimeSurvey. Aseg&uacute;rese de mover esos archivos despues de actualizar la aplicaci&oacute;n a una nueva ubicaci&oacute;n. Los nombres de los archivos son un poco cr&iacute;pticos de pero mejor prevenir que curar, si no mueve estos archivos a otra ubicaci&oacute;n, normalmente se eliminan despu&eacute;s de alg&uacute;n tiempo. Si no utiliza LimeSurvey con MySQL, utilice cualquiera de las herramienta disponibles de copia de seguridad para su servidor de base de datos .
 
*El &uacute;ltimo paso es descargar el paquete de actualizaci&oacute;n (que es un paquete que solo contiene los archivos que han sufrido modificaciones, con lo cual el tama&ntilde;o de este paquete es siempre de menor) y actualizar sus archivos.
 
*Listo!
<!--T:25-->
<center>[[File:ComfortUpdate.png]]</center>
 
 
<!--T:26-->
*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.
 
 
<!--T:27-->
<center>[[File:ComfortUpdateKey.png]]</center>
 
 
<!--T:28-->
*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.  
 
<!--T:31-->
Please note that the database updates are not part of ComfortUpdate, but a general function of LimeSurvey, no matter how you update.
 
=Disabling ComfortUpdate= <!--T:21-->
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.'''
 
=Troubleshooting= <!--T:12-->
 
== I get some error during ComfortUpdate == <!--T:30-->
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 == <!--T:29-->
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>
 
==Blank page on step 3== <!--T:13-->
 
<!--T:14-->
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== <!--T:15-->


<!--T:8-->
<!--T:16-->
Como se dijo anteriormente,esta caracter&iacute;stica todav&iacute;a est&aacute; fase de desarrollo. Por favor utilice esta funci&oacute;n con cuidado y informe de cualquier problema que pueda encontrar durante su uso en el [http://bugs.limesurvey.org sistema de control de errores] de LimeSurvey.
If you are behind a proxy, you may have to adjust some settings to be able to use ComfortUpdate. 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]).
</translate>
</translate>

Latest revision as of 10:37, 3 April 2024

General

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

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.


Requirements

Your PHP installation must be compiled with support for ZLib and have the OpenSSL extension installed and enabled. Check your PHPInfo or ask your system administrator for a confirmation.

Your server must be able to connect by SSL to comfortupdate.limesurvey.org to use the ComfortUpdate tool. If you have problems and get error messages such as 10060 could not connect to the host 'comfortupdate.limesurvey.org', you will have to tweak/edit your proxy/firewall security settings or ask your server administrator for further guidance/help.

Using ComfortUpdate

The LimeSurvey ComfortUpdate feature is safe to use even with active surveys. It does not delete or destroy any existing data. However, out of precaution, you should backup your current database and files manually before proceeding.

  • Locate the Update button
    • For the older LimeSurvey versions, go to the Global Settings Icon, select the first tab, and click the Updates button
    • For the recent Limesurvey versions, you will 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
  • 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.

Troubleshooting

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;

Blank page on step 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).

Using a proxy server to connect to update.limesurvey.com

If you are behind a proxy, you may have to adjust some settings to be able to use ComfortUpdate. You can set the details of your proxy server in the configuration file (see the general settings wiki).