Wazuh dashboard server is not ready yet

269 views
Skip to first unread message

Daniele Berardi

unread,
Sep 6, 2024, 5:47:40 AM9/6/24
to Wazuh | Mailing List
Good Morning everyone,
Today I updagraded Wazuh from 4.8 to 4.9 and when I connect to dashboard, the results is that is not ready.

These are the logs:

Sep 06 11:34:34 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:34Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:36 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:36Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:39 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:39Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:41 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:41Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:44 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:44Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:46 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:46Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:49 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:49Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:51 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:51Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:54 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:54Z","tags":["error","opensearch","data"],"pid":9375,"me>
Sep 06 11:34:56 cryptank opensearch-dashboards[9375]: {"type":"log","@timestamp":"2024-09-06T09:34:56Z","tags":["error","opensearch","data"],"pid":9375,"me>

Who can help me?
Thanks

Stuti Gupta

unread,
Sep 6, 2024, 7:00:08 AM9/6/24
to Wazuh | Mailing List
Hi Daniele Berardi

To solve this issue I recommend the following steps:

First, check the Wazuh Dashboard certificates using this command:
ls -lrt /etc/wazuh-dashboard/certs/

Ensure that the path and file names match in:
/etc/wazuh-dashboard/opensearch_dashboards.yml

You need to update the password for the kibanaserver user, simply changing the <KIBANASERVER_PASSWORD> in the Wazuh Dashboard keystore with the old password might not work. Here's what to do:

Change the password.
If you use the tool in an all-in-one deployment, it automatically updates the passwords where necessary. If you use it in a distributed environment, depending on the user whose password you change, you may have to update the password on other components. See Changing the Passwords in a distributed environment for more details.  https://documentation.wazuh.com/current/user-manual/user-administration/password-management.html#passwords-distributed

To change the password, use this command:
/usr/share/wazuh-indexer/plugins/opensearch-security/tools/wazuh-passwords-tool.sh -u kibanaserver -p '<new_password>'
The password must have a length between 8 and 64 characters and contain at least one upper and lower case letter, a number and a symbol(.*+?-)

For distributed environments, update the password using the following command:
echo <kibanaserver>| /usr/share/wazuh-dashboard/bin/opensearch-dashboards-keystore --allow-root add -f --stdin opensearc

Let me know if this helps or if you need further assistance!

Refer to https://documentation.wazuh.com/current/user-manual/user-administration/password-management.html#password-management
The issue is already open here:  https://github.com/wazuh/wazuh/issues/25607

Hope this helps
Reply all
Reply to author
Forward
0 new messages