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

wazuh-dashboard not starting after upgrade. "this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open" #897

Open
troublestarter opened this issue Jan 14, 2024 · 4 comments

Comments

@troublestarter
Copy link

Hi Team

I followed the instructions to upgrade wazuh. I'm on Ubuntu 22.04, and i have an issue to start wazuh-dashboard. I upgrade from wazuh 4.5 to 4.7

image

I found this : #222
But can't have the same result (maybe because i was already working with wazuh-indexer and not opensearch or elasticsearch), for exemple :

image

Wazuh-indexer seems to work well :

image

Thanks you for your help

@dleicam
Copy link

dleicam commented Jan 16, 2024

The same happens to me, after an upgrade it gives the same error.

image

@troublestarter
Copy link
Author

@dleicam Have you succeed the upgrade ?

@dp466
Copy link

dp466 commented Jun 28, 2024

Ive got the same issue on a Docker deployment
my Wazuh dashboard container keep restarting in a loop

anyone found a solution ?

@troublestarter
Copy link
Author

I have resolved like this :

To remove older data you can make use of the API:

Get the list of indices:
curl -u elastic:Password -s -k -X GET https://:9200/_cat/indices?s=index
Remove older indices:
curl -u elastic:Password -s -k -X DELETE https://:9200/wazuh*YYYY.MM.DD
Where YYYY.MM.DD is the date of the data you need to remove.

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

3 participants