windows-installers icon indicating copy to clipboard operation
windows-installers copied to clipboard

[7.10.2] Multiple entries in path.data results in an error in the installation msi while upgrading.

Open Melantrix opened this issue 4 years ago • 0 comments

Environment

We are running three windows hosts with each two disks on which the data is saved, all three are running elasticsearch 7.9.3. The two disks are configured in the elasticsearch.yml with:

path.data:

  • D:\Elasticsearch\data
  • E:\Elasticsearch\data

Expected Behaviour

When starting the installtion, the first scren should show which data, log, config directories are currently configured, so you can confirm those settings and continue the installation

Actual Behaviour

When there are multiple data directories configured, the installation gives an error: "The elasticsearch.yml file we found in ES_PATH_CONF appears to be invalid and prevented seeding current values"

Steps to reproduce the behaviour

Upgrade from 7.9.3 with MSI.

  1. have more then one path.data entries, like above.
  2. start msi
  3. have it fail
  4. remove the path.data entries so you have only one.
  5. installation starts.

installation.log is not usefull, it literally only says: SFXCA: Binding to CLR version v4.0.30319 SFXCA: Initialization canceled by user. === Logging started: 2/3/2021 13:02:14 === Action 13:02:14: INSTALL. === Logging stopped: 2/3/2021 13:02:14 === MSI (c) (10:E4) [13:02:14:514]: Product: Elasticsearch 7.10.2 -- Installation failed.

Melantrix avatar Feb 03 '21 12:02 Melantrix