View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20927Bug reportsDatabase designpublic2026-12-03 15:58
ReporterPackages support Assigned Toc_schmitz  
PrioritynoneSeverityblock 
Status resolvedResolutionfixed 
Product Version7.12.x 
Summary20927: Summary: 6.5.9 -> 7.13.0 database update aborted on Azure SQL Database: minimum version check reads 12.00.0256
Description

Category: Core / Database update
Priority: none
Severity: [minor / major / blocker]
Product Version: 7.13.0 (upgrade from 6.5.9)

Description:
Running the database update from LimeSurvey 6.5.9 to 7.13.0 aborts with:

"The database update was aborted because your database server does not meet the
minimum requirements. Microsoft SQL Server 2019 or newer is required, but the
server reports version 12.00.0256. Please upgrade your database server and try again."

The database server is current. Azure SQL Database always reports a 12.0.x engine
version, which the check appears to read as SQL Server 2014 and reject. The version
LimeSurvey shows (12.00.0256) also differs from the one the server returns for
SELECT @@VERSION (12.0.2000.8), so the check may be reading a different property.

The update is aborted before any schema change is applied.

Steps To Reproduce

Steps To Reproduce:

  1. Install or run LimeSurvey 6.5.9 with an Azure SQL Database backend.
  2. Upgrade the code base to 7.13.0
  3. Open index.php/admin/databaseupdate and confirm the update.
  4. Observe the abort message above.

Expected:
The update runs on Azure SQL Database, or the minimum-version check recognises
Azure SQL Database (SERVERPROPERTY('EngineEdition') = 5) as a supported platform.

Actual:
The update stops at the version check with the message above.

Additional information:

  • SELECT @@VERSION output:
    Microsoft SQL Azure (RTM) - 12.0.2000.8 Sep 17 2026 07:51:49
    Copyright (C) 2026 Microsoft Corporation
  • SERVERPROPERTY('EngineEdition'): [value]
  • SERVERPROPERTY('ProductMajorVersion'): [value]
  • Where the check happens (if known): [file and line, if you find it]

Suggested fix (to be confirmed by the developers):
Either accept Azure SQL Database (EngineEdition 5) in the minimum-version check,
or read the version from the property that reflects the real SQL Server engine.
Please tell us if a supported workaround exists in the meantime.

Verification:
Upgrade 6.5.9 -> 7.13.0 on Azure SQL Database completes, and the update log shows
no version-check error.

Complete LimeSurvey version number (& build): 6.5.9 -> 7.13.0 [build]

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)7.13.0
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMicrosoft SQL Server 2019 - Microsoft SQL Azure (RTM) - 12.0.2000.8
Server OS (if known)Azure - Windows Server 2025
Webserver software & version (if known)
PHP Version8.3.36
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

Packages support

Packages support

2026-12-03 13:35

reporter   ~88057

Packages support

Packages support

2026-12-03 14:48

reporter   ~88058

2026-12-02_15-35-42.png (13,666 bytes)   
2026-12-02_15-35-42.png (13,666 bytes)   
2026-12-02_15-35-33.png (33,435 bytes)   
2026-12-02_15-35-33.png (33,435 bytes)   
c_schmitz

c_schmitz

2026-12-03 15:58

administrator   ~88061

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41517

Related Changesets

LimeSurvey: master 2c7d9ae7

2026-12-03 15:56

c_schmitz


Details Diff
Fixed issue 20927: Installation and database update were refused on Azure SQL Database because it was seen as SQL Server 2014
Dev Azure SQL Database/Managed Instance always report engine version 12.x; DbVersionHelper::getConnectionRequirement() now reads SERVERPROPERTY('EngineEdition') on MSSQL and skips the version comparison for editions 5 and 8
Affected Issues
20927
mod - application/helpers/DbVersionHelper.php Diff File
mod - application/helpers/update/updatedb_helper.php Diff File
mod - application/models/InstallerConfigForm.php Diff File
add - tests/unit/helpers/DbVersionHelperTest.php Diff File

Issue History

Date Modified Username Field Change
2026-12-03 13:33 Packages support New Issue
2026-12-03 13:33 Packages support File Added: 2026-12-02_15-35-42.snagx
2026-12-03 13:33 Packages support File Added: 2026-12-02_15-35-33.snagx
2026-12-03 13:35 Packages support Note Added: 88057
2026-12-03 13:35 Packages support File Added: 2026-12-02_15-35-33.png
2026-12-03 13:35 guest Bug heat 0 => 2
2026-12-03 13:35 Packages support File Deleted: 2026-12-02_15-35-42.snagx
2026-12-03 13:35 Packages support File Deleted: 2026-12-02_15-35-33.snagx
2026-12-03 13:36 Packages support File Deleted: 2026-12-02_15-35-33.png
2026-12-03 14:48 Packages support Note Added: 88058
2026-12-03 14:48 Packages support File Added: 2026-12-02_15-35-42.png
2026-12-03 14:48 Packages support File Added: 2026-12-02_15-35-33.png
2026-12-03 15:58 c_schmitz Changeset attached => LimeSurvey master 2c7d9ae7
2026-12-03 15:58 c_schmitz Note Added: 88061
2026-12-03 15:58 c_schmitz Assigned To => c_schmitz
2026-12-03 15:58 c_schmitz Status new => resolved
2026-12-03 15:58 c_schmitz Resolution open => fixed
2026-12-03 15:58 c_schmitz Bug heat 2 => 4