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

🐞💿 selks-first-time-setup_stamus command not found #458

Open
1 task done
karl20012023 opened this issue Dec 4, 2023 · 3 comments
Open
1 task done

🐞💿 selks-first-time-setup_stamus command not found #458

karl20012023 opened this issue Dec 4, 2023 · 3 comments

Comments

@karl20012023
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Fresh install Selks 7 desktop and no-desktop then execute selks-first-time-setup_stamus but it says command not found

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

@pevma
Copy link
Member

pevma commented Dec 5, 2023

You might want to do git pull before that:
https://github.com/StamusNetworks/SELKS/wiki/Docker-ISO-setup#first-time-setup

@karl20012023
Copy link
Author

karl20012023 commented Dec 5, 2023

Hi. Still no luck.

root@SELKS:/opt/selksd/SELKS# git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
remote: Enumerating objects: 486, done.
remote: Counting objects: 100% (258/258), done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 486 (delta 164), reused 226 (delta 160), pack-reused 228
Receiving objects: 100% (486/486), 153.87 KiB | 10.26 MiB/s, done.
Resolving deltas: 100% (300/300), completed with 11 local objects.
From https://github.com/StamusNetworks/SELKS
   2aa150e..2fc5391  master     -> origin/master
Updating 2aa150e..2fc5391
Fast-forward
 README.rst                                                       |  154 +---
 build-debian-live.sh                                             |   90 +--
 doc/example-logs/PSEXEC-RCE-network-monitoring-logs-example.json | 3190 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 docker/Arkime/Arkime.dockerfile                                  |    3 +-
 docker/containers-data/suricata/etc/selks6-addin.yaml            |    3 +-
 docker/docker-compose.yml                                        |   40 +-
 docker/easy-setup.sh                                             |   44 +-
 kubernetes/README.md                                             |  113 +++
 kubernetes/arkime/arkime-configmap.yaml                          |  390 +++++++++++
 kubernetes/arkime/arkime-deployment.yaml                         |   81 +++
 kubernetes/arkime/arkime-pv.yaml                                 |   26 +
 kubernetes/arkime/arkime-pvc.yaml                                |   17 +
 kubernetes/arkime/arkime-secret.yaml                             |    8 +
 kubernetes/arkime/arkime-service.yaml                            |   18 +
 kubernetes/common/logging-ns.yaml                                |    8 +
 kubernetes/common/networkpolicies.yaml                           |  514 ++++++++++++++
 kubernetes/common/storageclass.yaml                              |    8 +
 kubernetes/common/suricata-ns.yaml                               |    8 +
 kubernetes/elasticsearch/elasticsearch-pv.yaml                   |   26 +
 kubernetes/elasticsearch/elasticsearch-pvc.yaml                  |   17 +
 kubernetes/elasticsearch/elasticsearch-service.yaml              |   33 +
 kubernetes/elasticsearch/elasticsearch-statefulset.yaml          |  243 +++++++
 kubernetes/evebox/evebox-deployment.yaml                         |   72 ++
 kubernetes/evebox/evebox-service.yaml                            |   17 +
 kubernetes/fluentd_fluent-bit/Dockerfile                         |    8 +
 kubernetes/fluentd_fluent-bit/fluentbit-configmap.yaml           |  265 +++++++
 kubernetes/fluentd_fluent-bit/fluentbit-daemonset.yaml           |  155 ++++
 kubernetes/fluentd_fluent-bit/fluentbit-service.yaml             |   18 +
 kubernetes/fluentd_fluent-bit/fluentd-configmap.yaml             |  335 +++++++++
 kubernetes/fluentd_fluent-bit/fluentd-deployment.yaml            |   98 +++
 kubernetes/fluentd_fluent-bit/fluentd-service.yaml               |   18 +
 kubernetes/install.sh                                            |   63 ++
 kubernetes/kibana/kibana-dashboards-job.yaml                     |   36 +
 kubernetes/kibana/kibana-deployment.yaml                         |  135 ++++
 kubernetes/kibana/kibana-service.yaml                            |   18 +
 kubernetes/logstash_filebeat/filebeat-configmap.yaml             |   28 +
 kubernetes/logstash_filebeat/filebeat-daemonset.yaml             |  124 ++++
 kubernetes/logstash_filebeat/logstash-configmap.yaml             |  306 ++++++++
 kubernetes/logstash_filebeat/logstash-service.yaml               |   18 +
 kubernetes/logstash_filebeat/logstash-statefulset.yaml           |  108 +++
 kubernetes/nginx/nginx-configmap.yaml                            |  185 +++++
 kubernetes/nginx/nginx-deployment.yaml                           |  115 +++
 kubernetes/nginx/nginx-ingress.yaml                              |   24 +
 kubernetes/nginx/nginx-owasp-configmap.yaml                      |  240 +++++++
 kubernetes/nginx/nginx-owasp-deployment.yaml                     |  145 ++++
 kubernetes/nginx/nginx-owasp-service.yaml                        |   20 +
 kubernetes/nginx/nginx-service.yaml                              |   20 +
 kubernetes/scirius/scirius-cronjob.yaml                          |   95 +++
 kubernetes/scirius/scirius-deployment.yaml                       |  140 ++++
 kubernetes/scirius/scirius-pv.yaml                               |   80 +++
 kubernetes/scirius/scirius-pvc.yaml                              |   51 ++
 kubernetes/scirius/scirius-secret.yaml                           |    9 +
 kubernetes/scirius/scirius-service.yaml                          |   18 +
 kubernetes/suricata/suricata-configmap.yaml                      | 1124 +++++++++++++++++++++++++++++
 kubernetes/suricata/suricata-cronjob.yaml                        |   94 +++
 kubernetes/suricata/suricata-daemonset.yaml                      |  187 +++++
 kubernetes/suricata/suricata-pv.yaml                             |  107 +++
 kubernetes/suricata/suricata-pvc.yaml                            |   80 +++
 kubernetes/suricata/suricata-stdout.yaml                         |  116 +++
 staging/config/hooks/live/chroot-inside-Debian-Live.hook.chroot  |  392 +++--------
 staging/usr/share/applications/Evebox.desktop                    |    2 +-
 staging/usr/share/applications/FirstTime-Setup.desktop           |   13 -
 staging/usr/share/applications/Scirius.desktop                   |    2 +-
 staging/usr/share/applications/Setup-IDS-Interface.desktop       |   13 -
 staging/usr/share/applications/Upgrade-SELKS.desktop             |   14 -
 staging/wallpaper/joy-wallpaper_1920x1080.svg                    |  156 +----
 66 files changed, 9584 insertions(+), 714 deletions(-)
 create mode 100644 doc/example-logs/PSEXEC-RCE-network-monitoring-logs-example.json
 create mode 100644 kubernetes/README.md
 create mode 100644 kubernetes/arkime/arkime-configmap.yaml
 create mode 100644 kubernetes/arkime/arkime-deployment.yaml
 create mode 100644 kubernetes/arkime/arkime-pv.yaml
 create mode 100644 kubernetes/arkime/arkime-pvc.yaml
 create mode 100644 kubernetes/arkime/arkime-secret.yaml
 create mode 100644 kubernetes/arkime/arkime-service.yaml
 create mode 100644 kubernetes/common/logging-ns.yaml
 create mode 100644 kubernetes/common/networkpolicies.yaml
 create mode 100644 kubernetes/common/storageclass.yaml
 create mode 100644 kubernetes/common/suricata-ns.yaml
 create mode 100644 kubernetes/elasticsearch/elasticsearch-pv.yaml
 create mode 100644 kubernetes/elasticsearch/elasticsearch-pvc.yaml
 create mode 100644 kubernetes/elasticsearch/elasticsearch-service.yaml
 create mode 100644 kubernetes/elasticsearch/elasticsearch-statefulset.yaml
 create mode 100644 kubernetes/evebox/evebox-deployment.yaml
 create mode 100644 kubernetes/evebox/evebox-service.yaml
 create mode 100644 kubernetes/fluentd_fluent-bit/Dockerfile
 create mode 100644 kubernetes/fluentd_fluent-bit/fluentbit-configmap.yaml
 create mode 100644 kubernetes/fluentd_fluent-bit/fluentbit-daemonset.yaml
 create mode 100644 kubernetes/fluentd_fluent-bit/fluentbit-service.yaml
 create mode 100644 kubernetes/fluentd_fluent-bit/fluentd-configmap.yaml
 create mode 100644 kubernetes/fluentd_fluent-bit/fluentd-deployment.yaml
 create mode 100644 kubernetes/fluentd_fluent-bit/fluentd-service.yaml
 create mode 100644 kubernetes/install.sh
 create mode 100644 kubernetes/kibana/kibana-dashboards-job.yaml
 create mode 100644 kubernetes/kibana/kibana-deployment.yaml
 create mode 100644 kubernetes/kibana/kibana-service.yaml
 create mode 100644 kubernetes/logstash_filebeat/filebeat-configmap.yaml
 create mode 100644 kubernetes/logstash_filebeat/filebeat-daemonset.yaml
 create mode 100644 kubernetes/logstash_filebeat/logstash-configmap.yaml
 create mode 100644 kubernetes/logstash_filebeat/logstash-service.yaml
 create mode 100644 kubernetes/logstash_filebeat/logstash-statefulset.yaml
 create mode 100644 kubernetes/nginx/nginx-configmap.yaml
 create mode 100644 kubernetes/nginx/nginx-deployment.yaml
 create mode 100644 kubernetes/nginx/nginx-ingress.yaml
 create mode 100644 kubernetes/nginx/nginx-owasp-configmap.yaml
 create mode 100644 kubernetes/nginx/nginx-owasp-deployment.yaml
 create mode 100644 kubernetes/nginx/nginx-owasp-service.yaml
 create mode 100644 kubernetes/nginx/nginx-service.yaml
 create mode 100644 kubernetes/scirius/scirius-cronjob.yaml
 create mode 100644 kubernetes/scirius/scirius-deployment.yaml
 create mode 100644 kubernetes/scirius/scirius-pv.yaml
 create mode 100644 kubernetes/scirius/scirius-pvc.yaml
 create mode 100644 kubernetes/scirius/scirius-secret.yaml
 create mode 100644 kubernetes/scirius/scirius-service.yaml
 create mode 100644 kubernetes/suricata/suricata-configmap.yaml
 create mode 100644 kubernetes/suricata/suricata-cronjob.yaml
 create mode 100644 kubernetes/suricata/suricata-daemonset.yaml
 create mode 100644 kubernetes/suricata/suricata-pv.yaml
 create mode 100644 kubernetes/suricata/suricata-pvc.yaml
 create mode 100644 kubernetes/suricata/suricata-stdout.yaml
 mode change 100644 => 100755 staging/usr/share/applications/Evebox.desktop
 delete mode 100644 staging/usr/share/applications/FirstTime-Setup.desktop
 mode change 100644 => 100755 staging/usr/share/applications/Scirius.desktop
 delete mode 100644 staging/usr/share/applications/Setup-IDS-Interface.desktop
 delete mode 100644 staging/usr/share/applications/Upgrade-SELKS.desktop
root@SELKS:/opt/selksd/SELKS# ls
build-debian-live.sh  doc  docker  install-deps.sh  kubernetes  LICENSE  README.rst  scripts  staging
root@SELKS:/opt/selksd/SELKS# selks-first-time-setup_stamus
bash: selks-first-time-setup_stamus: command not found
root@SELKS:/opt/selksd/SELKS# sudo selks-first-time-setup_stamus
sudo: selks-first-time-setup_stamus: command not found
root@SELKS:/opt/selksd/SELKS# sudo find / -iname *First*
/opt/selksd/SELKS/staging/usr/share/polkit-1/actions/org.stamusnetworks.firsttimesetup.policy
/root/Desktop/FirstTimeSetup.txt
/proc/sys/kernel/sched_child_runs_first
/proc/sys/net/ipv4/neigh/default/delay_first_probe_time
/proc/sys/net/ipv4/neigh/docker0/delay_first_probe_time
/proc/sys/net/ipv4/neigh/ens160/delay_first_probe_time
/proc/sys/net/ipv4/neigh/lo/delay_first_probe_time
/proc/sys/net/ipv6/neigh/default/delay_first_probe_time
/proc/sys/net/ipv6/neigh/docker0/delay_first_probe_time
/proc/sys/net/ipv6/neigh/ens160/delay_first_probe_time
/proc/sys/net/ipv6/neigh/lo/delay_first_probe_time
/etc/skel/Desktop/FirstTimeSetup.txt
/usr/share/polkit-1/actions/org.stamusnetworks.firsttimesetup.policy
/usr/share/perl/5.32.1/CPAN/FirstTime.pm
/usr/share/icons/Adwaita/256x256/legacy/go-first.png
/usr/share/icons/Adwaita/256x256/legacy/go-first-rtl.png
/usr/share/icons/Adwaita/32x32/actions/go-first-symbolic.symbolic.png
/usr/share/icons/Adwaita/32x32/actions/go-first-symbolic-rtl.symbolic.png
/usr/share/icons/Adwaita/32x32/legacy/go-first.png
/usr/share/icons/Adwaita/32x32/legacy/go-first-rtl.png
/usr/share/icons/Adwaita/16x16/actions/go-first-symbolic.symbolic.png
/usr/share/icons/Adwaita/16x16/actions/go-first-symbolic-rtl.symbolic.png
/usr/share/icons/Adwaita/16x16/legacy/go-first.png
/usr/share/icons/Adwaita/16x16/legacy/go-first-rtl.png
/usr/share/icons/Adwaita/22x22/legacy/go-first.png
/usr/share/icons/Adwaita/22x22/legacy/go-first-rtl.png
/usr/share/icons/Adwaita/64x64/actions/go-first-symbolic.symbolic.png
/usr/share/icons/Adwaita/64x64/actions/go-first-symbolic-rtl.symbolic.png
/usr/share/icons/Adwaita/96x96/actions/go-first-symbolic.symbolic.png
/usr/share/icons/Adwaita/96x96/actions/go-first-symbolic-rtl.symbolic.png
/usr/share/icons/Adwaita/24x24/actions/go-first-symbolic.symbolic.png
/usr/share/icons/Adwaita/24x24/actions/go-first-symbolic-rtl.symbolic.png
/usr/share/icons/Adwaita/24x24/legacy/go-first.png
/usr/share/icons/Adwaita/24x24/legacy/go-first-rtl.png
/usr/share/icons/Adwaita/scalable/actions/go-first-symbolic.svg
/usr/share/icons/Adwaita/scalable/actions/go-first-symbolic-rtl.svg
/usr/share/icons/Adwaita/48x48/actions/go-first-symbolic.symbolic.png
/usr/share/icons/Adwaita/48x48/actions/go-first-symbolic-rtl.symbolic.png
/usr/share/icons/Adwaita/48x48/legacy/go-first.png
/usr/share/icons/Adwaita/48x48/legacy/go-first-rtl.png
/usr/share/man/man1/make-first-existing-target.1.gz
/usr/lib/systemd/system/first-boot-complete.target
/usr/bin/make-first-existing-target
/home/selks-user/Desktop/FirstTimeSetup.txt
/sys/fs/ext4/dm-0/first_error_ino
/sys/fs/ext4/dm-0/first_error_line
/sys/fs/ext4/dm-0/first_error_time
/sys/fs/ext4/dm-0/first_error_func
/sys/fs/ext4/dm-0/first_error_errcode
/sys/fs/ext4/dm-0/first_error_block
/sys/fs/ext4/sda1/first_error_ino
/sys/fs/ext4/sda1/first_error_line
/sys/fs/ext4/sda1/first_error_time
/sys/fs/ext4/sda1/first_error_func
/sys/fs/ext4/sda1/first_error_errcode
/sys/fs/ext4/sda1/first_error_block
/sys/module/usbcore/parameters/old_scheme_first
/sys/module/rcutree/parameters/jiffies_till_first_fqs
root@SELKS:/opt/selksd/SELKS# sudo find / -iname *FirstTime*
/opt/selksd/SELKS/staging/usr/share/polkit-1/actions/org.stamusnetworks.firsttimesetup.policy
/root/Desktop/FirstTimeSetup.txt
/etc/skel/Desktop/FirstTimeSetup.txt
/usr/share/polkit-1/actions/org.stamusnetworks.firsttimesetup.policy
/usr/share/perl/5.32.1/CPAN/FirstTime.pm
/home/selks-user/Desktop/FirstTimeSetup.txt

root@SELKS:/opt/selksd/SELKS# sudo selks-first-time-setup_stamus
sudo: selks-first-time-setup_stamus: command not found

@pevma
Copy link
Member

pevma commented Dec 5, 2023

You run an old command that does not exist anymore ( selks-first-time-setup_stamus), please run the first time set up as per the documentation link here - https://github.com/StamusNetworks/SELKS/wiki/Docker-ISO-setup#first-time-setup

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