Upgrade from version 6 to 7
LimeSurvey 7 major version
This page lists the major changes in LimeSurvey 7, what they mean for your surveys, themes, scripts, plugins and integrations, and how you get to version 7. Each major change has its own page with the details.
On LimeSurvey Cloud, LimeSurvey upgrades your survey site for you. See Upgrade on LimeSurvey Cloud.
On a self-hosted installation, you upgrade yourself, with ComfortUpdate or by hand. See Requirements and the sections after it.
Major changes in LimeSurvey 7
Modified response table and field name structure
LimeSurvey 7 cleans up how response tables and field names are generated:
- The response tables are renamed:
survey_<sid>becomesresponses_<sid>, andsurvey_<sid>_timingsbecomestimings_<sid>. - Field names use the question ID instead of the old
<sid>X<gid>X<qid>form:Q<questionId>for a question andQ<questionId>_S<subquestionId>for a subquestion. For example,answer123456X7X89becomesQ89. - The answers of a ranking question are stored in one JSON column.
Find more details here: Fieldname and response table refactor - LimeSurvey 7
New question editor
LimeSurvey 7 introduces a new survey editor with an updated user interface and improved workflows for creating and managing questions. It opens by default.
The classic editor is still available. Everything you build in one editor is available in the other, and respondents see no difference. The new editor works with survey themes based on fruity_twentythree; a survey that uses another theme opens in the classic editor. To use the new editor for such a survey, build a theme on fruity_twentythree, move your CSS to it and assign it to the survey. See Switch between the classic and the new editor. On the Corporate plan, survey sites use the classic editor.
Find more details here: New Question Editor in LimeSurvey 7
RemoteControl API changes
The responses from RemoteControl 2 API have been improved by returning error codes in addition to the error text. Scripts that use the RemoteControl API keep working. Depending on how you handle return values, this should be backward compatible, but check that your implementation handles the new error responses.
Find more details here: RemoteControl 2 API
Time zone changes
In version 6 and earlier recorded timestamps were undetermined regarding timezone and depended on the server date/time. With migration to version 7 the old 'Time difference' setting is migrated if possible, and all timestamps going forward are recorded as UTC timestamps. Old timestamps are not migrated. It is possible to set a global timezone as default in global settings and an individual one can be set per user. These apply only on the display of data. Export and RemoteControl API will only accept/deliver the raw timestamps.
What the upgrade keeps
Everything is carried over: surveys, responses, participants and access codes, quotas, conditions, email templates and survey links. Active surveys stay active. You don't need to export or re-import anything.
Custom survey themes
Survey themes that are compatible with LimeSurvey 6 stay active after the upgrade, whether they extend fruity, vanilla, bootswatch or another custom theme: all three are still core themes in LimeSurvey 7. Survey themes that were not compatible with LimeSurvey 6 are uninstalled, and the theme options in the global, group and survey settings are reset to the new default.
What breaks: CSS or JavaScript that targets answer fields by the old ID (for example answer123456X7X89), which is now Q89 or Q89_S456. Selectors on the theme's classes keep working.
Upgrade strategy:
- Export the survey theme from the old application.
- Before importing it into the new application, make sure the compatibility tag is set correctly.
- Import it into the new application. If the theme extends another custom theme, import that parent theme first.
- Check the code you customized for the survey theme and update it in accordance with the new version of the application you want to use.
- Export your updated customized survey theme from the new application.
- After upgrading, your survey themes compatible with LimeSurvey 6 stay active, while older themes are uninstalled.
- If you choose to update a survey theme, you can now import it. And after you confirm that it has been updated correctly, you can choose to delete the old one.
Custom JavaScript
The upgrade does not rewrite scripts. Scripts that use question codes keep working. Scripts that address fields by the old identifiers (answer123456X7X89) need the new names: Q<questionId> for a question and Q<questionId>_S<subquestionId> for a subquestion. Usually the ID is the only change. See LimeSurvey 7 Fieldname Refactor.
Custom admin themes
The default admin theme will be enabled by default. Custom themes will stay untouched but cannot be reactivated unless they are updated.
- Before copying the admin theme to the new application, make sure the compatibility tag is set correctly.
- Copy the existing admin theme from the old application to the new application. See Custom Admin Themes.
- 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.
- 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.
If you use a custom admin theme on LimeSurvey Cloud, contact 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 Question themes. Custom JavaScript in a question theme that addresses fields by the old identifiers needs the new field names (see Custom JavaScript).
Upgrading your customized question theme:
- Download the question theme from a website or export the current question theme
- Before uploading, make sure the compatibility of your custom question theme is set correctly
- Try to upload your question theme into the new application.
- If it is a self-created question theme, make the necessary adjustments
- 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
Core plugins that are compatible with LimeSurvey 7 stay active. Custom plugins that are not marked as compatible with LimeSurvey 7 are deactivated during the upgrade. A plugin that depends on the old field names also needs to be updated (see LimeSurvey 7 Fieldname Refactor). Ask the developer of the plugin for a version for LimeSurvey 7, then activate it again: in the left sidebar, click Plugins. See Plugin manager.
- Check if the plugin can be installed on the new version.
- Update the plugin or contact the plugin author to update the plugin.
- 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.
- LimeSAML (single sign-on) stays active, so your login is not affected.
- Check if the plugin can be installed on the new version.
- Update the plugin code or contact the plugin author to update the plugin.
- Installation options:
- Uninstall the old version and reinstall the new version (all settings will be lost and have to be reapplied)
- Contact support to update the plugin without losing its configuration
Database reports and API integrations
Check them before you upgrade. Anything that reads the database directly, such as a BI connection, a reporting script or a custom export, needs the new table and field names (see above). Prepare the updated queries before the upgrade and switch them over right after it. Scripts that use the RemoteControl API keep working; error responses now include an error code next to the error text. This can't be tested in a free account. If you are unsure which tables or fields your integration uses, contact support before you upgrade.
Upgrade on LimeSurvey Cloud
Support for LimeSurvey 6 on LimeSurvey Cloud ended on 1 November 2026. Every Cloud survey site moves to LimeSurvey 7: either when an administrator starts the upgrade, or automatically in the first week of November 2026. LimeSurvey 7 is included in every plan: your subscription, price and renewal date do not change. For how Cloud updates work in general, see How LimeSurvey Cloud updates work.
How do I upgrade?
- Log in to your survey site as an administrator with superadministrator permission.
- Click Upgrade to version 7 in the top bar. A dialog explains what happens next.
- Tick I have read all information and agree to the upgrade. and click the button to schedule the upgrade. The button in the top bar now reads Upgrade scheduled.
- The upgrade starts at the next full hour and takes 1 to 30 minutes, depending on the size of your survey site. You receive an email when it has finished. The version in the footer of the administration then starts with 7.
Is there downtime?
Briefly. While the database is migrated (1 to 30 minutes, depending on the size of your survey site) the site is in maintenance mode: respondents can't open the survey, and someone in the middle of a page loses that page's answers. Pages already submitted are safe. You decide when the upgrade starts, so pick a moment when few people are filling in your surveys.
Can I test before I upgrade?
Yes. Create a free LimeSurvey Cloud account (it runs on version 7), export your survey (.lss) and your theme (.zip) from your current site, import both there and run through the survey once. Free plan limits apply, so use a representative survey. If an import fails, send the .lss file to support.
Can I stay on version 6 or postpone the upgrade?
No. Every Cloud site moves to version 7. Customers on the Business (formerly Enterprise) or Corporate plan, and customers on a dedicated server: if you have concerns about the date, contact support, and the upgrade is scheduled with you at a time that suits you.
Can I go back to version 6 afterwards?
No. LimeSurvey takes a snapshot of your site right before the upgrade. If the upgrade fails, the support team restores it and investigates the reason. Once the upgrade has completed, your site stays on version 7: restoring the snapshot would take your site back to the moment before the upgrade, and every response collected on LimeSurvey 7 since then would be lost. To be sure everything works, test in a free account first.
I don't see the Upgrade to version 7 button
It is shown only to superadministrators of a site that is still on version 6. If you don't see it, you are logged in without superadministrator permission, the site is already on version 7 (check the version in the footer), or the email you received was about another site of yours. Send the site address to support to check.
Something looks different after the upgrade
Run one full test response through each active survey. If a condition, a ranking question or an email behaves differently, or you see an error message, contact support with your site address and the survey ID. Don't start the upgrade again. See Hit a 400 or 500 error? What to do.
Requirements
| LimeSurvey 6 | LimeSurvey 7 | |
|---|---|---|
| PHP | 7.4 or higher | 8.1 or higher (8.3 recommended) |
| MySQL | 8.0 or higher | 8.0 or higher |
| MariaDB | 10.3.38 or higher | 10.3.38 or higher |
| PostgreSQL | 12 or higher | 14 or higher |
| MSSQL | 2016 or higher | 2019 or higher |
| URL format | get or path |
path, required for the new editor
|
You do not need Node.js or npm. The new editor is included in the LimeSurvey package and is ready to use.
Make a full backup of your files and your database before you begin, and test the upgrade on a copy of your installation first. Once the upgrade has run, there is no way back other than restoring that backup.
Plan a maintenance window. LimeSurvey switches the site into maintenance mode while the database is being upgraded, and on installations with a lot of response data this can take a while.
Recommended: use our ComfortUpdate service
The easiest and safest way to upgrade is to use our ComfortUpdate service. It downloads and installs the new version for you, so you do not have to replace any files manually.
If you prefer to upgrade by hand, follow the steps below instead.
Upgrading manually
- Back up your files and database, and put the site into maintenance mode.
- Keep the following files and folders from your old installation:
application/config/config.phpapplication/config/security.phpapplication/config/allowed_hosts.php- the
upload/folder, which holds your uploaded files, user themes and user plugins - the
plugins/folder, if you installed plugins into it by hand
- Download the LimeSurvey 7 package and update the installation using one of the following methods:
- Delete the old files first. Move the files listed above out of the way, delete everything else in your LimeSurvey directory, unpack the new package into it and put the kept files back.
- Or copy the new files over the old ones. Unpack the new package over your existing installation and let it overwrite what is already there, leaving the files listed above untouched.
- With either option, use the new
.htaccessfrom the package, as the 6.x one does not work with the new editor. Afterwards, emptytmp/runtime/so no cached data from version 6 is left behind. - Set the URL format to
pathinapplication/config/config.php. - Make sure your web server serves the
/editor/folder directly and passes theAuthorizationheader through to PHP. More details: New Question Editor in LimeSurvey 7 - Run the database upgrade. LimeSurvey detects the older database version and offers to upgrade it. Confirm, and let it finish without interrupting it.
- When it completes, switch maintenance mode off and work through the checklist below.
After the upgrade
- Check the version number in the footer of the administration, at the bottom right of the page.
- Re-activate the plugins you need, one by one.
- Open a survey and confirm that the new editor loads.
- Run one full test response through each active survey, covering conditions, quotas, e-mails and the end URL.
Troubleshooting
"Action needed" message about the URL format. The URL format is still get. Change it to path and clear tmp/runtime/.
The editor loads but stays empty. The Authorization header is not reaching PHP.
/editor/ shows a LimeSurvey page or a "not found" error. Check your web server configuration and make sure the /editor/ folder is served directly instead of being routed through LimeSurvey.
"You cannot use this theme with the new question editor". The survey uses a theme that is not based on fruity_twentythree. Switch the theme, or continue in the classic editor.
A plugin causes errors after being re-activated. It is not compatible with LimeSurvey 7. Deactivate it and check with its maintainer.
An error page such as 400 or 500. See Hit a 400 or 500 error? What to do.
Notes
Each major change is documented on its own page. This helps keep the documentation focused and makes it easier to find the information relevant to your setup.