Closed pmhausen closed 5 months ago
@pmhausen: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
Same issue with lock and backupfiles on some services.
fixed in https://github.com/crowdsecurity/crowdsec/pull/2903
1.6.1 is coming very soon, stay tuned
What happened?
The CrowdSec service terminates occasionally when Caddy rotates its logfiles.
What did you expect to happen?
The CrowdSec service should continue to run.
How can we reproduce it (as minimally and precisely as possible)?
I use this Caddy plugin on OPNsense - soon to be integrated into the OPNsense main distribution: https://github.com/Monviech/os-caddy-plugin
This is the Caddyfile definition for the reverse proxy considered in this particular issue:
On Mar 13th around 4:00 am a logfile rotation took place:
Consequently CrowdSec shut down with an error about a missing logfile - followed by a restart by Monit, which I implemented as a first band aid:
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.