Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19705

Bitbucket shows misleading warning about using a deprecated Microsoft SQL Server when you are using Azure SQL as the Database Server

XMLWordPrintable

      Problem

      When using an unsupported Azure SQL Database with the Bitbucket Data Center, Bitbucket does not detect the Azure SQL as an unsupported database. Instead, it identifies it as an MSSQL Server because the Azure SQL backend engine is reported as Microsoft SQL Server 12.0.5688.

      You observe the following alert: Support for Microsoft SQL Server 12.0.5688 has been deprecated and will be removed in an upcoming release. However, the backend DB is Azure SQL DB and not Microsoft SQL Server 2014.

      More info on the Supported Databases can be found here Supported platforms

      This is reproducible on Data Center: (yes)
       

      Steps to Reproduce

      • Install Bitbucket with Azure SQL as the backend database. The following WARNING is observed on Bitbucket Data Center:

      Expected Results

      The WARNING should indicate that Microsoft Azure SQL is not a supported database platform.

      Actual Results

      • This misleading WARNING is displayed in the Bitbucket UI when an Azure SQL database is connected to a Bitbucket version where Microsoft SQL Server 2014 is deprecated. (For Example on Bitbucket 8.19.x LTS)
      • In Bitbucket versions where Microsoft SQL Server 2014 is not supported at all, if Bitbucket is started with Azure SQL as the backend database, it won’t start and will throw a proper exception.
        • This is because Bitbucket identifies the Azure SQL server as Microsoft SQL Server 2014, which is not a supported database on that specific version. For example, this issue occurs on version 9.x of Bitbucket.

      Workaround

      There is no workaround for this behavior. Since Azure SQL is not a supported platform, you should migrate to a supported Database.

      There is a feature request to have Azure SQL Server as a supported databases for Bitbucket Data Center

      • BSERV-5054As an admin, I want Bitbucket Server to support SQL Azure as a backend database.

       

        1. image-2024-10-25-09-26-31-226.png
          image-2024-10-25-09-26-31-226.png
          165 kB
        2. screenshot-1.png
          screenshot-1.png
          57 kB
        3. screenshot-2.png
          screenshot-2.png
          57 kB
        4. screenshot-3.png
          screenshot-3.png
          63 kB

              e74118b4e28d David Jansons
              bbd1f28baabb Oscar Blancas (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: