Skip to content

Conversation

@CarlosALgit
Copy link
Member

@CarlosALgit CarlosALgit commented Dec 19, 2025

Description

This PR focuses on changing the method of downloading and installing components from using repositories to using packages.

First, the functions related to configuring repositories and downloading using them have been removed.

Next, several functions have been included that are responsible for downloading the artifact_urls.yml file that will be generated for each release/stage and stored in the corresponding AWS S3 bucket. In addition, functions have been included that check that the file format is as expected and that the components exist within it.

Functions have been included to download the component packages, and the installation functions for each component have been modified to comply with version 5.0 and these new changes.

The dependencies of each component have been adjusted, updating them to those required for version 5.0 of each component.

In addition, the behavior of the -d option has been changed to support local mode, which assumes that the user has the artifact_urls.yml file located in the same path where the wizard is running.

A temporary directory called wazuh-install-packages has been included to store the downloaded packages, which is deleted when the installation is complete.

Tests

All In One installation:
root@ip-172-31-75-221:/home/ubuntu# sudo bash wazuh-install.sh -a -o -v -d local
19/12/2025 14:14:56 WARNING: Tag 'v5.0.0-' does not exist. Using the source branch related to the Wazuh version (5.0.0).
19/12/2025 14:14:57 WARNING: Branch '5.0.0' does not exist. Using the 5.0.0 branch.
19/12/2025 14:14:57 DEBUG: Checking root permissions.
19/12/2025 14:14:57 DEBUG: Checking sudo package.
19/12/2025 14:14:57 INFO: Starting Wazuh installation assistant. Wazuh version: 5.0.0
19/12/2025 14:14:57 INFO: Verbose logging redirected to /var/log/wazuh-install.log
19/12/2025 14:14:57 DEBUG: APT package manager will be used.
19/12/2025 14:14:57 DEBUG: Checking system distribution.
19/12/2025 14:14:57 DEBUG: Detected distribution name: ubuntu
19/12/2025 14:14:57 DEBUG: Detected distribution version: 22
19/12/2025 14:14:57 DEBUG: Installing check dependencies.
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:2 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Reading package lists...
19/12/2025 14:15:03 DEBUG: Checking Wazuh installation.
19/12/2025 14:15:04 DEBUG: There are Wazuh remaining files.
19/12/2025 14:15:04 DEBUG: There are Wazuh indexer remaining files.
19/12/2025 14:15:05 DEBUG: There are Wazuh dashboard remaining files.
19/12/2025 14:15:05 INFO: --- Removing existing Wazuh installation ---
19/12/2025 14:15:05 INFO: Removing Wazuh manager.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  wazuh-manager*
0 upgraded, 0 newly installed, 1 to remove and 97 not upgraded.
                                                               After this operation, 1009 MB disk space will be freed.
