Skip to content

Getting wierd random erros from Crowdsec in terminal #1449

Answered by Zoey2936
DJKatastrof asked this question in Q&A
Discussion options

You must be logged in to vote

I think I found the error:
1.

[...]
    volumes:
      - ./npmplus:/data
[...]
    volumes:
      - ./npmplus/crowdsec/conf:/etc/crowdsec
      - ./npmplus/crowdsec/data:/var/lib/crowdsec/data
      - ./npmplus/nginx:/opt/npmplus/nginx:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro

npmplus creates a folder called crowdsec in the /data folder which can make trubbel, please delete the ./npmplus/crowdsec folder and restart npmplus so it will recreated and you can configure it again. and for the crowdsec container you should change the paths to for example:

    volumes:
      - ./crowdsec/conf:/etc/crowdsec
      - ./crowdsec/data:/var/lib/crowdsec/data
      - ./npmplus/nginx:/opt/…

Replies: 6 comments 11 replies

Comment options

You must be logged in to vote
2 replies
@DJKatastrof
Comment options

@Zoey2936
Comment options

Comment options

You must be logged in to vote
1 reply
@Zoey2936
Comment options

Comment options

You must be logged in to vote
1 reply
@Zoey2936
Comment options

Comment options

You must be logged in to vote
1 reply
@Zoey2936
Comment options

Comment options

You must be logged in to vote
2 replies
@Zoey2936
Comment options

Answer selected by Zoey2936
@DJKatastrof
Comment options

Comment options

You must be logged in to vote
4 replies
@Zoey2936
Comment options

@DJKatastrof
Comment options

@Zoey2936
Comment options

@DJKatastrof
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants