StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
635 stars 150 forks source link

Can't update source, error 500 #109

Open flegmatik opened 7 years ago

flegmatik commented 7 years ago

Fresh install, I'm trying to add first source, but updating fails. Scirius dies after that and needs to be restarted.

pevma commented 7 years ago

Which Scirius version are you trying out?

flegmatik commented 7 years ago

Version 1.2.2 from master branch

regit commented 7 years ago

@flegmatik Do you have correct permission on the directory for the source ? Also getting backtrace would really help to help you.

pevma commented 7 years ago

for info - I did source update on the SLEKS4 test upgrade which comes with Scirius 1.2.2 - worked fine in my case.

flegmatik commented 7 years ago

What are the correct permissions? There is nothing mentioned in documentation.

pevma commented 7 years ago

Can you try -

chown www-data /var/log/scirius*
chown -R www-data /var/lib/scirius/git-sources/
chown -R www-data /var/lib/scirius/db/
chown -R www-data.www-data /etc/suricata/rules/