(Reading database ... 239258 files and directories currently installed.)                                              (Reading database ... 
Removing wazuh-manager (5.0.0-latest) ...
Processing triggers for libc-bin (2.35-0ubuntu3.11) ...
(Reading database ... 215594 files and directories currently installed.)
Purging configuration files for wazuh-manager (5.0.0-latest) ...
19/12/2025 14:15:45 INFO: Wazuh manager removed.
19/12/2025 14:15:45 INFO: Removing Wazuh indexer.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  wazuh-indexer*
0 upgraded, 0 newly installed, 1 to remove and 97 not upgraded.
                                                               After this operation, 1109 MB disk space will be freed.
(Reading database ... 215575 files and directories currently installed.)                                              (Reading database ... 
Removing wazuh-indexer (5.0.0-latest) ...
Running Wazuh Indexer Pre-Removal Script
Stop existing wazuh-indexer.service
(Reading database ... 214560 files and directories currently installed.)
Purging configuration files for wazuh-indexer (5.0.0-latest) ...
dpkg: warning: while removing wazuh-indexer, directory '/var/log/wazuh-indexer' not empty so not removed
dpkg: warning: while removing wazuh-indexer, directory '/var/lib/wazuh-indexer' not empty so not removed
dpkg: warning: while removing wazuh-indexer, directory '/etc/wazuh-indexer/certs' not empty so not removed
19/12/2025 14:15:54 INFO: Wazuh indexer removed.
19/12/2025 14:15:54 INFO: Removing Wazuh dashboard.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  wazuh-dashboard*
0 upgraded, 0 newly installed, 1 to remove and 97 not upgraded.
                                                               After this operation, 1301 MB disk space will be freed.
(Reading database ... 212100 files and directories currently installed.)                                              (Reading database ... 
Removing wazuh-dashboard (5.0.0-latest) ...
Stopping wazuh-dashboard service... OK
Deleting PID directory... OK
Deleting installation directory... OK
(Reading database ... 105343 files and directories currently installed.)
Purging configuration files for wazuh-dashboard (5.0.0-latest) ...
 OK
dpkg: warning: while removing wazuh-dashboard, directory '/usr/lib/systemd/system' not empty so not removed
19/12/2025 14:16:11 INFO: Wazuh dashboard removed.
19/12/2025 14:16:12 INFO: Installation cleaned.
19/12/2025 14:16:12 DEBUG: Checking system architecture.
19/12/2025 14:16:12 DEBUG: System architecture: aarch64
19/12/2025 14:16:12 INFO: Verifying that your system meets the recommended minimum hardware requirements.
19/12/2025 14:16:12 DEBUG: CPU cores detected: 4
19/12/2025 14:16:12 DEBUG: Free RAM memory detected: 7768
19/12/2025 14:16:12 DEBUG: Checking ports availability.
Hit:1 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:3 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists...
19/12/2025 14:16:15 DEBUG: Installing prerequisites dependencies.
19/12/2025 14:16:20 DEBUG: Checking curl tool version.
19/12/2025 14:16:20 DEBUG: Checking if artifact_urls.yml exists locally.
19/12/2025 14:16:20 DEBUG: Checking artifact_urls.yml file format.
19/12/2025 14:16:20 DEBUG: Checking required component is present in artifact_urls.yml file.
19/12/2025 14:16:20 INFO: --- Configuration files ---
19/12/2025 14:16:20 INFO: Generating configuration files.
19/12/2025 14:16:21 DEBUG: Creating Wazuh certificates.
19/12/2025 14:16:21 DEBUG: Reading configuration file.
19/12/2025 14:16:21 DEBUG: Checking if 127.0.0.1 is private.
19/12/2025 14:16:21 DEBUG: Checking if 127.0.0.1 is private.
19/12/2025 14:16:21 DEBUG: Checking if 127.0.0.1 is private.
19/12/2025 14:16:21 INFO: Generating the root certificate.
19/12/2025 14:16:21 INFO: Generating Admin certificates.
19/12/2025 14:16:21 DEBUG: Generating Admin private key.
19/12/2025 14:16:21 DEBUG: Converting Admin private key to PKCS8 format.
19/12/2025 14:16:21 DEBUG: Generating Admin CSR.
19/12/2025 14:16:21 DEBUG: Creating Admin certificate.
19/12/2025 14:16:22 INFO: Generating Wazuh indexer certificates.
19/12/2025 14:16:22 DEBUG: Creating the certificates for wazuh-indexer indexer node.
19/12/2025 14:16:22 DEBUG: Generating certificate configuration.
19/12/2025 14:16:22 DEBUG: Creating the Wazuh indexer tmp key pair.
19/12/2025 14:16:22 DEBUG: Creating the Wazuh indexer certificates.
19/12/2025 14:16:22 INFO: Generating Wazuh server certificates.
19/12/2025 14:16:22 DEBUG: Generating the certificates for wazuh-server server node.
19/12/2025 14:16:22 DEBUG: Generating certificate configuration.
19/12/2025 14:16:22 DEBUG: Creating the Wazuh server tmp key pair.
19/12/2025 14:16:23 DEBUG: Creating the Wazuh server certificates.
19/12/2025 14:16:23 INFO: Generating Wazuh dashboard certificates.
19/12/2025 14:16:23 DEBUG: Generating certificate configuration.
19/12/2025 14:16:23 DEBUG: Creating the Wazuh dashboard tmp key pair.
19/12/2025 14:16:24 DEBUG: Creating the Wazuh dashboard certificates.
19/12/2025 14:16:24 DEBUG: Cleaning certificate files.
19/12/2025 14:16:24 DEBUG: Generating password file.
19/12/2025 14:16:24 DEBUG: Generating random passwords.
19/12/2025 14:16:24 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
19/12/2025 14:16:24 DEBUG: Extracting Wazuh configuration.
19/12/2025 14:16:24 DEBUG: Reading configuration file.
19/12/2025 14:16:24 DEBUG: Checking if 127.0.0.1 is private.
19/12/2025 14:16:24 DEBUG: Checking if 127.0.0.1 is private.
19/12/2025 14:16:24 DEBUG: Checking if 127.0.0.1 is private.
19/12/2025 14:16:24 INFO: --- Wazuh indexer ---
19/12/2025 14:16:24 INFO: Downloading wazuh_indexer package: wazuh-indexer_5.0.0-latest_arm64.deb
19/12/2025 14:16:47 INFO: wazuh_indexer package downloaded successfully: /home/ubuntu/wazuh-install-packages/wazuh-indexer_5.0.0-latest_arm64.deb
19/12/2025 14:16:47 INFO: Starting Wazuh indexer installation.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: wazuh-indexer 0 upgraded, 1 newly installed, 0 to remove and 97 not upgraded. Need to get 0 B/851 MB of archives. After this operation, 1109 MB of additional disk space will be used. Get:1 /home/ubuntu/wazuh-install-packages/wazuh-indexer_5.0.0-latest_arm64.deb wazuh-indexer arm64 5.0.0-latest [ NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 6.2.0-1012-aws NEEDRESTART-KEXP: 6.8.0-1044-aws NEEDRESTART-KSTA: 3 NEEDRESTART-SVC: chrony.service NEEDRESTART-SVC: cron.service NEEDRESTART-SVC: dbus.service NEEDRESTART-SVC: [email protected] NEEDRESTART-SVC: irqbalance.service NEEDRESTART-SVC: multipathd.service NEEDRESTART-SVC: networkd-dispatcher.service NEEDRESTART-SVC: packagekit.service NEEDRESTART-SVC: polkit.service NEEDRESTART-SVC: rsyslog.service NEEDRESTART-SVC: [email protected] NEEDRESTART-SVC: ssh.service NEEDRESTART-SVC: systemd-journald.service NEEDRESTART-SVC: systemd-logind.service NEEDRESTART-SVC: systemd-manager NEEDRESTART-SVC: systemd-networkd.service NEEDRESTART-SVC: systemd-resolved.service NEEDRESTART-SVC: systemd-udevd.service NEEDRESTART-SVC: unattended-upgrades.service NEEDRESTART-SVC: [email protected]
19/12/2025 14:17:30 DEBUG: Checking Wazuh installation.
19/12/2025 14:17:31 DEBUG: There are Wazuh indexer remaining files.
19/12/2025 14:17:31 INFO: Wazuh indexer installation finished.
19/12/2025 14:17:31 DEBUG: Configuring Wazuh indexer.
19/12/2025 14:17:31 DEBUG: Copying Wazuh indexer certificates.
mkdir: cannot create directory ‘/etc/wazuh-indexer/certs’: File exists
19/12/2025 14:17:31 INFO: Wazuh indexer post-install configuration finished.
19/12/2025 14:17:31 INFO: Starting service wazuh-indexer.
Synchronizing state of wazuh-indexer.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable wazuh-indexer
19/12/2025 14:17:53 INFO: wazuh-indexer service started.
19/12/2025 14:17:53 INFO: Initializing Wazuh indexer cluster security settings.
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 3.3.2
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: YELLOW
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index does not exists, attempt to create it ... done (0-all replicas)
Populate config from /etc/wazuh-indexer/opensearch-security/
Will update '/config' with /etc/wazuh-indexer/opensearch-security/config.yml
   SUCC: Configuration for 'config' created or updated
Will update '/roles' with /etc/wazuh-indexer/opensearch-security/roles.yml
   SUCC: Configuration for 'roles' created or updated
Will update '/rolesmapping' with /etc/wazuh-indexer/opensearch-security/roles_mapping.yml
   SUCC: Configuration for 'rolesmapping' created or updated
Will update '/internalusers' with /etc/wazuh-indexer/opensearch-security/internal_users.yml
   SUCC: Configuration for 'internalusers' created or updated
Will update '/actiongroups' with /etc/wazuh-indexer/opensearch-security/action_groups.yml
   SUCC: Configuration for 'actiongroups' created or updated
Will update '/tenants' with /etc/wazuh-indexer/opensearch-security/tenants.yml
   SUCC: Configuration for 'tenants' created or updated
Will update '/nodesdn' with /etc/wazuh-indexer/opensearch-security/nodes_dn.yml
   SUCC: Configuration for 'nodesdn' created or updated
Will update '/audit' with /etc/wazuh-indexer/opensearch-security/audit.yml
   SUCC: Configuration for 'audit' created or updated
Will update '/allowlist' with /etc/wazuh-indexer/opensearch-security/allowlist.yml
   SUCC: Configuration for 'allowlist' created or updated
SUCC: Expected 9 config types for node {"updated_config_types":["allowlist","tenants","rolesmapping","nodesdn","audit","roles","actiongroups","config","internalusers"],"updated_config_size":9,"message":null} is 9 (["allowlist","tenants","rolesmapping","nodesdn","audit","roles","actiongroups","config","internalusers"]) due to: null
Done with success
19/12/2025 14:18:02 INFO: Wazuh indexer cluster security configuration initialized.
19/12/2025 14:18:02 INFO: Wazuh indexer cluster initialized.
19/12/2025 14:18:02 INFO: --- Wazuh server ---
19/12/2025 14:18:02 INFO: Downloading wazuh_manager package: wazuh-manager_5.0.0-latest_arm64.deb
19/12/2025 14:18:14 INFO: wazuh_manager package downloaded successfully: /home/ubuntu/wazuh-install-packages/wazuh-manager_5.0.0-latest_arm64.deb
19/12/2025 14:18:14 INFO: Starting the Wazuh manager installation.
Reading package lists... Building dependency tree... Reading state information... Suggested packages: expect The following NEW packages will be installed: wazuh-manager 0 upgraded, 1 newly installed, 0 to remove and 97 not upgraded. Need to get 0 B/453 MB of archives. After this operation, 1009 MB of additional disk space will be used. Get:1 /home/ubuntu/wazuh-install-packages/wazuh-manager_5.0.0-latest_arm64.deb wazuh-m NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 6.2.0-1012-aws NEEDRESTART-KEXP: 6.8.0-1044-aws NEEDRESTART-KSTA: 3 NEEDRESTART-SVC: chrony.service NEEDRESTART-SVC: cron.service NEEDRESTART-SVC: dbus.service NEEDRESTART-SVC: [email protected] NEEDRESTART-SVC: irqbalance.service NEEDRESTART-SVC: multipathd.service NEEDRESTART-SVC: networkd-dispatcher.service NEEDRESTART-SVC: packagekit.service NEEDRESTART-SVC: polkit.service NEEDRESTART-SVC: rsyslog.service NEEDRESTART-SVC: [email protected] NEEDRESTART-SVC: ssh.service NEEDRESTART-SVC: systemd-journald.service NEEDRESTART-SVC: systemd-logind.service NEEDRESTART-SVC: systemd-manager NEEDRESTART-SVC: systemd-networkd.service NEEDRESTART-SVC: systemd-resolved.service NEEDRESTART-SVC: systemd-udevd.service NEEDRESTART-SVC: unattended-upgrades.service NEEDRESTART-SVC: [email protected]
19/12/2025 14:19:26 DEBUG: Checking Wazuh installation.
19/12/2025 14:19:26 DEBUG: There are Wazuh remaining files.
19/12/2025 14:19:26 DEBUG: There are Wazuh indexer remaining files.
19/12/2025 14:19:27 INFO: Wazuh manager installation finished.
19/12/2025 14:19:27 DEBUG: Configuring Wazuh manager.
19/12/2025 14:19:27 DEBUG: Copying Manager certificates.
19/12/2025 14:19:27 DEBUG: Setting provisional Wazuh indexer password.
19/12/2025 14:19:27 INFO: Wazuh manager vulnerability detection configuration finished.
19/12/2025 14:19:27 INFO: Starting service wazuh-manager.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-manager.service → /lib/systemd/system/wazuh-manager.service.
19/12/2025 14:19:38 INFO: wazuh-manager service started.
19/12/2025 14:19:38 INFO: --- Wazuh dashboard ---
19/12/2025 14:19:38 INFO: Downloading wazuh_dashboard package: wazuh-dashboard_5.0.0-latest_arm64.deb
19/12/2025 14:19:44 INFO: wazuh_dashboard package downloaded successfully: /home/ubuntu/wazuh-install-packages/wazuh-dashboard_5.0.0-latest_arm64.deb
19/12/2025 14:19:44 INFO: Starting Wazuh dashboard installation.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: wazuh-dashboard 0 upgraded, 1 newly installed, 0 to remove and 97 not upgraded. Need to get 0 B/220 MB of archives. After this operation, 1301 MB of additional disk space will be used. Get:1 /home/ubuntu/wazuh-install-packages/wazuh-dashboard_5.0.0-latest_arm64.deb wazuh-dashboard arm64 5.0.0-la NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 6.2.0-1012-aws NEEDRESTART-KEXP: 6.8.0-1044-aws NEEDRESTART-KSTA: 3 NEEDRESTART-SVC: chrony.service NEEDRESTART-SVC: cron.service NEEDRESTART-SVC: dbus.service NEEDRESTART-SVC: [email protected] NEEDRESTART-SVC: irqbalance.service NEEDRESTART-SVC: multipathd.service NEEDRESTART-SVC: networkd-dispatcher.service NEEDRESTART-SVC: packagekit.service NEEDRESTART-SVC: polkit.service NEEDRESTART-SVC: rsyslog.service NEEDRESTART-SVC: [email protected] NEEDRESTART-SVC: ssh.service NEEDRESTART-SVC: systemd-journald.service NEEDRESTART-SVC: systemd-logind.service NEEDRESTART-SVC: systemd-manager NEEDRESTART-SVC: systemd-networkd.service NEEDRESTART-SVC: systemd-resolved.service NEEDRESTART-SVC: systemd-udevd.service NEEDRESTART-SVC: unattended-upgrades.service NEEDRESTART-SVC: [email protected]
19/12/2025 14:22:58 DEBUG: Checking Wazuh installation.
19/12/2025 14:22:59 DEBUG: There are Wazuh remaining files.
19/12/2025 14:22:59 DEBUG: There are Wazuh indexer remaining files.
19/12/2025 14:23:00 DEBUG: There are Wazuh dashboard remaining files.
19/12/2025 14:23:00 INFO: Wazuh dashboard installation finished.
19/12/2025 14:23:00 DEBUG: Configuring Wazuh dashboard.
19/12/2025 14:23:00 DEBUG: Copying Wazuh dashboard certificates.
19/12/2025 14:23:00 DEBUG: Wazuh dashboard certificate setup finished.
19/12/2025 14:23:00 INFO: Wazuh dashboard post-install configuration finished.
19/12/2025 14:23:00 INFO: Starting service wazuh-dashboard.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-dashboard.service → /lib/systemd/system/wazuh-dashboard.service.
19/12/2025 14:23:00 INFO: wazuh-dashboard service started.
19/12/2025 14:23:00 DEBUG: Setting Wazuh indexer cluster passwords.
19/12/2025 14:23:00 DEBUG: Checking Wazuh installation.
19/12/2025 14:23:01 DEBUG: There are Wazuh remaining files.
19/12/2025 14:23:01 DEBUG: There are Wazuh indexer remaining files.
19/12/2025 14:23:02 DEBUG: There are Wazuh dashboard remaining files.
19/12/2025 14:23:02 INFO: Updating the internal users.
19/12/2025 14:23:02 DEBUG: Creating password backup.
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 3.3.2
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Will retrieve '/config' into /etc/wazuh-indexer/backup/config.yml
   SUCC: Configuration for 'config' stored in /etc/wazuh-indexer/backup/config.yml
Will retrieve '/roles' into /etc/wazuh-indexer/backup/roles.yml
   SUCC: Configuration for 'roles' stored in /etc/wazuh-indexer/backup/roles.yml
Will retrieve '/rolesmapping' into /etc/wazuh-indexer/backup/roles_mapping.yml
   SUCC: Configuration for 'rolesmapping' stored in /etc/wazuh-indexer/backup/roles_mapping.yml
Will retrieve '/internalusers' into /etc/wazuh-indexer/backup/internal_users.yml
   SUCC: Configuration for 'internalusers' stored in /etc/wazuh-indexer/backup/internal_users.yml
Will retrieve '/actiongroups' into /etc/wazuh-indexer/backup/action_groups.yml
   SUCC: Configuration for 'actiongroups' stored in /etc/wazuh-indexer/backup/action_groups.yml
Will retrieve '/tenants' into /etc/wazuh-indexer/backup/tenants.yml
   SUCC: Configuration for 'tenants' stored in /etc/wazuh-indexer/backup/tenants.yml
Will retrieve '/nodesdn' into /etc/wazuh-indexer/backup/nodes_dn.yml
   SUCC: Configuration for 'nodesdn' stored in /etc/wazuh-indexer/backup/nodes_dn.yml
Will retrieve '/allowlist' into /etc/wazuh-indexer/backup/allowlist.yml
   SUCC: Configuration for 'allowlist' stored in /etc/wazuh-indexer/backup/allowlist.yml
Will retrieve '/audit' into /etc/wazuh-indexer/backup/audit.yml
   SUCC: Configuration for 'audit' stored in /etc/wazuh-indexer/backup/audit.yml
19/12/2025 14:23:06 DEBUG: Password backup created in /etc/wazuh-indexer/backup.
19/12/2025 14:23:06 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
19/12/2025 14:23:06 DEBUG: The internal users have been updated before changing the passwords.
19/12/2025 14:23:06 DEBUG: Generating password hashes.
19/12/2025 14:23:19 DEBUG: Password hashes generated.
19/12/2025 14:23:19 DEBUG: Creating password backup.
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 3.3.2
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: YELLOW
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Will retrieve '/config' into /etc/wazuh-indexer/backup/config.yml
   SUCC: Configuration for 'config' stored in /etc/wazuh-indexer/backup/config.yml
Will retrieve '/roles' into /etc/wazuh-indexer/backup/roles.yml
   SUCC: Configuration for 'roles' stored in /etc/wazuh-indexer/backup/roles.yml
Will retrieve '/rolesmapping' into /etc/wazuh-indexer/backup/roles_mapping.yml
   SUCC: Configuration for 'rolesmapping' stored in /etc/wazuh-indexer/backup/roles_mapping.yml
Will retrieve '/internalusers' into /etc/wazuh-indexer/backup/internal_users.yml
   SUCC: Configuration for 'internalusers' stored in /etc/wazuh-indexer/backup/internal_users.yml
Will retrieve '/actiongroups' into /etc/wazuh-indexer/backup/action_groups.yml
   SUCC: Configuration for 'actiongroups' stored in /etc/wazuh-indexer/backup/action_groups.yml
Will retrieve '/tenants' into /etc/wazuh-indexer/backup/tenants.yml
   SUCC: Configuration for 'tenants' stored in /etc/wazuh-indexer/backup/tenants.yml
Will retrieve '/nodesdn' into /etc/wazuh-indexer/backup/nodes_dn.yml
   SUCC: Configuration for 'nodesdn' stored in /etc/wazuh-indexer/backup/nodes_dn.yml
Will retrieve '/allowlist' into /etc/wazuh-indexer/backup/allowlist.yml
   SUCC: Configuration for 'allowlist' stored in /etc/wazuh-indexer/backup/allowlist.yml
Will retrieve '/audit' into /etc/wazuh-indexer/backup/audit.yml
   SUCC: Configuration for 'audit' stored in /etc/wazuh-indexer/backup/audit.yml
19/12/2025 14:23:22 DEBUG: Password backup created in /etc/wazuh-indexer/backup.
19/12/2025 14:23:22 DEBUG: Restarting wazuh-manager service...
19/12/2025 14:23:40 DEBUG: wazuh-manager started.
19/12/2025 14:23:41 DEBUG: Restarting wazuh-dashboard service...
19/12/2025 14:23:42 DEBUG: wazuh-dashboard started.
19/12/2025 14:23:42 DEBUG: Running security admin tool.
19/12/2025 14:23:42 DEBUG: Loading new passwords changes.
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 3.3.2
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: YELLOW
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Populate config from /home/ubuntu
Force type: internalusers
Will update '/internalusers' with /etc/wazuh-indexer/backup/internal_users.yml
   SUCC: Configuration for 'internalusers' created or updated
SUCC: Expected 1 config types for node {"updated_config_types":["internalusers"],"updated_config_size":1,"message":null} is 1 (["internalusers"]) due to: null
Done with success
19/12/2025 14:23:45 DEBUG: Passwords changed.
19/12/2025 14:23:45 DEBUG: Changing API passwords.
19/12/2025 14:23:47 INFO: Initializing Wazuh dashboard web application.
19/12/2025 14:23:47 INFO: Wazuh dashboard web application not yet initialized. Waiting...
19/12/2025 14:24:02 INFO: Wazuh dashboard web application not yet initialized. Waiting...
19/12/2025 14:24:17 INFO: Restarting service wazuh-dashboard.
19/12/2025 14:24:18 INFO: wazuh-dashboard service restarted.
19/12/2025 14:24:18 INFO: Wazuh dashboard web application initialized.
19/12/2025 14:24:18 INFO: --- Summary ---
19/12/2025 14:24:18 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: 8IEUy52e**yKj+yWCE.k54WBVssyjn3w
19/12/2025 14:24:18 DEBUG: Removed download packages directory: /home/ubuntu/wazuh-install-packages
19/12/2025 14:24:18 INFO: Installation finished.
Captura desde 2025-12-19 15-27-46 Captura desde 2025-12-19 15-28-07

Related issue

Important

The development of the offline installation is still pending.

@c-bordon c-bordon merged commit 5eadd5a into main Dec 19, 2025
0 of 2 checks passed
@c-bordon c-bordon deleted the enhancement/519-change-component-installation-method-to-packages branch December 19, 2025 15:23
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

Successfully merging this pull request may close these issues.

Development - DevOps 5.0 adaptation - Change component installation to use packages instead of repositories

4 participants