Solved Cannot get DirectAdmin to install

Daniel_Dog

Verified User
Joined
Nov 16, 2019
Messages
452
Hello everyone,

I am trying to get DirectAdmin to install on my Proxmox VE 8 server.
I created a VM template for DirectAdmin and added a Cloud-Init config to auto install DirectAdmin.
I use the Debian 12 cloud image for the OS.

When looking at the terminal of the VM during the installation, I see a lot of CSF blocks after CSF is installed.
But given that it still continues and I do not see urls being blocked in for installation log, I do not think CSF is the problem in this case?

After looking at the install log file, I see that it cannot download the a file at https://files.directadmin.com/services/custombuild/dhe/ffdhe4096.pem
And when going to that URL myself it also times out.
And since the log stops after "phpMyAdmin requires mysqld. Cannot find 'mysql' command" I would think the https://files.directadmin.com/services/custombuild/dhe/ffdhe4096.pem causes a installscript stop and thus an incomplete install of DirectAdmin.

So my question is how I can fix this issue/or what I should check.
I have attached the install log for anyone who would kike to see it but I have redacted the private information.
 
Yes same here with installing a new server.

They improved the setup which is now a single point of failure.....

Code:
Single files.directadmin.com download mirror custombuild improved
CustomBuild has set_fastest, set_fastest_quiet, unofficial_mirrors and downloadmirror options removed. It always uses files.directadmin.com from now on, which is served by CloudFlare and uses CDN.
 
Update:

After trying to install on a new VM with CSF off (as I have had install issues with CSF in the past) it still did not install.
I also noticed that I get a lot of return error code 522 form curl. (See image)
 

Attachments

  • install-log-1.png
    install-log-1.png
    105.7 KB · Views: 6
Yes same here with installing a new server.

They improved the setup which is now a single point of failure.....

Code:
Single files.directadmin.com download mirror custombuild improved
CustomBuild has set_fastest, set_fastest_quiet, unofficial_mirrors and downloadmirror options removed. It always uses files.directadmin.com from now on, which is served by CloudFlare and uses CDN.
I know about this change but I have never had any big issues with it.
Also when I ping files.directadmin.com, it pings just fine.

** Admin user **@** host **:~$ ping -c 4 files.directadmin.com
PING files.directadmin.com(2606:4700:20::681a:c41 (2606:4700:20::681a:c41)) 56 data bytes
64 bytes from 2606:4700:20::681a:c41 (2606:4700:20::681a:c41): icmp_seq=1 ttl=60 time=1.11 ms
64 bytes from 2606:4700:20::681a:c41 (2606:4700:20::681a:c41): icmp_seq=2 ttl=60 time=1.14 ms
64 bytes from 2606:4700:20::681a:c41 (2606:4700:20::681a:c41): icmp_seq=3 ttl=60 time=1.03 ms
64 bytes from 2606:4700:20::681a:c41 (2606:4700:20::681a:c41): icmp_seq=4 ttl=60 time=1.17 ms

--- files.directadmin.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 1.026/1.111/1.167/0.052 ms


But it is weird that it cannot get that specific file.
And I cannot see how just one file cna brake the entire installation. (But this seems to be the case.)
 
Before it would search on all other mirrors for the file but now they changed it to 1 url only.
Yes with CDN via Cloudflare and yes it has multiple IP's but still. When 1 url is not working the install doesn't work.

So that is why it would be better to at least have an option in custombuild that it also searches other mirrors when main url is not working.

Being able to ping an IP does not anything in this case :)


Resolving files.directadmin.com (files.directadmin.com)... 2606:4700:20::681a:d41, 2606:4700:20::ac43:4457, 2606:4700:20::681a:c41, ...
Connecting to files.directadmin.com (files.directadmin.com)|2606:4700:20::681a:d41|:443... failed: No route to host.
Connecting to files.directadmin.com (files.directadmin.com)|2606:4700:20::ac43:4457|:443... connected.
HTTP request sent, awaiting response... 522
 
Thanks, I just retried the automated install and it works without issue again. :)
 
Back
Top