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

[BUG] - Your path.repo setting is not setup correctly even thou when it's set #83

Closed
fm4tt0s opened this issue Dec 20, 2021 · 4 comments
Assignees
Labels

Comments

@fm4tt0s
Copy link

fm4tt0s commented Dec 20, 2021

Description
getting 'Your path.repo setting is not setup correctly.' even though value is set in elasticsearch.yml

Steps To Reproduce
List the steps to reproduce your problem:

  1. Open elasticvue
  2. Click on Snapshots or Repositories
  3. Get Your path.repo setting is not setup correctly.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please include the following information):

  • Elasticsearch version: 2.3
  • Operating system: RHEL/running ES under docker
  • Browser + version: Chrome Version 96.0.4664.110
  • Elasticvue version: 0.36.4
  • How are you running elasticvue? (docker, browser extension, web app): browser extension

Additional context

I'm pretty aware that ES version is quite old, but it's a huge corp appl and there's a lot too coordinate to upgrade it, and the appl is actually being decoupled into minor pieces and it's probably going to be decomm by 3q22, until then...

cat elasticsearch.yml
network.host: 0.0.0.0
path.repo: /snapshots
@fm4tt0s fm4tt0s changed the title [BUG] - SHORT DESCRIPTION OF THE BUG [BUG] - Your path.repo setting is not setup correctly even thou when it's set Dec 21, 2021
@cars10
Copy link
Owner

cars10 commented Dec 23, 2021

Hi, thanks for reporting this issue. I will try to reproduce it, but i cannot promise a fix. Elasticvue aims to support the two latest major versions of elasticsearch and 2.3 is sadly not one these. But i will see what i can do :)

@cars10
Copy link
Owner

cars10 commented Dec 27, 2021

Hey @fm4tt0s , i can reproduce this issue. Elasticvue uses the _cluster/settings endpoint to query the path.repo setting, sadly elasticsearch 2.x does not include this setting in the response. As far as i can tell there is no way for me to check if the path.repo setting is setup correctly on older elasticsearch versions.

But i will adjust the warning to make it less confusing for users that encounter this issue.

@fm4tt0s
Copy link
Author

fm4tt0s commented Dec 28, 2021

much appreciated @cars10

@stephanediondev
Copy link

Hi @cars10

Maybe you can check in node settings with request to _nodes or directly with master node if you have it _nodes/xxx

In this response you have foreach node an array with settings

You can check the path key if repo value is defined

image

@cars10 cars10 added bug and removed unconfirmed labels Dec 31, 2021
@cars10 cars10 closed this as completed in cd3951d Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants