Crowdsec won't create Bouncer API Key

Since the official repro was moved to migrated in v4.0.0 update. The first command line doesn't work anymore. So, I have to enter docker ps to grab the correct docker container. docker exec -t crowdsec cscli bouncers add crowdsec-bouncer-traefik Error response from daemon: No such container: crowdsec After enter this command line with correct docker container. It won't create Bouncer API Key. docker exec -t crowdsec_migrated-crowdsec-bouncer-traefik-1 cscli bouncers add crowdsec-bouncer-traefik OCI runtime exec failed: exec failed: unable to start container process: exec: "cscli": executable file not found in $PATH I think you need to fix docker containers on all apps in official repro. Because it may cause issues for other apps too.
4 Replies
InfBoumcyCastle
you are adressing the wrong container
ABOhiccups
ABOhiccupsOP5d ago
You're right! I ended up copy the wrong container! Thank you for correcting me! I wish all Runtipi apps go back to original Docker Container names after moving to merged directory without causing more confusing.
InfBoumcyCastle
yeah - i am giving it another week before i make the jump. will read through the documentation regarding that. maybe ist as "easy" as instaling the app again from the store and moving data from "migrated" to that. but i dont know if this is an option even
Nicolas
Nicolas5d ago
We have acknowledged this issue and will provide a way to exec in the container using the cli ./runtipi-cli app exec crowdsec:migrated whatever

Did you find this page helpful?