Access denied on Geolite2-City.mmdb when running cscli hub upgrade while Crowdsec is running on Windows Platform #3269
Labels
kind/bug
Something isn't working
os/win
triage/accepted
value/high
Doing this significantly improves some areas
version/1.6.3
Milestone
What happened?
Dear Crowdsec Community,
When we perform a cscli hub upgrade or cscli hub upgrade --force on a host running Windows Server Operating System we have the following error :
It seems that it can not remove the GeoLite2-City.mmdb while Crowdsec Service is running
After stopping the service and running again the command the process is working as expected.
When there are no update of this mmdb Geolite file the process is working as expected.
What did you expect to happen?
The process of running cscli hub upgrade should work without any intervention (stopping) on the service.
How can we reproduce it (as minimally and precisely as possible)?
Perform a cscli hub upgrade on a command prompt with administrator privilege while crowdsec is running and the Geolite files are not up to date.
Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
On Windows:
C:> Get-Content C:\ProgramData\CrowdSec\config\acquis.yaml
paste output here
Config show
No response
Prometheus metrics
No response
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.
No response
Thanks for the help and support !
Have a nice day
Edouard Fazenda for CSTI SA.
The text was updated successfully, but these errors were encountered: