windows-installers
windows-installers copied to clipboard
[7.10.2] Multiple entries in path.data results in an error in the installation msi while upgrading.
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.
- have more then one path.data entries, like above.
- start msi
- have it fail
- remove the path.data entries so you have only one.
- 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.