Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

v5.5.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@russcam russcam released this 12 Sep 06:55
· 197 commits to master since this release

IMPORTANT: 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 and ES_HOME environment variables are unset
  • plugins installed as part of the upgrade are uninstalled

To fix,

  1. Set ES_CONFIG environment variable to the location of the config directory (default is C:\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
  2. Set ES_HOME environment variable to the location of the installation directory (default is C:\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
  3. 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 for ES_HOME and ES_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
  4. 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