Hello,
Download and copy the correct packages for your OS following this link.
https://documentation.wazuh.com/current/installation-guide/packages-list.html
Follow this guide for Wazuh central components upgrade.
Skip the Wazuh repository update part at the start ( part 1 from Preparing the upgrade section)
Follow every step, same as the document.
Only for updating services, use the pre-downloaded packages.
For example, for a Debian-based OS
sudo dpkg -i package-name.deb
If you need further assistance, share with me the OS and OS version of your Wazuh Server.
For the agent upgrade, download the .wpk file from this document and copy it to your manager.
https://documentation.wazuh.com/current/user-manual/agent/agent-management/remote-upgrading/wpk-files/wpk-list.html
And you can do remote upgrades by running a command like this from the Wazuh server.
/var/ossec/bin/agent_upgrade -a 001 -f /home/wazuh/wazuh_agent_v4.14.1_windows.wpk -x upgrade.bat
For Linux agents, use upgrade.sh. to upgrade a Windows agent, you must use upgrade.bat instead of upgrade.sh.
Ref: https://documentation.wazuh.com/current/user-manual/agent/agent-management/remote-upgrading/wpk-files/install-custom-wpk.html
For upgrading the central component, I suggest you perform the upgrade in a test server before doing it in the production environment.
Let me know if you need any further assistance.