To help identify why the default group exists but is not listed, could you please provide the following information?
Wazuh version and whether this was after a recent upgrade? (wazuh-control info)
Is this a single-node deployment or a cluster? If it's a cluster, are you running these commands on the master or a worker node?
Does the default shared configuration directory exist?
ls -ld /var/ossec/etc/shared/defaultCould you check whether the default group exists in the global database?
sqlite3 /var/ossec/queue/db/global.db "SELECT name FROM 'group';"Additionally, if possible:
What happened immediately before these errors started (e.g., upgrade, crash, disk full, manual file changes, restore from backup)?
Do you have a backup of global.db or the /var/ossec/etc/shared/ directory?