Open luisccosta opened 1 year ago
What are your exact running commands?
docker-compose up
Did the first time set up finish ok ?
https://github.com/StamusNetworks/SELKS/wiki/Docker#installation
I think so. i got the last message saying do run docker compose to start
I think i figured out the problem. The ./easy-setup.sh script is not running correctly. I ran the commands listed in the documentation in the wiki/Manual-Docker-install and i don't have the error anymore. No i got another one:
ERROR: for suricata Cannot create container for service suricata: failed to mount local volume: mount /SELKS/docker/containers-data/suricata/logrotate:/var/lib/docker/volumes/selks_suricata-logrotate/_data, flags: 0x1000: no such file or directory
Dont now if something is still missing from the first time setup
Regarding the easy-setuo.sh script, i get the message below:
Do you want to use debug mode? [y/N]
y
./easy-setup.sh: line 823: break: only meaningful in a for',
while', or `until' loop
@luisccosta - can you please do
cd SELKS/docker/
docker compose down
cd ../
git pull
cd docker/
./easy_setup.sh..................
and rerun the setup again - we just merged some fixes today that addresses that error.
Do you install it by downloading the zip archive via Github?
I have encountered the same problem, and use git clone
instead of zip archive, then it works!
Anyone know the reason?
I think i figured out the problem. The ./easy-setup.sh script is not running correctly. I ran the commands listed in the documentation in the wiki/Manual-Docker-install and i don't have the error anymore. No i got another one:
ERROR: for suricata Cannot create container for service suricata: failed to mount local volume: mount /SELKS/docker/containers-data/suricata/logrotate:/var/lib/docker/volumes/selks_suricata-logrotate/_data, flags: 0x1000: no such file or directory
Dont now if something is still missing from the first time setup
got the same problem
sudo -E docker compose up -d
[sudo] password for ****:
WARN[0000] /home/******/docker/SELKS/docker/docker-compose.yml: `version` is obsolete
[+] Running 7/7
✔ Container scirius Recreated 0.1s
✔ Container evebox Recreated 0.1s
✔ Container nginx Recreated 0.1s
✔ Container arkime Recreated 0.1s
✔ Container cron Recreated 0.1s
✔ Container kibana Recreated 0.1s
✔ Container elasticsearch Recreated 0.1s
⠋ Container suricata Creating 0.1s
⠋ Container logstash Recreate 0.1s
Error response from daemon: failed to populate volume: error while mounting volume '/var/lib/docker/volumes/selks_suricata-logrotate/_data': failed to mount local volume: mount /home/*****/docker/SELKS/containers-data/suricata/logrotate:/var/lib/docker/volumes/selks_suricata-logrotate/_data, flags: 0x1000: no such file or directory
@maxdd did you manage to fix the issue somehow??? as I'm having the same issue... it was working then all of a sudden I started getting this error
I think this should help:
cd /opt/selksd/SELKS/ && \
git pull
./easy-setup.sh (putany custom options if needed here)
sudo -E docker compose up -d
ref: https://github.com/StamusNetworks/SELKS/wiki/Docker#basic-installation
Is there an existing issue for this?
Current Behavior
Suricata docker container wont start. Error from docker-compose:
Expected Behavior
No response
Steps To Reproduce
Docker version
Docker version 20.10.23+dfsg1, build 7155243
Docker version
docker-compose version 1.29.2, build unknown
OS Version
Debian GNU/Linux bookworm/sid
Content of the environnement File
COMPOSE_PROJECT_NAME=SELKS INTERFACES= -i eth0 RESTART_MODE=on-failure SCIRIUS_SECRET_KEY=RzZuxIzeR-QBPCRkkbzYIegmbG1ZfyiUOeqVZ0F5NWE
Version of SELKS
Latest version
Anything else?
No response