-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scirius - Invalid user login after docker-compose #471
Comments
If this is a fresh install the defaults should work - |
This is not a fresh install. It is a production install with data, updated with ./easy-setup.sh script. |
And fresh SELKS docker install |
Hi michal25, |
I updated the old SELKS containers via this script: From this point the Scirius Invalid logon issue occurs. And now: root@SELKS2:~# docker exec -it scirius bash First problem - the selks-user is not known. so create_or_restore_scirius_superuser root@aeacdffe6e9e:/# python3 /opt/scirius/manage.py create_or_restore_scirius_superuser -u selks-user -p selks-user Now I restarted all selks containers via portainer and try to login via selks-user / selks-user WOW. Now I can log in this selks/suricata probe, but no data, no rulesets, nothing. |
BUT! |
One more thing. (Ubuntu server 64 bit 22.04) |
At this time I can log to one probe (but data cleared), the second probe stll refuse the login. |
After container update in the first probe: Result is this: PULLING CONTAINERS####################### WARN[0000] /opt/SELKS/docker/docker-compose.yml: To start SELKS, run 'sudo -E docker compose up -d' WARN[0000] /opt/SELKS/docker/docker-compose.yml: root@suricata:~# docker exec -it scirius bash You have 141 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): accounts, auth, authtoken, contenttypes, rules, sessions, suricata. The above exception was the direct cause of the following exception: Traceback (most recent call last): Of cource, I can provide and this command will migrate the python rulse, but the effect is (every time), this python3 /opt/scirius/manage.py changepassword selks-user And the nologin problem remains. |
The upgrade should be like so https://github.com/StamusNetworks/SELKS/wiki/Docker#upgrade-all-containers |
git pull reports an error and aborted root@SELKS2:/SELKS/docker# git pull
The result is still the same. No login. |
are all containers up and running:
|
No way. Install selks/docker from scratch Now I can run the new selks, put back the suricata.yaml, selks6-addin.yaml parameters and restart selks and suricata caintainers. Here is the reinstall procedure: ` Removing containers along with their data dpkg --purge docker-buildx-plugin docker-ce-cli docker-ce-rootless-extras docker-ce docker-compose-plugin docker wmdocker Basic installation Restarting containers Password reset docker exec -it scirius bash |
Thanks @michal25, your steps worked for me too. |
After docker-compose provided by this script:
#!/bin/bash
cd /SELKS/docker
./easy-setup.sh --non-interactive -i enp0s31f6 --iA --restart-mode always --es-memory 4G --ls-memory 4G
docker-compose pull
##sudo -E docker-compose up -d
##sudo -E docker-compose up -d --force-recreate
sudo -E docker compose up -d --force-recreate
Scirius results with no user/admin login possible (screenshot)
suricata-build.txt
Password reset script works, but with no result.
https://github.com/StamusNetworks/SELKS/wiki/Docker#password-reset
Any idea to repair?
Best regards
Michal
The text was updated successfully, but these errors were encountered: