irishjd Posted August 22, 2023 Share Posted August 22, 2023 Even after adding the labels and changing the perms, v8 still won't run: {"@timestamp":"2023-08-22T13:50:46.792Z", "log.level":"ERROR", "message":"fatal exception while booting Elasticsearch", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.bootstrap.Elasticsearch","elasticsearch.node.name":"c02e0ef699aa","elasticsearch.cluster.name":"docker-cluster","error.type":"java.lang.IllegalStateException","error.message":"Cannot start this node because it holds metadata for indices created with version [6.6.2] with which this node of version [8.8.1] is incompatible. Revert this node to version [7.17.10] and delete any indices created in versions earlier than [7.0.0] before upgrading to version [8.8.1]. If all such indices have already been deleted, revert this node to version [7.17.10] and wait for it to join the cluster to clean up any older indices from its metadata.","error.stack_trace":"java.lang.IllegalStateException: Cannot start this node because it holds metadata for indices created with version [6.6.2] with which this node of version [8.8.1] is incompatible. Revert this node to version [7.17.10] and delete any indices created in versions earlier than [7.0.0] before upgrading to version [8.8.1]. If all such indices have already been deleted, revert this node to version [7.17.10] and wait for it to join the cluster to clean up any older indices from its metadata.\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment.checkForIndexCompatibility(NodeEnvironment.java:537)\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment.upgradeLegacyNodeFolders(NodeEnvironment.java:414)\n\tat [email protected]/org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:307)\n\tat [email protected]/org.elasticsearch.node.Node.<init>(Node.java:483)\n\tat [email protected]/org.elasticsearch.node.Node.<init>(Node.java:327)\n\tat [email protected]/org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:216)\n\tat [email protected]/org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:216)\n\tat [email protected]/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67)\n"} V7 works fine... Quote Link to comment
lucahammer Posted August 25, 2023 Share Posted August 25, 2023 @irishjd Do you need the old data in elasticsearch or will it be re-populated? The easiest option would be to delete all files in the current elasticsearch data folder. The log says that there are indices from v7 and they aren't compatible with v8. Quote Link to comment
irishjd Posted August 28, 2023 Share Posted August 28, 2023 Ah Ha... somehow I completely missed that. Let me uninstall/reinstall as there is no persistent data that I need to keep. Quote Link to comment
irishjd Posted August 28, 2023 Share Posted August 28, 2023 @lucahammer thanks for the catch in the error log. I stopped the container, deleted the data from appdata, and restart with v8. All is working fine now. Quote Link to comment
bobalot Posted January 3 Share Posted January 3 Any updated instructions for this? I can't get it to work. I have tried another variation of the ElasticSearch docker and just can of get this to work. I'm wondering if there any additional steps required or perhaps some parts of the current instructions are redundant. Quote Link to comment
AinzOolGown Posted January 25 Share Posted January 25 Hi ! I, too, can't run this docker properly Tried several different versions (but in 7.** flavor because wikijs only accept 6.* or 7.*) - userscript is in place and running Here's the conf: The short log from elasticsearch docker related to wikijs is joined And the error in WikiJS docker : If anyone have an idea, thank you ! DockerLog.txt Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.