Crowdsec quits with new update

Started by dstrctdagain321, January 15, 2025, 08:25:55 PM

Previous topic - Next topic
Quote from: dstrctdagain321 on January 15, 2025, 10:42:47 PMAfter digging into logs, I was able to narrow it down to the Appsec collection. Removed it, and no more issues!

Yeah had the same issue, it gave me this error:
root@OPNsense:~ # cscli collections remove crowdsecurity/appsec-generic-rules
FATA crowdsecurity/appsec-generic-rules is tainted, use '--force' to remove
root@OPNsense:~ # cscli collections remove crowdsecurity/appsec-generic-rules --force

Then running confirmed its all good!
root@OPNsense:~ # sudo service crowdsec reload
Performing sanity check on crowdsec configuration.
Configuration test OK
Reloading configuration

Thanks heaps!

Quote from: Eisai on January 22, 2025, 03:45:53 AMHad the same problem here. The new version of Crowdsec seems to have problems with appsec function. Fix by logging in to the console then revert to the last version.
opnsense-revert -r 24.7.11 crowdsec
Then fix the tainted collections with the following commands:
cscli collections upgrade --force crowdsecurity/appsec-generic-rules
cscli collections upgrade --force crowdsecurity/appsec-virtual-patching

Thanks! That worked for me