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
.
Upgrade Wazuh server on CentOS/RHEL/Fedora:
$ sudo yum upgrade wazuh-manager
Upgrade Wazuh server on Debian/Ubuntu:
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-manager
Upgrade Wazuh API
Upgrade Wazuh API on CentOS/RHEL/Fedora:
$ sudo yum upgrade wazuh-api
Upgrade Wazuh API on Debian/Ubuntu:
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-api
Upgrade Wazuh agent
Upgrade Wazuh agent on CentOS/RHEL/Fedora:
$ sudo yum upgrade wazuh-agent
Upgrade Wazuh agent on Debian/Ubuntu:
$ sudo apt-get update && sudo apt-get install --only-upgrade wazuh-agent
Upgrade Wazuh Kibana App
On your terminal, remove the current Wazuh Kibana App:
$ /usr/share/kibana/bin/kibana-plugin remove wazuh
Once the process is completed, you must stop Kibana with:
For Systemd:
$ systemctl stop kibana
For SysV Init:
$ service kibana stop
Remove the current kibana bundles:
$ rm -rf /usr/share/kibana/optimize/bundles
Upgrade Wazuh Kibana App (this can take a while):
$ /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp.zip
Once the process is completed, you must start Kibana again with:
For Systemd:
$ systemctl start kibana
For SysV Init:
$ service kibana start