Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning on ELK version change and volume data index mismatch between Lucene and volume #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mburaksayici
Copy link

@mburaksayici mburaksayici commented Aug 28, 2023

Update readme for elasticsearch volume warning during version change in .env ELK_VERSION

(Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.)

What does this implement/fix? Explain your changes.

Spent too much time experimenting, I've realised that errors caused by ELK version change. When user runs ELK, volume for elastic becomes already created with 8.8.0. Then when you try to switch <8.6.0, required Lucene version for indexing becomes different.

Does this close any currently open issues?

No

Any relevant logs, error output, etc?

java.lang.IllegalArgumentException: Could not load codec 'Lucene95'. Did you forget to add lucene-backward-codecs.jar?

Any other comments?

It's not confusing, however volume attached to docker is not on local, so it took time for me to realise that. I'm newbie to ELK, so I didn't know Lucene, indexing, elastic stores in docker volume not on local etc.

Where has this been tested?

Ubuntu 20.04, on a typical Amazon EC2 server

Update readme for elasticsearch volume warning during version change in .env ELK_VERSION
@mburaksayici
Copy link
Author

mburaksayici commented Aug 31, 2023

And may be during the prune inside Makefile, deleting the elastic volume can be an option

@sherifabdlnaby
Copy link
Owner

@mburaksayici Can we move this to the notes section? I believe it should be reworded that Downgrades are not always
supported, and if you don't care about the data you can remove the volumes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants