Solved DirectAdmin Ubuntu installation

AhmetBas

Verified User
Joined
Oct 28, 2020
Messages
48
Hello,

On a fresh Ubuntu 20.04 installation I have the following issue:


Code:
root@host:/usr/local# bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto
.
[setup.sh] Welcome to DirectAdmin installer!

[setup.sh] Using these parameters for the installation:
                License Key: xxx
                 DA_CHANNEL: current
                   DA_EMAIL: xxx
                DA_HOSTNAME: xxx
                     DA_NS1: xxx
                     DA_NS2: xxx
            DA_SKIP_FASTEST: no
                DA_SKIP_CSF: no
      DA_SKIP_MYSQL_INSTALL: no
         DA_SKIP_SECURE_PHP: no
        DA_SKIP_CUSTOMBUILD: no
 DA_INTERACTIVE_CUSTOMBUILD: no
  DA_FOREGROUND_CUSTOMBUILD: no

[setup.sh] Checking for latest build in 'current' release channel...
[setup.sh] Downloading DirectAdmin distribution package directadmin_a8caa4b51bf9f33d65733243f700449caed5798a_linux_amd64.tar.gz...
################################################################################################################################################################################# 100.0%
[setup.sh] Extracting DirectAdmin package directadmin_a8caa4b51bf9f33d65733243f700449caed5798a_linux_amd64.tar.gz to /usr/local/directadmin ...
[setup.sh] Starting installation...
This appears to be Debian version bullseye/sid which is Debian 11
* Installing pre-install packages ....
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl-modules-5.30' instead of 'perl-modules'
Note, selecting 'python-is-python2' instead of 'python'
autoconf is already the newest version (2.69-11.1).
automake is already the newest version (1:1.16.1-4ubuntu6).
bison is already the newest version (2:3.5.1+dfsg-1).
bzip2 is already the newest version (1.0.8-2).
cmake is already the newest version (3.16.3-1ubuntu1).
cron is already the newest version (3.0pl1-136ubuntu1).
flex is already the newest version (2.6.4-6.2).
g++ is already the newest version (4:9.3.0-1ubuntu2).
gcc is already the newest version (4:9.3.0-1ubuntu2).
libaio-dev is already the newest version (0.3.112-5).
libaio1 is already the newest version (0.3.112-5).
libcap-dev is already the newest version (1:2.32-1).
libcrypt-openssl-rsa-perl is already the newest version (0.31-1build1).
libdb-dev is already the newest version (1:5.3.21~exp1ubuntu2).
libexpat1-dev is already the newest version (2.2.9-1build1).
libncurses5-dev is already the newest version (6.2-0ubuntu2).
libnuma-dev is already the newest version (2.0.12-1).
libnuma1 is already the newest version (2.0.12-1).
libperl4-corelibs-perl is already the newest version (0.004-2).
libsasl2-dev is already the newest version (2.1.27+dfsg-2).
libtool is already the newest version (2.4.6-14).
logrotate is already the newest version (3.14.0-4ubuntu3).
make is already the newest version (4.2.1-1.2).
patch is already the newest version (2.7.6-6).
pkg-config is already the newest version (0.29.1-0ubuntu4).
psmisc is already the newest version (23.3-1).
quota is already the newest version (4.05-1).
zip is already the newest version (3.0-11build1).
libncurses5 is already the newest version (6.2-0ubuntu2).
python-is-python2 is already the newest version (2.7.17-4).
ca-certificates is already the newest version (20210119~20.04.2).
curl is already the newest version (7.68.0-1ubuntu2.7).
ipset is already the newest version (7.5-1ubuntu0.20.04.1).
libc6-dev is already the newest version (2.31-0ubuntu9.2).
libcurl4-openssl-dev is already the newest version (7.68.0-1ubuntu2.7).
libkrb5-dev is already the newest version (1.17-6ubuntu4.1).
libperl-dev is already the newest version (5.30.0-9ubuntu0.2).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.10).
libsystemd-dev is already the newest version (245.4-4ubuntu3.13).
openssl is already the newest version (1.1.1f-1ubuntu2.10).
perl is already the newest version (5.30.0-9ubuntu0.2).
perl-base is already the newest version (5.30.0-9ubuntu0.2).
perl-modules-5.30 is already the newest version (5.30.0-9ubuntu0.2).
rsyslog is already the newest version (8.2001.0-1ubuntu1.1).
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1.2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.2).
dnsutils is already the newest version (1:9.16.1-0ubuntu2.9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*
*****************************************************

It stops after this and I'm unable to install it for some reason. I hope someone has a solution for this.
 
We are experiencing the same issue, tested on Ubuntu 18.04 & 20.04 LTS. Below is the last snippet of the setup script output ran with -x debug:

Bash:
perl-base is already the newest version (5.26.1-6ubuntu0.5).
perl-modules-5.26 is already the newest version (5.26.1-6ubuntu0.5).
psmisc is already the newest version (23.1-1ubuntu0.1).
quota is already the newest version (4.04-2ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo '*'
*
+ echo '*****************************************************'
*****************************************************
+ echo ''

+ '[' debian = debian ']'
+ '[' -e /bin/bash ']'
+ '[' -e /bin/dash ']'
+ grep -q dash
+ ls -la /bin/sh
+ '[' debian = FreeBSD ']'
+ '[' -e /etc/selinux/config ']'
+ '[' -e /selinux/enforce ']'
+ '[' -e /usr/sbin/setenforce ']'
+ '[' debian = debian ']'
+ '[' -e /etc/apparmor.d ']'
+ mkdir -p /etc/apparmor.d/disable
+ for aa_file in /etc/apparmor.d/*
+ '[' -f /etc/apparmor.d/abstractions ']'
+ for aa_file in /etc/apparmor.d/*
+ '[' -f /etc/apparmor.d/cache ']'
+ for aa_file in /etc/apparmor.d/*
+ '[' -f /etc/apparmor.d/disable ']'
+ for aa_file in /etc/apparmor.d/*
+ '[' -f /etc/apparmor.d/force-complain ']'
+ for aa_file in /etc/apparmor.d/*
+ '[' -f /etc/apparmor.d/local ']'
+ for aa_file in /etc/apparmor.d/*
+ '[' -f /etc/apparmor.d/sbin.dhclient ']'
+ ln -s /etc/apparmor.d/sbin.dhclient /etc/apparmor.d/disable/
+ cleanup
+ rm -rf /tmp/tmp.YS4q5wBusQ

Please let me know if you need any more information.
 
I have the following issue:
Exactly which issue? I don't see any error notice in there.

You are aware that the new installation method is running in the background, correct? So you have to wait some time and then all should be installed.
 
Exactly which issue? I don't see any error notice in there.

You are aware that the new installation method is running in the background, correct? So you have to wait some time and then all should be installed.

Exactly, that is also the problem. No error message nor the installation starts ( I'm aware of the new background installation ). But there is an issue here which i'm unable to resolve for the time being.
 
No error message nor the installation starts
How do you now? Did you check with ps faux? Because I see this:

Code:
[setup.sh] Extracting DirectAdmin package directadmin_a8caa4b51bf9f33d65733243f700449caed5798a_linux_amd64.tar.gz to /usr/local/directadmin ...
[setup.sh] Starting installation...

If checked, might be indeed a bug which needs looked into.
 
Back
Top