time=“16-09-2021 15:51:27” level=error msg=“Statics Compilation failed type types.Line has no field Module (1:10)\n | evt.Line.Module\n | …^.” id=fragrant-bush name=crowdsecurity/syslog-logs stage=s00-raw
time=“16-09-2021 15:51:27” level=fatal msg=“crowdsec init: Failed to load parsers: failed to load parser config : failed to compile node ‘crowdsecurity/syslog-logs’ in ‘/etc/crowdsec/parsers/s00-raw/syslog-logs.yaml’ : type types.Line has no field Module (1:10)\n | evt.Line.Module\n | …^”
# cscli hub update --debug
DEBU[0000] Using /etc/crowdsec/config.yaml as configuration file
DEBU[0000] fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)
INFO[0000] Wrote new 134801 bytes index to /etc/crowdsec/hub/.index.json
DEBU[0000] 4 item types in hub index
DEBU[0000] scanning /etc/crowdsec
DEBU[0000] scanning /etc/crowdsec/hub
The easy way (if you don’t need to backup anything): you run the ./wizard.sh --uninstall and then install crowdsec from our repositories (cf. Install CrowdSec | CrowdSec)
The hard way (we didn’t test it): You run cscli config backup <backup_folder> to backup your existing configuration. Then you uninstall your running crowdsec with ./wizard.sh --uninstall , install the new one from our repositories (Install CrowdSec | CrowdSec) and then you can run cscli config restore <backup_folder> . Some things might not work, (especially from the config.yaml file), but let us know how it goes