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

Elasticsearch fails to upgrade when upgrading to Bitbucket v7.1.0 on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.1.1
    • 7.1.0
    • Search
    • None

      Issue Summary

      Elasticsearch fails to install when upgrading Bitbucket to latest version 7.1.0 on Windows Operating system

      Steps to Reproduce

      1. Upgrade the existing Bitbucket instance to v7.1.0
      2. Elasticsearch service fails to upgrade to 7.5.2

      Expected Results

      With Bitbucket, Elasticsearch service is expected to be upgraded to latest version 7.5.2

      Actual Results

      Elasticsearch service fails to upgrade to 7.5.2

      The below exception is thrown in the AtlassianBitbucketElasticsearch.log file:

      [2020-03-30 10:58:49] [info]  [ 7124] Service AtlassianBitbucketElasticsearch name Atlassian Bitbucket Elasticsearch 7.5.2 (AtlassianBitbucketElasticsearch)
      [2020-03-30 10:58:49] [error] [ 7124] The specified service already exists.
      [2020-03-30 10:58:49] [error] [ 7124] Failed installing 'AtlassianBitbucketElasticsearch' service
      [2020-03-30 10:58:49] [error] [ 7124] The specified service already exists.
      [2020-03-30 10:58:49] [error] [ 7124] Commons Daemon procrun failed with exit value: 8 (Failed to install service)
      [2020-03-30 10:58:49] [error] [ 7124] The specified service already exists.
      

      Workaround

      Currently, the workaround is to delete existing elasticsearch service and upgrade again.

            wkritzinger Wolfgang Kritzinger
            tpothuraju@atlassian.com Tejaswini P
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: