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

First start issue #237

Open
JetDanTe opened this issue Jun 30, 2021 · 5 comments
Open

First start issue #237

JetDanTe opened this issue Jun 30, 2021 · 5 comments

Comments

@JetDanTe
Copy link

After install .iso on VM I were started first start and selks upgrade commands.
They were executed success but scirius was stopped.
When I start to rerun first start I will get new error:
`Added
Traceback (most recent call last):
File "bin/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/share/python/scirius/lib/python3.7/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/share/python/scirius/lib/python3.7/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/share/python/scirius/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/share/python/scirius/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/usr/share/python/scirius/lib/python3.7/site-packages/rules/management/commands/kibana_reset.py", line 34, in handle
self.kibana_reset()
File "/usr/share/python/scirius/lib/python3.7/site-packages/rules/es_data.py", line 1981, in kibana_reset
if not os.path.isdir(self._get_dashboard_dir()):
File "/usr/share/python/scirius/lib/python3.7/site-packages/rules/es_data.py", line 1909, in _get_dashboard_dir
kibana7_path = getattr(settings, 'KIBANA7_DASHBOARDS_PATH')
File "/usr/share/python/scirius/lib/python3.7/site-packages/django/conf/init.py", line 80, in getattr
val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'KIBANA7_DASHBOARDS_PATH'
Dashboards loading set up job failed...Exiting...

Exited with ERROR ###`

'KIBANA7_DASHBOARDS_PATH' var exist in settings.py

@pevma
Copy link
Member

pevma commented Jun 30, 2021

Hi,

Are you using the SELKS iso?
Just checking if you did you do the first time setup - https://github.com/StamusNetworks/SELKS/wiki/First-time-setup

Thank you

@JetDanTe
Copy link
Author

JetDanTe commented Jul 1, 2021

In my post below I wrote After install .iso on VM I were started first start and selks upgrade commands.
It`s mean I already start fisrt time script and get some errors. After read github issues I try to start first time again.

@pevma
Copy link
Member

pevma commented Jul 1, 2021

Can you enable the test repo and retry

cat /etc/apt/sources.list.d/selks6.list 

deb http://packages.stamus-networks.com/selks6/debian/ buster main
deb http://packages.stamus-networks.com/selks6/debian-kernel/ buster main
deb http://packages.stamus-networks.com/selks6/debian-test/ buster main

Would that make things better ?

@JetDanTe
Copy link
Author

JetDanTe commented Jul 6, 2021

Nope. Test repo enabled already.

@pevma
Copy link
Member

pevma commented Jul 6, 2021

Do you have enough resources for the VM as per the minimum requirements?
You first need to run the setup command, that automatically invokes any upgrades if needed -is that the case?
One more question - you have not done any manual edits to the scirius config - just following the wiki correct?

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