Actions

ComfortUpdate

From LimeSurvey Manual

Revision as of 22:09, 17 May 2013 by Rikthoff (talk | contribs)

Algemeen

ComfortUpdate is een nieuwe functie voor LimeSurvey sinds versie 1.87. ComfortUpdate is ontworpen om je installatie van LimeSurvey met een paar klikken te updaten vanuit je webbrowser, in plaats van handmatig te moeten upgraden.

ComfortUpdate is momenteel een gratis test service, die in bèta verkeerd. We overwegen om gebruikers een kleine vergoeding te laten betalen voor een sleutel om deze functie te blijven gebruiken.

Je PHP installatie moet voorzien zijn van ZLib[1]. Check je PHPInfo om dit te kunnen zien, en/of neem contact op met de systeembeheerder om dit te controleren.

De webserver moet wel een connectie naar http://update.limesurvey.org/ kunnen maken om de ComfortUpdate applicatie te gebruiken. Als je een foutmelding krijgt als:

  10060 could not connect to the host "update.limesurvey.org"

Probeer dan de instellingen van de proxy of de firewall te wijzigen. Mocht je daar geen toegang toe hebben, vraag dan de beheerder om hulp.

Gebruik van ComfortUpdate

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.

  • 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

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 have to use a proxy server to connect to http://update.limesurvey.com(external link) you might have to edit the http.php file in your LimeSurvey installation. To do so browse to the /admin/classes/ folder and open the file http.php with an editor. Have a look at the variables in the first lines of this file and add values if needed.

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;

If you are using Limesurvey 2, http.php can be found 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 slowly, setting an appropriate proxy may be the cause.