Closed bufanda closed 9 months ago
@bufanda: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
Hi there was a patch pushed to the repository today. You can move over to the :dev
tag and it should be working for now.
Link to closed issue #2779
Interesting you have custom/tainted the crowdsecurity/whitelists
s02-enrich file, however, you still have it defined within your docker environments to install. The behaviour before was to ignore it, are you running within docker compose and can remove that whitelists parser from the environment variables as you dont need to install it anymore because your mounting / persisting your own custom one.
Just checking the docker start script code, I see the issue and have reported it to the team. Thank you 🦙 we hope to get a fix merged and maybe a subsequent version release by next week depending on scope.
Interesting you have custom/tainted the
crowdsecurity/whitelists
s02-enrich file, however, you still have it defined within your docker environments to install. The behaviour before was to ignore it, are you running within docker compose and can remove that whitelists parser from the environment variables as you dont need to install it anymore because your mounting / persisting your own custom one.
No Idon't use compose I use ansible to deploy the configuration and yes I had to create my own whitelist to whitelist my own IP as I got constantly block because the Nextcloud Client on my PCs was HTTP probing and that triggered the decision to block me. So whitelisting was my solution for it.
I can try to remove the parser from the env variable though, but as you said there is an issue in the startup script I might hold of for the time being on that. Meanwhile I reverted back to Version 1.5.5 on the host.
Hi,
Since the last update using docker i think i facing the same issue:
Local agent already registered Check if lapi needs to register an additional agent time="2024-01-26T12:37:01Z" level=info msg="hub index is up to date" time="2024-01-26T12:37:01Z" level=info msg="Ignoring file /etc/crowdsec/hub/parsers/s02-enrich/crowdsecurity/whitelists.yaml of type parsers" time="2024-01-26T12:37:01Z" level=info msg="update for collection crowdsecurity/sshd available (currently:0.2, latest:0.3)" time="2024-01-26T12:37:01Z" level=info msg="crowdsecurity/traefik is tainted by outdated parsers:crowdsecurity/traefik-logs" time="2024-01-26T12:37:01Z" level=info msg="crowdsecurity/traefik is tainted by outdated collections:crowdsecurity/base-http-scenarios" time="2024-01-26T12:37:01Z" level=info msg="update for collection crowdsecurity/base-http-scenarios available (currently:0.6, latest:0.8)" time="2024-01-26T12:37:01Z" level=info msg="update for collection crowdsecurity/http-cve available (currently:2.1, latest:2.5)" Running: cscli collections upgrade "crowdsecurity/linux" time="2024-01-26T12:37:01Z" level=info msg="Ignoring file /etc/crowdsec/hub/parsers/s02-enrich/crowdsecurity/whitelists.yaml of type parsers" time="2024-01-26T12:37:01Z" level=fatal msg="can't upgrade crowdsecurity/linux: downloaded but not installed"
Hi,
Since the last update using docker i think i facing the same issue:
Local agent already registered Check if lapi needs to register an additional agent time="2024-01-26T12:37:01Z" level=info msg="hub index is up to date" time="2024-01-26T12:37:01Z" level=info msg="Ignoring file /etc/crowdsec/hub/parsers/s02-enrich/crowdsecurity/whitelists.yaml of type parsers" time="2024-01-26T12:37:01Z" level=info msg="update for collection crowdsecurity/sshd available (currently:0.2, latest:0.3)" time="2024-01-26T12:37:01Z" level=info msg="crowdsecurity/traefik is tainted by outdated parsers:crowdsecurity/traefik-logs" time="2024-01-26T12:37:01Z" level=info msg="crowdsecurity/traefik is tainted by outdated collections:crowdsecurity/base-http-scenarios" time="2024-01-26T12:37:01Z" level=info msg="update for collection crowdsecurity/base-http-scenarios available (currently:0.6, latest:0.8)" time="2024-01-26T12:37:01Z" level=info msg="update for collection crowdsecurity/http-cve available (currently:2.1, latest:2.5)" Running: cscli collections upgrade "crowdsecurity/linux" time="2024-01-26T12:37:01Z" level=info msg="Ignoring file /etc/crowdsec/hub/parsers/s02-enrich/crowdsecurity/whitelists.yaml of type parsers" time="2024-01-26T12:37:01Z" level=fatal msg="can't upgrade crowdsecurity/linux: downloaded but not installed"
Hi, did you read the comments above how to resolve?
Hello @LaurenceJJones
Thanks for your reply,
im using docker-compose with no env variable:
version: "3.4"
services: crowdsec: image: crowdsecurity/crowdsec container_name: crowdsec networks:
volumes:
/var/log/crowdsec:/var/log/crowdsec:ro restart: always
crowdsec-traefik-bouncer: image: fbonalair/traefik-crowdsec-bouncer container_name: bouncer-traefik networks:
networks: proxy: external: true
Hi,
I rolled back to 1.5.5 and now everything is working properly
I had the same problem, after I've updated container today to the :latest
Both rollback to the :v1.5.5
and :dev
are working properly at the moment.
We have released a v1.6.0-1
tag (and updated latest
) with a fix for this.
What happened?
When I updated from 1.5.5 to 1.6.0 crowdsec failed with follwoing log
What did you expect to happen?
Crowdsec should migrate configuration to new version and start up.
How can we reproduce it (as minimally and precisely as possible)?
Have crowdsec container version 1.5.5 running with parser crowdsec/whitelists running and upgrade to v1.6.0 container
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.