Skip to content

Commit 6284c8e

Browse files
committed
update to upstream release 6.3.0 (OSS flavor)
1 parent d988416 commit 6284c8e

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
X64?= false
22

3-
ES_FILE_VERSION=6.2.4
3+
ES_FILE_VERSION=6.3.0
44
ES_VERSION=$(ES_FILE_VERSION)
5-
ES_SHA512=f9e261f1cd394342b78d15fa2b54124bf679642fd3fcf7c976b8c37afa340d41085cf00301a7624a54164e9478ae16bf9e1ae62997a6725688b38e0bd2586e30
5+
ES_SHA512=f28287021694177bed6ee5a59c4d75a010a3ce3521d0f91bf13971e3f2565d496ee9163a46a769430ecd7716404d781466e2b64101770b956fb2d10424210c45
66
ES_NAME=elasticsearch-$(ES_VERSION)
77
ES_HOME=vendor/$(ES_NAME)
88
ES_LIB=$(ES_HOME)/lib
@@ -83,7 +83,7 @@ $(ES_SERVICE_EXE): $(COMMONS_DAEMON_PRUNSRV) $(SETEXECUTABLEICON_EXE)
8383
mv $(ES_SERVICE_EXE).tmp $(ES_SERVICE_EXE)
8484

8585
$(ES_JAR):
86-
wget -qO $(ES_HOME).zip https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$(ES_VERSION).zip
86+
wget -qO $(ES_HOME).zip https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-$(ES_VERSION).zip
8787
[ `openssl sha512 $(ES_HOME).zip | awk '{print $$2}'` == $(ES_SHA512) ]
8888
rm -rf vendor-tmp && mkdir vendor-tmp
8989
unzip -q -d vendor-tmp $(ES_HOME).zip

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Elasticsearch Setup
22

3-
This is a setup application for installing [Elasticsearch](https://www.elastic.co/products/elasticsearch)
3+
This is a setup application for installing [Elasticsearch (OSS flavor)](https://www.elastic.co/products/elasticsearch)
44
on a Windows machine.
55

66
The setup will:
@@ -17,6 +17,7 @@ The setup will:
1717

1818
* grant the `elasticsearch` account:
1919
* read permissions to the `config` directory.
20+
* full permissions to the `config/elasticsearch.keystore` file.
2021
* full permissions to the `data` and `logs` directories.
2122

2223
* create a bunch of Start Menu entries (link to home page, guide, etc).

Vagrantfile-provision.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Start-Process `
217217
# install plugins.
218218
function Install-ElasticsearchPlugin($name) {
219219
Write-Output "Installing the $name Elasticsearch plugin..."
220-
cmd /C "call ""C:\Program Files\Elasticsearch\bin\elasticsearch-plugin.bat"" install --silent $name"
220+
cmd /C "call ""C:\Program Files\Elasticsearch\bin\elasticsearch-plugin.bat"" install --batch $name"
221221
if ($LASTEXITCODE) {
222222
throw "failed to install Elasticsearch plugin $name with exit code $LASTEXITCODE"
223223
}

elasticsearch.iss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ Name: "{group}\Uninstall Elasticsearch"; Filename: "{uninstallexe}"
9090
Filename: "{tmp}\SetACL.exe"; Parameters: "-on config -ot file -actn setprot -op ""dacl:p_nc;sacl:p_nc"" -actn ace -ace ""n:Administrators;p:full"" -ace ""n:{#ServiceAccountName};p:read"""; WorkingDir: "{app}"; Flags: runhidden;
9191
Filename: "{tmp}\SetACL.exe"; Parameters: "-on data -ot file -actn setprot -op ""dacl:p_nc;sacl:p_nc"" -actn ace -ace ""n:Administrators;p:full"" -ace ""n:{#ServiceAccountName};p:full"""; WorkingDir: "{app}"; Flags: runhidden;
9292
Filename: "{tmp}\SetACL.exe"; Parameters: "-on logs -ot file -actn setprot -op ""dacl:p_nc;sacl:p_nc"" -actn ace -ace ""n:Administrators;p:full"" -ace ""n:{#ServiceAccountName};p:full"""; WorkingDir: "{app}"; Flags: runhidden;
93+
Filename: "{app}\bin\elasticsearch-keystore.bat"; Parameters: "create"; WorkingDir: "{app}"; Flags: runhidden shellexec waituntilterminated;
94+
Filename: "{tmp}\SetACL.exe"; Parameters: "-on config/elasticsearch.keystore -ot file -actn setprot -op ""dacl:p_nc;sacl:p_nc"" -actn ace -ace ""n:Administrators;p:full"" -ace ""n:{#ServiceAccountName};p:full"""; WorkingDir: "{app}"; Flags: runhidden;
9395
Filename: "{app}\lib\elasticsearchw-update.cmd"; WorkingDir: "{app}"; Flags: runhidden shellexec waituntilterminated;
9496

9597
[UninstallRun]

elasticsearchw-update.cmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ if exist "%ES_HOME%\jre\bin\client\jvm.dll" set JVM=%ES_HOME%\jre\bin\client\jvm
8787
--StartMode jvm ^
8888
--StartClass org.elasticsearch.bootstrap.Elasticsearch ^
8989
--StartMethod main ^
90+
--StartParams --quiet ^
9091
--StopMode jvm ^
9192
--StopClass org.elasticsearch.bootstrap.Elasticsearch ^
9293
--StopMethod close ^
@@ -95,7 +96,9 @@ if exist "%ES_HOME%\jre\bin\client\jvm.dll" set JVM=%ES_HOME%\jre\bin\client\jvm
9596
--JvmMx %JVM_MX% ^
9697
%JVM_OPTIONS: = ++JvmOptions % ^
9798
++JvmOptions "-Des.path.home=%ES_HOME%" ^
98-
++JvmOptions "-Des.path.conf=%ES_HOME%\config"
99+
++JvmOptions "-Des.path.conf=%ES_HOME%\config" ^
100+
++JvmOptions "-Des.distribution.flavor=oss" ^
101+
++JvmOptions "-Des.distribution.type=zip"
99102

100103
rem These settings are saved in the Windows Registry at:
101104
rem

0 commit comments

Comments
 (0)