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

Elasticsearch service fails to create in Windows when manually creating after an archive install

    XMLWordPrintable

Details

    Description

      After installing Bitbucket Server from an archive file, the services are manually created using the "service.bat" files. The Bitbucket service installs successfully, but the Elasticsearch service fails to install. The script completes and says the install was successful, however no service exists, and attempting to start the service results in "The service name is invalid".

      While running service.bat, the error "The system cannot find the file specified" is returned, though the script continues and completes.

      The following output is returned from service.bat:

      C:\atlassian-bitbucket-4.6.2\elasticsearch\bin>service.bat install BITBUCKET_SEARCH
      
      Installing service      :  "BITBUCKET_SEARCH"
      Using JAVA_HOME (64-bit):  "C:\Progra~1\Java\jdk1.7.0_75"
      The system cannot find the file specified.
      The service 'BITBUCKET_SEARCH' has been installed.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smaruvada Shashank Maruvada
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: