Actions

ComfortUpdate

From LimeSurvey Manual

Revision as of 11:18, 28 December 2023 by Maren.fritz (talk | contribs) (Created page with "Din PHP-installation skal være kompileret med understøttelse af [http://php.net/manual/en/book.zlib.php ZLib] og have [https://www.php.net/manual/en/book.openssl.php OpenSSL...")

Generelt

ComfortUpdate er en professionel service fra LimeSurvey GmbH til nemt at opdatere LimeSurvey fra din webbrowser med blot et par museklik (i stedet for at skulle udføre en manuel opdatering).

For at bruge og teste ComfortUpdate skal du tilmelde dig på LimeSurvey for at modtage en gratis prøvenøgle. Efter at prøvenøglen er udløbet, kan du enten købe en af vores premium-pakker eller opdatere din installation manuelt.


  For at kopiere og bruge din ComfortUpdate-nøgle skal du gå til din LimeSurvey-profil og se det nederste afsnit COMFORTUPDATE-NØGLER.


Krav

Din PHP-installation skal være kompileret med understøttelse af ZLib og have OpenSSL extension installeret og aktiveret. Tjek din PHPInfo eller spørg din systemadministrator om en bekræftelse.

Din server skal være i stand til at oprette forbindelse med SSL til comfortupdate.limesurvey.org for at bruge ComfortUpdate-værktøjet. Hvis du har problemer og får fejlmeddelelser såsom 10060 kunne ikke oprette forbindelse til værten 'comfortupdate.limesurvey.org', bliver du nødt til at justere/redigere dine proxy/firewall-sikkerhedsindstillinger eller bede din serveradministrator om yderligere vejledning /Hjælp.

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 now update your installation to the latest version, updating also the database in order to reflect the new (possible) changes.

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