Installer fails

Yes, 18.04, to be clean its on LXD container. with ports open for inbount and outbound to a public static ip.

22                         ALLOW       Anywhere
53                         ALLOW       Anywhere
25/tcp                     ALLOW       Anywhere
587                        ALLOW       Anywhere
993                        ALLOW       Anywhere
995                        ALLOW       Anywhere
4190/tcp                   ALLOW       Anywhere
80                         ALLOW       Anywhere
443                        ALLOW       Anywhere

am going to check the setup.sh , look for
Initializing system random number generator... Creating SSH key for backup…
maybe i will be able to get an idea why it fails there.

i also made sure i have these packages.

apt-get install build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev
apt-get install python-pip
apt-get install python-all-dev python-setuptools python-wheel```

EDITE:
after following the guide, and had the problem mention, i tried to run installer manually.
```mailinabox/setup/start.sh
mailinabox/setup/start.sh: line 5: setup/functions.sh: No such file or directory
mailinabox/setup/start.sh: line 10: setup/preflight.sh: No such file or directory
mailinabox/setup/start.sh: line 34: setup/migrate.py: No such file or directory

ls -all mailinabox/setup/
total 180
drwxr-xr-x 2 root root  4096 Mar 12 18:36 .
drwxr-xr-x 8 root root  4096 Mar 12 17:58 ..
-rw-r--r-- 1 root root  2716 Mar 12 17:58 bootstrap.sh
-rwxr-xr-x 1 root root  3288 Mar 12 17:58 dkim.sh
-rwxr-xr-x 1 root root  4878 Mar 12 17:58 dns.sh
-rw-r--r-- 1 root root  1786 Mar 12 17:58 firstuser.sh
-rw-r--r-- 1 root root  7682 Mar 12 17:58 functions.sh
-rwxr-xr-x 1 root root  9478 Mar 12 17:58 mail-dovecot.sh
-rwxr-xr-x 1 root root 15038 Mar 12 17:58 mail-postfix.sh
-rwxr-xr-x 1 root root  6738 Mar 12 17:58 mail-users.sh
-rwxr-xr-x 1 root root  3982 Mar 12 17:58 management.sh
-rwxr-xr-x 1 root root  9989 Mar 12 17:58 migrate.py
-rwxr-xr-x 1 root root  3226 Mar 12 17:58 munin.sh
-rw-r--r-- 1 root root  2449 Mar 12 17:58 network-checks.sh
-rwxr-xr-x 1 root root 13906 Mar 12 17:58 nextcloud.sh
-rw-r--r-- 1 root root  2298 Mar 12 17:58 preflight.sh
-rw-r--r-- 1 root root  7802 Mar 12 17:58 questions.sh
-rwxr-xr-x 1 root root  6103 Mar 12 17:58 spamassassin.sh
-rwxr-xr-x 1 root root  3971 Mar 12 17:58 ssl.sh
-rwxr-xr-x 1 root root  6100 Mar 12 17:58 start.sh
-rwxr-xr-x 1 root root 14782 Mar 12 17:58 system.sh
-rwxr-xr-x 1 root root  7580 Mar 12 17:58 webmail.sh
-rwxr-xr-x 1 root root  5526 Mar 12 17:58 web.sh
-rwxr-xr-x 1 root root  3800 Mar 12 17:58 zpush.sh