Actions

Større versionsopgradering

From LimeSurvey Manual

Revision as of 08:44, 27 December 2023 by Maren.fritz (talk | contribs) (Created page with "<b>Opgraderingsstrategi:</b> # Eksporter undersøgelsestemaet fra den gamle applikation # Før du importerer det til den nye applikation, skal du sørge for, at kompatibilite...")

Noter til specifikke LimeSurvey-versioner

LimeSurvey 6

Vi opdaterede LimeSurvey med et nyt design, som også inkluderer en opgradering til Bootstrap-versionen, der bruges til admin- og survey-temaet fra Bootstrap 3 til 5.
Efter denne opgradering vil alle brugerdefinerede undersøgelsestemaer blive afinstalleret og nulstillet til at bruge vores nye standardtema "Fruity TwentyThree", dette påvirker også udvidede temaer. Administrator-temaer vil blive nulstillet til det allerede eksisterende "sea_green"-tema, som også er blevet opdateret.

Sådan forbereder du dig til en større versionsopgradering

For at være på den sikre side, når du udfører en opgradering og være i stand til at fortsætte undersøgelser med mindst mulig afbrydelse, anbefaler vi først at teste al din tilpassede kode på den nye version af LimeSurvey du vil opgradere til.

Dette kræver, at du opretter en ny applikation, du kan teste på. Du kan enten oprette en via vores cloud-hosting:

https://www.limesurvey.org/
eller host en selv:
https://manual.limesurvey.org/Installation_-_LimeSurvey_CE


Tilpassede undersøgelsestemaer

Alle brugerdefinerede undersøgelsestemaer (dette inkluderer udvidede temaer) vil blive afinstalleret, og temaindstillingerne i de globale, gruppe- og undersøgelsesindstillinger vil blive nulstillet til den nye standard.

Opgraderingsstrategi:

  1. Eksporter undersøgelsestemaet fra den gamle applikation
  2. Før du importerer det til den nye applikation, skal du sørge for, at kompatibilitetsmærket er indstillet korrekt: https://manual.limesurvey.org/Extension_compatibility# Survey_themes
  3. Importer det til den nye applikation
  4. Tjek den kode, du har tilpasset til undersøgelsestemaet, og opdater den i overensstemmelse med den nye version af den applikation, du vil bruge.
  5. Eksporter din opdaterede tilpasset undersøgelsestema fra den nye applikation
  6. Efter opgradering af din gamle applikation til den nye version, vil de aktuelle undersøgelsestemaer blive afinstalleret og markeret som inkompatible.
  7. Nu kan du slette det gamle undersøgelsestema og importere det nye undersøgelsestema, som du har opdateret. Sørg for, at du har en sikkerhedskopi af det slettede tema.

Tilpassede administratortemaer

Alle tilpassede administratortemaer vil blive afinstalleret, og den nye standard vil blive brugt.

for self-hosted application:

  1. Before copying the admin theme to the new application, make sure the compatibility tag is set correctly: https://manual.limesurvey.org/Extension_compatibility#Admin_themes
  2. Copy the existing admin theme from the old application to the new application https://manual.limesurvey.org/Custom_Admin_Themes
  3. Check the code you customized for the admin theme and update it in accordance with the new version of the application you want to use.
  4. After upgrading your old application, our new admin theme is displayed by default. To update your previously installed admin theme, either:
    • Manually update the code of the admin theme currently marked as incompatible
    • Delete the old admin theme and install the new one you previously updated in your test environment.

for Cloud users:
Please contact our support.

Custom question themes

Custom question themes that do not match the current version cannot be installed, but will still be active after the upgrade. More information about question themes can be found here https://manual.limesurvey.org/Question_themes

Upgrading your customized question theme:

  1. Download the question theme from a website or export the current question theme
  2. Before uploading, make sure the compatibility of your custom question theme is set correctly https://manual.limesurvey.org/Extension_compatibility#Question_themes
  3. Try to upload your question theme into the new application.
  4. If it is a self-created question theme, make the necessary adjustments
  5. After successfully uploading, please check if the question theme is displayed and working as expected.

Upgrading a theme you do not own:
Try to see if an update is available from the website or developer that provided it

Custom plugins

Custom plugins that do not match the current version will be deactivated during the upgrade process.

for self-hosted application:

  1. Check if the plugin can be installed on the new version.
  2. Update the plugin or contact the plugin author to update the plugin.
  3. Manually override the plugin with new files in your application which will preserve settings or uninstall the old version and reinstall the new version, in that case all settings will be reentered.

for Cloud users:

  1. Check if the plugin can be installed on the new version.
  2. Update the plugin code or contact the plugin author to update the plugin.
  3. Installation options:
    • Uninstall the old version and reinstall the new version (all settings will be lost and have to be reapplied)
    • Contact support to make an update to the plugin without loosing configuration data