Skip to content

ERROR (solved) while updating from 4.9.0 to 4.13.1 (wazuh-modulesd: ERROR: No such tag 'xxx' at module 'yyy'.) #2043

@Meht-evaS

Description

@Meht-evaS

Hi, I'm trying to update from 4.9.0 to 4.13.1 while keeping my custom configuration files.

As read in the following guide (for single-node stack):
https://documentation.wazuh.com/current/deployment-options/docker/upgrading-wazuh-docker.html#keeping-your-custom-docker-compose-files
the only thing I needed to do was download the new wazuh_manager.conf and apply my changes.

Below is the section of the file that raised the following exception (saw while building):

wazuh.manager-1    | 2025/10/20 23:43:34 wazuh-modulesd: WARNING: (1230): Invalid element in the configuration: 'enabled'.
wazuh.manager-1    | 2025/10/20 23:43:34 wazuh-modulesd: WARNING: (1230): Invalid element in the configuration: 'interval'.
wazuh.manager-1    | 2025/10/20 23:43:34 sca: ERROR: No such tag 'synchronization' at module 'sca'.
wazuh.manager-1    | 2025/10/20 23:43:34 wazuh-modulesd: ERROR: (1202): Configuration error at 'etc/ossec.conf'.
wazuh.manager-1    | wazuh-modulesd: Configuration error. Exiting
wazuh.manager-1    | [cont-init.d] 2-manager: exited 1.
wazuh.manager-1    | [cont-init.d] done.
wazuh.manager-1    | [services.d] starting services
wazuh.manager-1    | starting Filebeat
wazuh.manager-1    | 2025/10/20 22:48:52 wazuh-modulesd: ERROR: No such tag 'users' at module 'syscollector'.
wazuh.manager-1    | 2025/10/20 22:48:52 wazuh-modulesd: ERROR: (1202): Configuration error at 'etc/ossec.conf'.
wazuh.manager-1    | 2025/10/20 23:33:18 wazuh-modulesd: ERROR: No such tag 'users' at module 'syscollector'.
wazuh.manager-1    | 2025/10/20 23:33:18 wazuh-modulesd: ERROR: (1202): Configuration error at 'etc/ossec.conf'.
wazuh.manager-1    | 2025/10/20 23:38:01 wazuh-modulesd: ERROR: No such tag 'users' at module 'syscollector'.
wazuh.manager-1    | 2025/10/20 23:38:01 wazuh-modulesd: ERROR: (1202): Configuration error at 'etc/ossec.conf'.
wazuh.manager-1    | 2025/10/20 23:43:34 wazuh-modulesd: WARNING: (1230): Invalid element in the configuration: 'enabled'.
wazuh.manager-1    | 2025/10/20 23:43:34 wazuh-modulesd: WARNING: (1230): Invalid element in the configuration: 'interval'.
wazuh.manager-1    | 2025/10/20 23:43:34 sca: ERROR: No such tag 'synchronization' at module 'sca'.
wazuh.manager-1    | 2025/10/20 23:43:34 wazuh-modulesd: ERROR: (1202): Configuration error at 'etc/ossec.conf'.

NEW (4.13.1) wazuh_manager.conf (partial):

  <wodle name="syscollector">
    <disabled>no</disabled>
    <interval>1h</interval>
    <scan_on_start>yes</scan_on_start>
    <hardware>yes</hardware>
    <os>yes</os>
    <network>yes</network>
    <packages>yes</packages>
    <ports all="yes">yes</ports>
    <processes>yes</processes>
    <users>yes</users>
    <groups>yes</groups>
    <services>yes</services>
    <browser_extensions>yes</browser_extensions>

    <!-- Database synchronization settings -->
    <synchronization>
      <enabled>yes</enabled>
      <interval>5m</interval>
      <max_eps>10</max_eps>
    </synchronization>
  </wodle>

  <sca>
    <enabled>yes</enabled>
    <scan_on_start>yes</scan_on_start>
    <interval>12h</interval>

    <!-- Database synchronization settings -->
    <synchronization>
      <enabled>yes</enabled>
      <interval>5m</interval>
      <max_eps>10</max_eps>
    </synchronization>
  </sca>

OLD (4.9.0) wazuh_manager.conf (partial):

  <wodle name="syscollector">
    <disabled>no</disabled>
    <interval>1h</interval>
    <scan_on_start>yes</scan_on_start>
    <hardware>yes</hardware>
    <os>yes</os>
    <network>yes</network>
    <packages>yes</packages>
    <ports all="no">yes</ports>
    <processes>yes</processes>

    <!-- Database synchronization settings -->
    <synchronization>
      <max_eps>10</max_eps>
    </synchronization>
  </wodle>

  <sca>
    <enabled>yes</enabled>
    <scan_on_start>yes</scan_on_start>
    <interval>12h</interval>
    <skip_nfs>yes</skip_nfs>
  </sca>

It seems that the newly added tags are not recognized... in fact, those tags don't even appear in the official documentation:
https://documentation.wazuh.com/4.13/user-manual/reference/ossec-conf/wodle-syscollector.html

Do the tags actually not exist or were they simply not reported in the documentation?

By not modifying those sections, and thus keeping the changes from the OLD file, the build completed successfully... so I think the tags actually not exist, maybe? Or is the problem simply caused by modifying the wazuh_manager.conf file without updating the entire project?

Thanks in advance for your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions