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

elastic version #9

Closed
mrwunderbar666 opened this issue Jun 16, 2023 · 2 comments
Closed

elastic version #9

mrwunderbar666 opened this issue Jun 16, 2023 · 2 comments

Comments

@mrwunderbar666
Copy link

Amcat4 documentation suggests using elastic8, but the docker compose files here still use elastic7.

This also makes the "volumes" parameter confusing, because the directory mapping differs between the versions (see: https://stackoverflow.com/questions/65668188/elastic-search-accessdeniedexception-usr-share-elasticsearch-data-nodes-0-a)

elastic8:

  - /path/to/elastic-data:/usr/share/elasticsearch/data # [local path]:[container path]

elastic7:

  - /path/to/elastic-data:/var/lib/elasticsearch/data # [local path]:[container path]
@JBGruber
Copy link
Member

Hi, thanks for bringing this up. We talked about updating to elasticsearch 8 some time ago and weren't sure if everything is compatible and whether there were any licensing issues introduced with the new version. elasticsearch 7 is also still maintained, so we opted to support both and recommend elasticsearch 7. But since version 8 has proven to be a good and stable replacement (and the license is apparently the same for later versions of elasticsearch 7), sticking to the old version makes less sense now. So I just changed the default.

The path issue you describe makes less sense to me. We've always used /usr/share/elasticsearch/data as far as I can tell.

@JBGruber
Copy link
Member

I assume this is resolved.

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

No branches or pull requests

2 participants