This is the documentation for Wazuh 2.1. Check out the docs for the latest version of Wazuh!

Upgrade from the same major version

Use these instructions if you are upgrading your Wazuh installation within the same major version. As an example, from 2.0.1 to 2.1.1.

Upgrade Wazuh manager

Before upgrading the Wazuh manager, stop ossec-authd in case that it is running in background. Since Wazuh 2.1.0, ossec-authd should be configured in the auth section of ossec.conf.

  1. Upgrade Wazuh server on CentOS/RHEL/Fedora:
$ sudo yum upgrade wazuh-manager
  1. Upgrade Wazuh server on Debian/Ubuntu:
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-manager

Upgrade Wazuh API

  1. Upgrade Wazuh API on CentOS/RHEL/Fedora:
$ sudo yum upgrade wazuh-api
  1. Upgrade Wazuh API on Debian/Ubuntu:
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-api

Upgrade Wazuh agent

  1. Upgrade Wazuh agent on CentOS/RHEL/Fedora:
$ sudo yum upgrade wazuh-agent
  1. Upgrade Wazuh agent on Debian/Ubuntu:
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-agent

Upgrade Wazuh Kibana App

  1. On your terminal, remove the current Wazuh Kibana App:

    $ /usr/share/kibana/bin/kibana-plugin remove wazuh
    
  2. Once the process is completed, you must stop Kibana with:

  1. For Systemd:
$ systemctl stop kibana
  1. For SysV Init:
$ service kibana stop
  1. Remove the current kibana bundles:
$ rm -rf /usr/share/kibana/optimize/bundles
  1. Upgrade Wazuh Kibana App (this can take a while):
$ /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp.zip
  1. Once the process is completed, you must start Kibana again with:
  1. For Systemd:
$ systemctl start kibana
  1. For SysV Init:
$ service kibana start