The `Wazuh dashboard server is not ready yet` message usually means that the Dashboard cannot communicate with the Indexer. The settings for that communication are done in the
/etc/wazuh-dashboard/opensearch_dashboards.yml file, with the
opensearch.hosts setting. You should configure the address of your Wazuh Indexer server in that file and restart the Dashboard. You can see more about it in the
Installing the Wazuh dashboard step by step documentation.
The settings on the /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml are used by the Wazuh plugin to communicate with the Server's API, but that step is done after the Dashboards communication with the Indexer and the login occurs.