Closed Mirabis closed 1 year ago
@Mirabis: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
Do you have any CAPI whitelist set?
Have not whitelisted anything as far as I'm aware. Is there a specific command you want me to run?
Have not whitelisted anything as far as I'm aware. Is there a specific command you want me to run?
If you don't know then most likely not 👍🏻 Could you share your whole /etc/crowdsec/config.yaml
but redact your DB_PASSWORD from it.
Have not whitelisted anything as far as I'm aware. Is there a specific command you want me to run?
If you don't know then most likely not 👍🏻 Could you share your whole
/etc/crowdsec/config.yaml
but redact your DB_PASSWORD from it.
`/etc/crowdsec/config.yaml'
Can you try without this?
capi_whitelists_path: /etc/crowdsec/capi_whitelist.yaml
I had the same issue and thought it was a false alert because the system disk was full and after freeing space the service started. https://github.com/crowdsecurity/crowdsec/issues/2481
But after a few restarts it crashed again, had to revert to 1.5.3
I'm indeed using capi whitelist:
capi_whitelists_path: /etc/crowdsec/capi_whitelists.yaml
root@crowdsec:~# cat /etc/crowdsec/capi_whitelists.yaml
ips:
# Customer 1
- w.x.y.z
cidrs:
# Sucuri
- 192.88.134.0/23
- 185.93.228.0/22
- 66.248.200.0/22
- 2a02:fe80::/29
- 208.109.0.0/22
Note: Ip of customer obfuscated for privacy concerns...
contents of the file:
$ root@crowdsec:/etc/crowdsec# cat /etc/crowdsec/capi_whitelist.yaml
ips:
- 1.1.1.1
- 10.0.40.5
cidrs:
- 10.0.30.0/24
Commented it out of the config.yaml
and ran apt-upgrade from 1.5.2 to 1.5.4. Ran fine after the upgrade (and the odd install message didn't appear either.
Thanks again, fixed in master and we may release 1.5.5-rc1 with it pretty soon.
What happened?
Crowdsec crashes whenever I try to start it since moving to 1.5.4.
Stacktrace/report:
What did you expect to happen?
Crowdsec to actually run after doing systemctl start.
How can we reproduce it (as minimally and precisely as possible)?
Crowdsec 1.5.2 runs fine but 1.5.3 and 1.5.4 won't run at all.
Interestingly the installing steps crash too if I try to reproduce:
From 1.5.4 to 1.5.3
From 1.5.4 to 1.5.2
Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
Config show
Prometheus metrics
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.