v5.5.3
Pre-releaseIMPORTANT: Upgrading from 5.5.0, 5.5.1 or 5.5.2
If you're upgrading from 5.5.0, 5.5.1 or 5.5.2, during the uninstallation of the older version that happens after installing the new version
- the service is stopped
- the
ES_CONFIG
andES_HOME
environment variables are unset - plugins installed as part of the upgrade are uninstalled
To fix,
-
Set
ES_CONFIG
environment variable to the location of the config directory (default isC:\ProgramData\Elastic\Elasticsearch\config
). For example,with PowerShell
[Environment]::SetEnvironmentVariable("ES_CONFIG", "C:\ProgramData\Elastic\Elasticsearch\config", "Machine")
or with cmd.exe
setx ES_CONFIG "C:\ProgramData\Elastic\Elasticsearch\config" /m
-
Set
ES_HOME
environment variable to the location of the installation directory (default isC:\Program Files\Elastic\Elasticsearch
). For example,with PowerShell
[Environment]::SetEnvironmentVariable("ES_HOME", "C:\Program Files\Elastic\Elasticsearch", "Machine")
or with cmd.exe
setx ES_HOME "C:\Program Files\Elastic\Elasticsearch" /m
-
Reinstall plugins that you require using the following for each plugin, within the installation directory (default is
C:\Program Files\Elastic\Elasticsearch
). You may need to do open a new terminal, so that the new machine environment variables forES_HOME
andES_CONFIG
are picked up.with PowerShell
$env:CONF_DIR = [Environment]::GetEnvironmentVariable("ES_CONFIG", "Machine") bin\elasticsearch-plugin.bat install plugin_name --batch
or with cmd.exe
setx CONF_DIR "%ES_CONFIG%" bin\elasticsearch-plugin.bat install plugin_name --batch
-
If you specified to install as a Windows service and to start after installation/upgrade, you can now start the service. For example,
with PowerShell
Start-Service Elasticsearch
or with cmd.exe
sc start Elasticsearch
Bug Fixes
- #88 Failed upgrade could result in removal of data, config and logs directories
- #94 Hide sensitive properties in log file
- #87 Include prelease information in title bar
- #96 Better progress messages
Misc
- #81 Update MahApps.Metro to stable version