Misplaced codec footer keystore

org.apache.lucene.index.CorruptIndexException: misplaced codec footer (file extended?): remaining=17, expected=16, fp=183 (resource=BufferedChecksumIndexInput(SimpleFSIndexInput(path="/etc/elasticsearch/elasticsearch.keystore")))
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.apache.lucene.codecs.CodecUtil.validateFooter(CodecUtil.java:518)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:414)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.common.settings.KeyStoreWrapper.load(KeyStoreWrapper.java:283)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.bootstrap.Bootstrap.loadSecureSettings(Bootstrap.java:240)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.cli.Command.main(Command.java:90)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
Sep  7 06:29:54 cloud systemd-entrypoint[1289]: #011at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Sep  7 06:29:54 cloud systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Sep  7 06:29:54 cloud systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Sep  7 06:29:54 cloud systemd[1]: Failed to start Elasticsearch.

Welcome to our community! :smiley:

Are you asking for assistance here, or posting some logs?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.