Updating the Wazuh Image on Hydra
When Wazuh is updated centrally to a new version, the hydra image also needs to be updated. This version will be reflected in update shown in the update console. Please perform the following steps to update the wazuh container version.
SSH to your hydra
Type sudo -s and Press [ENTER]
Type vim /etc/siemonster/docker_images.env and Press [ENTER]
Find the line that starts with DOCKER_WAZUH=
Press i and then move the cursor using your arrow keys on the keyboard to the end of that line.
Adjust the the version to the version provided by the update screen e.g. if the new version is siemonster/wazuh:prod-v5.7.0-hydra and the original line looked like DOCKER_WAZUH=docker.io/siemonster/wazuh:prod-v5.6.0-hydra modify it to look like DOCKER_WAZUH=docker.io/siemonster/wazuh:prod-v5.7.0-hydra
To save and exit Press [ESC] and then Type :wq and Press [ENTER]
Type systemctl restart wazuh and Press [ENTER]
The Wazuh service on the hydra will now restart and pull the updated container from the container repository.