Command 'sb' not found

After running the install script below on both 18.04 and 20.04 I get the error “Command ‘sb’ not found” so I am unable to continue with install and configuration. Please see the complete install log below.

curl -fsSl https://raw.githubusercontent.com/sudobox-io/sb-install/master/install.sh | sudo bash && source ~/.bashrc && sb
--------------- Sudobox Installer ---------------
  Pre Installer for SudoBox.io
  Version 0.0.1
  All documentation can be found at https://docs.sudobox.io

  Tasks :
     - Create SudoBox installation directories at /opt/sudobox
     - Install Docker & Docker-Compose
     - Create Docker Networks: sudobox & sudobox_private
     - Install the SudoBox CLI, Backend & Database Containers

     This script will run automatically in 10 seconds. Please exit if you wish to abort!


Proceeding with the Pre Installation...
Created SudoBox Directories
Installing and ensuring your system is upto date
Proceeding with installation dependencies...
Installing Docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20210119~20.04.2).
ca-certificates set to manually installed.
curl is already the newest version (7.68.0-1ubuntu2.7).
curl set to manually installed.
software-properties-common is already the newest version (0.99.9.8).
software-properties-common set to manually installed.
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,680 B of archives.
After this operation, 162 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.6 [4,680 B]
Fetched 4,680 B in 0s (55.6 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 71778 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.0.6_all.deb ...
Unpacking apt-transport-https (2.0.6) ...
Setting up apt-transport-https (2.0.6) ...
OK
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,608 kB]
Get:7 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [13.7 kB]
Fetched 2,015 kB in 1s (1,995 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  containerd.io docker-ce-cli docker-ce-rootless-extras docker-scan-plugin pigz slirp4netns
Suggested packages:
  aufs-tools cgroupfs-mount | cgroup-lite
The following NEW packages will be installed:
  containerd.io docker-ce docker-ce-cli docker-ce-rootless-extras docker-scan-plugin pigz slirp4netns
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 97.2 MB of archives.
After this operation, 409 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 pigz amd64 2.4-1 [57.4 kB]
Get:2 https://download.docker.com/linux/ubuntu focal/stable amd64 containerd.io amd64 1.4.13-1 [23.7 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 slirp4netns amd64 0.4.3-1 [74.3 kB]
Get:4 https://download.docker.com/linux/ubuntu focal/stable amd64 docker-ce-cli amd64 5:20.10.12~3-0~ubuntu-focal [40.7 MB]
Get:5 https://download.docker.com/linux/ubuntu focal/stable amd64 docker-ce amd64 5:20.10.12~3-0~ubuntu-focal [21.2 MB]
Get:6 https://download.docker.com/linux/ubuntu focal/stable amd64 docker-ce-rootless-extras amd64 5:20.10.12~3-0~ubuntu-focal [7,921 kB]
Get:7 https://download.docker.com/linux/ubuntu focal/stable amd64 docker-scan-plugin amd64 0.12.0~ubuntu-focal [3,518 kB]
Fetched 97.2 MB in 3s (37.7 MB/s)
Selecting previously unselected package pigz.
(Reading database ... 71782 files and directories currently installed.)
Preparing to unpack .../0-pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../1-containerd.io_1.4.13-1_amd64.deb ...
Unpacking containerd.io (1.4.13-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../2-docker-ce-cli_5%3a20.10.12~3-0~ubuntu-focal_amd64.deb ...
Unpacking docker-ce-cli (5:20.10.12~3-0~ubuntu-focal) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../3-docker-ce_5%3a20.10.12~3-0~ubuntu-focal_amd64.deb ...
Unpacking docker-ce (5:20.10.12~3-0~ubuntu-focal) ...
Selecting previously unselected package docker-ce-rootless-extras.
Preparing to unpack .../4-docker-ce-rootless-extras_5%3a20.10.12~3-0~ubuntu-focal_amd64.deb ...
Unpacking docker-ce-rootless-extras (5:20.10.12~3-0~ubuntu-focal) ...
Selecting previously unselected package docker-scan-plugin.
Preparing to unpack .../5-docker-scan-plugin_0.12.0~ubuntu-focal_amd64.deb ...
Unpacking docker-scan-plugin (0.12.0~ubuntu-focal) ...
Selecting previously unselected package slirp4netns.
Preparing to unpack .../6-slirp4netns_0.4.3-1_amd64.deb ...
Unpacking slirp4netns (0.4.3-1) ...
Setting up slirp4netns (0.4.3-1) ...
Setting up docker-scan-plugin (0.12.0~ubuntu-focal) ...
Setting up containerd.io (1.4.13-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up docker-ce-cli (5:20.10.12~3-0~ubuntu-focal) ...
Setting up pigz (2.4-1) ...
Setting up docker-ce-rootless-extras (5:20.10.12~3-0~ubuntu-focal) ...
Setting up docker-ce (5:20.10.12~3-0~ubuntu-focal) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.15) ...
Installing docker-compose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   664  100   664    0     0  10060      0 --:--:-- --:--:-- --:--:-- 10060
100 12.1M  100 12.1M    0     0  22.4M      0 --:--:-- --:--:-- --:--:-- 22.4M
Creating Docker Network sudobox
07675c2e95775e0f2cc004a16a33c20ac73214479c7adfea04b6a31dcb2033d2
Created Docker Network sudobox
Creating Docker Network sudobox_private
fe14351bd071302ad9f325e49f344e8aabb1c59af39a3faf4978413e0469ae24
Created Docker Network sudobox_private
Created SudoBox backend compose file
Pulling sb_database (mongo:latest)...
latest: Pulling from library/mongo
7c3b88808835: Pull complete
48a403577c28: Pull complete
76bbb7dc9013: Pull complete
e81b1e5a386b: Pull complete
7bdc1db49ec9: Pull complete
7b2f602f894c: Pull complete
627a84bea5f4: Pull complete
fc06fa2a9f52: Pull complete
0133c89ee92b: Pull complete
4e990167b745: Pull complete
Digest: sha256:b0abf19259902648be5ac17479dd4c65e037c3292c9eb09181f087687bca5102
Status: Downloaded newer image for mongo:latest
Pulling sb_backend (ghcr.io/sudobox-io/sb-backend:)...
latest: Pulling from sudobox-io/sb-backend
10c977277674: Pull complete
b17fa4dcb0e9: Pull complete
158053e1d4c4: Pull complete
b673f15da7eb: Pull complete
c11029dc4587: Pull complete
44a1a4de1ab0: Pull complete
e8e1f3133fcd: Pull complete
1686278d2d30: Pull complete
75e111767f8b: Pull complete
44fef1696627: Pull complete
656d20f6f015: Pull complete
9e6eddea377a: Pull complete
f71ea191575c: Pull complete
9b34e86bb687: Pull complete
5f886e67a336: Pull complete
442e6d8c7e73: Pull complete
066418206244: Pull complete
97f46d630177: Pull complete
ca2619c1ca9f: Pull complete
0f11d0f195a8: Pull complete
Digest: sha256:5eddd466cfc84857c163ef5479bf087b57627b5c7711f01b2866a1c9c3f5dec3
Status: Downloaded newer image for ghcr.io/sudobox-io/sb-backend:latest
Creating sb-database ... done
Creating sb-backend  ... done
Created SudoBox backend Continaer


Finished installing all Dependencies, Moving to CLI Questions...
You can run SudoBox CLI at anytime using 'sb' or 'sudobox'


Command 'sb' not found, but can be installed with:

sudo apt install lrzsz

I too have run into this problem. The SudoBox Discord has some discussion around this and the devs have acknowledged the problem and are working on a fix.

In the meantime you can run the following command :

sudo docker run -it --network=sudobox_private -v /opt/sudobox/configs:/configs --rm --name sb-cli ghcr.io/sudobox-io/sb-cli && clear

Which is the same as if you typed “sb” or “sudobox”

The fix is due out soon.

For the latest updates join the SudoBox Discord server.

The fix for this has been pushed, please try again and let us know how you get on!