Skip to content
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

Fails on sources updating #290

Open
woundride opened this issue Jul 27, 2023 · 3 comments
Open

Fails on sources updating #290

woundride opened this issue Jul 27, 2023 · 3 comments

Comments

@woundride
Copy link

I've updated Scirius container on 2023/07/24

From update, only first source is automatically updated.

Sometimes, when I try to update mannually, I receive error message : database is locked.

fail_update_sources_selks

@pevma
Copy link
Member

pevma commented Jul 28, 2023

Thanks for posting the report.
I can not reproduce the problem locally.
What version of Scirius are you using ?

In my case i just clicked on fetch and update all sources from the Suricata tab (Ruleset acions - and select all actions: update, build,push)
Screenshot from 2023-07-28 11-00-02
Screenshot from 2023-07-28 10-59-01

@woundride
Copy link
Author

Thanks for your reply @pevma !

I've the last version of Scirius, alwalys tagged 3.8.0, but it's updated (new date in © section) :

scirius_version

Another issue observed when I try to update mannually all sources from Suricata > Ruleset actions :

update_all_sources

I receive Server error 500 :

error_500

@pevma
Copy link
Member

pevma commented Jul 30, 2023

I think you should pull/update git to the latets selks code then build.
I tested and locally forks as expected.
Example:
Hi,
I just tested the sequence - it works fine/as expected. What you should do first is git pull the SELKS master then build, so you don't end up with the development version.
Basically just an example setup run command below in terms of memory (16GB), interface (dummy0) and ELK version (7.17.11) setting up if you want to switch to different ELK version:

 cd SELKS
 git pull
 docker compose stop
./easy-setup.sh -n --iA --es-memory 16G -i dummy0  --elk-version 7.17.11  ;
 sudo -E docker compose up -d


https://github.com/StamusNetworks/SELKS/wiki/Docker#upgrade-all-containers

Of course , as always , following a good practice - please test in QA/Dev setup before doing in prod :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants