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] Application Not Found in v4.10.0-beta1 #427

Closed
c-bordon opened this issue Nov 22, 2024 · 3 comments · Fixed by #428 or wazuh/wazuh-dashboard-plugins#7174
Closed

[BUG] Application Not Found in v4.10.0-beta1 #427

c-bordon opened this issue Nov 22, 2024 · 3 comments · Fixed by #428 or wazuh/wazuh-dashboard-plugins#7174
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@c-bordon
Copy link
Member

Describe the bug

After logging into the dashboard the message Application Not Found appears

Screenshot_20241122_194803

To Reproduce
Steps to reproduce the behavior:

  1. Enter the application by browser and log in
  2. After logging in automatically the error message appears

This bug was detected when deploying the demo environment on an Amazon Linux 2 host, and could also be reproduced locally with installation assistant on an Ubuntu 22.04 host.

Demo

https://demo-410-b1-wazuh-90becf8f575b7ff7.elb.us-west-1.amazonaws.com/app/wz-home

Wazuh installation assistant

root@ubuntu-jammy:~# bash wazuh-install.sh -a -d pre-release
22/11/2024 22:58:14 INFO: Starting Wazuh installation assistant. Wazuh version: 4.10.0
22/11/2024 22:58:14 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/11/2024 22:58:19 INFO: Verifying that your system meets the recommended minimum hardware requirements.
22/11/2024 22:58:19 INFO: Wazuh web interface port will be 443.
22/11/2024 22:58:28 INFO: Wazuh development repository added.
22/11/2024 22:58:28 INFO: --- Configuration files ---
22/11/2024 22:58:28 INFO: Generating configuration files.
22/11/2024 22:58:28 INFO: Generating the root certificate.
22/11/2024 22:58:29 INFO: Generating Admin certificates.
22/11/2024 22:58:29 INFO: Generating Wazuh indexer certificates.
22/11/2024 22:58:29 INFO: Generating Filebeat certificates.
22/11/2024 22:58:29 INFO: Generating Wazuh dashboard certificates.
22/11/2024 22:58:30 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
22/11/2024 22:58:30 INFO: --- Wazuh indexer ---
22/11/2024 22:58:30 INFO: Starting Wazuh indexer installation.
22/11/2024 23:01:06 INFO: Wazuh indexer installation finished.
22/11/2024 23:01:06 INFO: Wazuh indexer post-install configuration finished.
22/11/2024 23:01:06 INFO: Starting service wazuh-indexer.
22/11/2024 23:01:15 INFO: wazuh-indexer service started.
22/11/2024 23:01:15 INFO: Initializing Wazuh indexer cluster security settings.
22/11/2024 23:01:18 INFO: Wazuh indexer cluster security configuration initialized.
22/11/2024 23:01:18 INFO: Wazuh indexer cluster initialized.
22/11/2024 23:01:18 INFO: --- Wazuh server ---
22/11/2024 23:01:18 INFO: Starting the Wazuh manager installation.
22/11/2024 23:02:54 INFO: Wazuh manager installation finished.
22/11/2024 23:02:54 INFO: Wazuh manager vulnerability detection configuration finished.
22/11/2024 23:02:54 INFO: Starting service wazuh-manager.
22/11/2024 23:03:10 INFO: wazuh-manager service started.
22/11/2024 23:03:10 INFO: Starting Filebeat installation.
22/11/2024 23:03:38 INFO: Filebeat installation finished.
22/11/2024 23:03:42 INFO: Filebeat post-install configuration finished.
22/11/2024 23:03:42 INFO: Starting service filebeat.
22/11/2024 23:03:43 INFO: filebeat service started.
22/11/2024 23:03:43 INFO: --- Wazuh dashboard ---
22/11/2024 23:03:43 INFO: Starting Wazuh dashboard installation.
22/11/2024 23:05:32 INFO: Wazuh dashboard installation finished.
22/11/2024 23:05:32 INFO: Wazuh dashboard post-install configuration finished.
22/11/2024 23:05:32 INFO: Starting service wazuh-dashboard.
22/11/2024 23:05:33 INFO: wazuh-dashboard service started.
22/11/2024 23:05:34 INFO: Updating the internal users.
22/11/2024 23:05:38 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
22/11/2024 23:05:46 INFO: The filebeat.yml file has been updated to use the Filebeat Keystore username and password.
22/11/2024 23:07:12 INFO: Initializing Wazuh dashboard web application.
22/11/2024 23:07:14 INFO: Wazuh dashboard web application initialized.
22/11/2024 23:07:14 INFO: --- Summary ---
22/11/2024 23:07:14 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: OBGlviRJKfOydXZa?PK4s0c4+uSqTC5l
22/11/2024 23:07:14 INFO: Installation finished.

Screenshot_20241122_200912

@jnasselle
Copy link
Member

Reproduced with the OVA too

@wazuhci wazuhci moved this to Triage in Release 4.10.0 Nov 23, 2024
@Desvelao
Copy link
Member

Desvelao commented Nov 25, 2024

I installed the Wazuh stack 4.10.0-beta1 and I see the Wazuh dashboard has missing the wazuhCore and wazuhChekcUpdates plugins:

Logs:

Nov 25 08:20:50 ubuntu-2204 opensearch-dashboards[59436]: {"type":"log","@timestamp":"2024-11-25T08:20:50Z","tags":["info","plugins-service"],"pid":59436,"message":"Plugin \"wazuh\" has been disabled since the following direct or transitive dependencies are missing or disabled: [wazuhCheckUpdates, wazuhCore]"}

plugins directory:

root@ubuntu-2204:/home/vagrant# ls /usr/share/wazuh-dashboard/plugins/
alertingDashboards  customImportMapDashboards  ganttChartDashboards  indexManagementDashboards  notificationsDashboards  reportsDashboards  securityDashboards  wazuh

The wazuh plugin is included and has as dependency to the wazuhCore and wazuhCheckUpdates that are missing. The wazuh plugin can not start without the dependencies and as a result this does not register the wz-home application (and the rest of them).

@asteriscos asteriscos self-assigned this Nov 25, 2024
@wazuhci wazuhci moved this from Triage to In progress in Release 4.10.0 Nov 25, 2024
@Desvelao
Copy link
Member

The problem seems to be related with a change in the usage of some GitHub actions that were replaced in recent commits to use v4 that has a breaking change affecting to the build process of the Wazuh dashboard.

@asteriscos asteriscos linked a pull request Nov 25, 2024 that will close this issue
7 tasks
@wazuhci wazuhci moved this from In progress to In final review in Release 4.10.0 Nov 25, 2024
@asteriscos asteriscos linked a pull request Nov 25, 2024 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In final review to Done in Release 4.10.0 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
Status: Done
4 participants