[Support] FoxxMD - elasticsearch


Recommended Posts

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...

Link to comment
  • 4 months later...

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.

Link to comment
  • 4 weeks later...

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:

Capture_decran_2024-01-25_a_13_38_38.png.69da7c100ee912aeefc3946cc4003655.png

 

The short log from elasticsearch docker related to wikijs is joined

 

And the error in WikiJS docker :

Capture_decran_2024-01-25_a_13_33_47.png.33ec6aa1e75a6adb2bd1812435b5a9f4.png

 

If anyone have an idea, thank you ! :)

DockerLog.txt

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.