Error install Directadmin

Cad0s

Verified User
Joined
May 6, 2012
Messages
11
Hi, I have a problem with Directadmin installation. I execute the command:

Code:
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto

Then an error pops up

Code:
Connecting to update.directadmin.com (update.directadmin.com)|216.144.255.179|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 400 Bad request
  Date: Sun, 24 Oct 2021 11:12:02 GMT
  Server: Apache/2
  x-return-code: error
  x-error-code: 19
  Vary: User-Agent
  Content-Length: 46
  Connection: close
  Content-Type: text/html
2021-10-24 13:12:01 ERROR 400: Bad request.


gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Cannot find the DirectAdmin binary.  Extraction failed


Code:
wget -O /dev/null http://www.directadmin.com/index.html
wget -O /dev/null https://www.directadmin.com/index.html

Firewall disabled, Commands: Return positive

Code:
2021-10-24 13:14:07 (980 KB/s) - ‘/dev/null’ saved [84936]
Anyone have any idea? OS Debian 10 x64
 
Did you do a clean install from a fresh server? I just did a clean install with no issue on Debian 11 using this command:

Code:
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto


Code:
wget -O /dev/null http://www.directadmin.com/index.html
wget -O /dev/null https://www.directadmin.com/index.html

Firewall disabled, Commands: Return positive

Code:
2021-10-24 13:14:07 (980 KB/s) - ‘/dev/null’ saved [84936]
Anyone have any idea? OS Debian 10 x64
Also, I don't get why you provided the above 2 wget commands. Because the wget commands above just download the index.htm link and save it as /dev/null file.
 
Hi @Cad0s, I am not sure why original setup.sh script failed for you. We are not able to reproduce the issue. However I have noticed this script is still using our old DA download/update mechanism. We have updated the setup.sh script to use new DA download location. Please try upgrading using the same command again. Hope this helps.
 
Back
Top