but i haven’t changed ES version (6.8.11 since before Graylog 3.3 premiere i believe), just upgraded Graylog to 4.0.1 and this happened, there is no earlier ES version for graylog to store at boot time
BTW: it’s a docker deployment, all official images
I just changed Graylog version and run docker-compose up -d as always, haven’t noticed anything about es version being 5.0.0 in any of config files i bind-mounted
2020-11-28 17:17:24,781 ERROR: org.graylog2.bootstrap.CmdLineTool - Invalid configuration
com.github.joschi.jadconfig.ValidationException: Invalid Elasticsearch version specified in elasticsearch_version: 5.0.0. Supported versions: [6.0.0, 7.0.0]
at org.graylog2.configuration.validators.ElasticsearchVersionValidator.validate(ElasticsearchVersionValidator.java:35) ~[graylog.jar:?]
at org.graylog2.configuration.validators.ElasticsearchVersionValidator.validate(ElasticsearchVersionValidator.java:26) ~[graylog.jar:?]
at com.github.joschi.jadconfig.JadConfig.validateParameter(JadConfig.java:215) ~[graylog.jar:?]
at com.github.joschi.jadconfig.JadConfig.processClassFields(JadConfig.java:148) ~[graylog.jar:?]
at com.github.joschi.jadconfig.JadConfig.process(JadConfig.java:99) ~[graylog.jar:?]
at org.graylog2.bootstrap.CmdLineTool.processConfiguration(CmdLineTool.java:353) [graylog.jar:?]
at org.graylog2.bootstrap.CmdLineTool.readConfiguration(CmdLineTool.java:346) [graylog.jar:?]
at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:180) [graylog.jar:?]
at org.graylog2.bootstrap.Main.main(Main.java:50) [graylog.jar:?]
like ES version is passed as command line parameter?
i don’t know why but I found elasticsearch_version = 5 in graylog.conf i bind-mounted, everything is working after i commented that line, maybe i was looking in a wrong config file, sorry for making a fuss, and thanks for your time and effort:)