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

Add steps for wazuh-docker upgrade #7929

Merged
merged 3 commits into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion source/deployment-options/docker/upgrading-wazuh-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ To upgrade your deployment keeping your custom docker-compose files, do the foll
- Replace ``/usr/share/wazuh-indexer/config/opensearch.yml`` with ``/usr/share/wazuh-indexer/opensearch.yml``.
- Replace ``/usr/share/wazuh-indexer/plugins/opensearch-security/securityconfig/`` with ``/usr/share/wazuh-indexer/opensearch-security/``.

#. If you are upgrading from 4.3, edit the ``docker-compose.yml`` file corresponding to your deployment type. Modify the highlighted lines and add the variable related to the ``kibanaserver`` user with the corresponding value.
#. Edit the ``docker-compose.yml`` file corresponding to your deployment type. Modify the highlighted lines and add the variable related to the ``kibanaserver`` user with the corresponding value.

.. tabs::

Expand Down Expand Up @@ -227,6 +227,19 @@ To upgrade your deployment keeping your custom docker-compose files, do the foll
- DASHBOARD_USERNAME=kibanaserver
- DASHBOARD_PASSWORD=kibanaserver

#. Replace the following files in your deployment with the ones from the v|WAZUH_CURRENT_DOCKER| tag of the wazuh-docker repository.

.. tabs::

.. group-tab:: Single node deployment

- ``single-node/config/wazuh_cluster/wazuh_manager.conf``

.. group-tab:: Multi node deployment

- ``multi-node/config/wazuh_cluster/wazuh_manager.conf``
- ``multi-node/config/wazuh_cluster/wazuh_worker.conf``

#. Start the new version of Wazuh using ``docker-compose``.

.. code-block:: console
Expand Down