Skip to content

elasticsearch-service.bat that generates an error with install #26454

@MissMac

Description

@MissMac

Elasticsearch version (bin/elasticsearch --version): 5.5

Plugins installed: [] EMC SourceOne 7.2.5

JVM version (java -version): jre1.8.0_45
capture

OS version (uname -a if on a Unix-like system): Windows Server 2012R

Description of the problem including expected versus actual behavior:
Unable to install Elastic 5.5 using elasticsearch-service.bat
Steps to reproduce:

  1. Open CMD in Admin mode
  2. cd to "C:\Program Files (x86)\EMC SourceOne\EXPBA\bin\Elastic\elasticsearch\bin"
  3. run service.bat install or elasticsearch-service.bat install (depending on ES version)

Issue is that with 5.5 and elasticsearch-service.bat that generates an error due to spaces in the path.

Provide logs (if relevant): none available

WORKAROUND:

in CMD line, change to cd C:\PROGRA~2\EMCSOU~1\EXPBA\bin\Elastic\elasticsearch\bin\
Using 8.3 format folder names solves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scripts>bugTeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions