I have replicated this on my end and successfully upgraded it to the latest version.
To upgrade to Wazuh 4.2.7, you should follow the official migration process for both OpenDistro/OpenSearch components and Kibana/Wazuh Dashboard.
I recommend following this sequence: Indexer → Manager → Filebeat → Dashboard, as this ensures a smooth upgrade flow.
Start with the Wazuh Indexer migration guide:
https://documentation.wazuh.com/4.3/migration-guide/wazuh-indexer.html
Follow the steps up to step 5. In step 6, instead of installing a fixed version of the indexer, you can install the package without specifying a version so it upgrades to the latest available release, for example:
apt-get -y install wazuh-indexerThen continue with the remaining steps up to step 18.
After that, proceed with upgrading the Wazuh Manager and Filebeat by following the upgrade guide:
https://documentation.wazuh.com/current/upgrade-guide/upgrading-central-components.html#upgrading-the-wazuh-server
Since you are upgrading from an earlier version, you may need to update your ossec.conf, especially for:
ruleset configuration blocks
vulnerability detection settings
indexer connector configuration
You can refer to the shared documentation section to apply the correct updates.
Continue the process through Filebeat installation and configuration as described.
Finally, follow the Wazuh Dashboard migration guide (not the general upgrade guide):
https://documentation.wazuh.com/4.3/migration-guide/wazuh-dashboard.html
In step 3, make sure to run:
apt-get -y install wazuh-dashboardOtherwise, an older version may be installed by default and follow the rest of the steps to complete the configuration.
Let me know if you face any issues during the process, and I’ll be happy to help further.
I'm glad the instructions were helpful.
Please follow the steps at your convenience, and if you encounter any issues during the upgrade, feel free to reach out. I'll be happy to assist.
Thank you!