Currently testing to update elastic from 8.1.3 to 8.2.2, but when i tried to deploy with the latest version I'm getting this error.
Also getting the same error with version 8.2.0
I'm using the same cofiguration from 8.1.3, the only change is the docker image now is pointing to Elasticsearch:8.2.x
Exception in thread "main" org.elasticsearch.ElasticsearchParseException: null-valued setting found for key [path.repo] found at line number [19], column number [8]
at org.elasticsearch.common.settings.Settings.validateValue(Settings.java:767)
at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:743)
at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:724)
at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:687)
at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1189)
at org.elasticsearch.node.InternalSettingsPreparer.loadConfigWithSubstitutions(InternalSettingsPreparer.java:140)
at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:54)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:86)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:81)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:95)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
at org.elasticsearch.cli.Command.main(Command.java:77)
at org.elasticsearch.cli.keystore.KeyStoreCli.main(KeyStoreCli.java:33)
I remove the path.repo from the values.yaml and then this start happening.
This errors are only happening in elastic 8.2.x
Exception in thread "main" org.elasticsearch.common.settings.SettingsException: Failed to load settings from [elasticsearch.yml]
at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1193)
at org.elasticsearch.node.InternalSettingsPreparer.loadConfigWithSubstitutions(InternalSettingsPreparer.java:140)
at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:54)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:86)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:81)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:95)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
at org.elasticsearch.cli.Command.main(Command.java:77)
at org.elasticsearch.cli.keystore.KeyStoreCli.main(KeyStoreCli.java:33)
Caused by: org.elasticsearch.xcontent.XContentParseException: [29:17] while scanning an alias
in 'reader', line 29, column 19:
allow-origin: *
^
unexpected character found
Also I guess is related to the update elastic apply to the:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.