Hetzner Installation fail

Jon12345

New member
Joined
Apr 25, 2024
Messages
9
I have Ubunta installed on a Hetzner cloud server, and tried to install DirectAdmin for the first time. I pasted in the bash command but it appears the installation failed.

What did I do wrong or how do I fix this?

Bash:
root@ubuntu-2gb-hel1-212:~# bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'mykey'
Checking for latest build in 'current' release channel...
Downloading DirectAdmin distribution package directadmin_e07e6c66152ffcb0d060aac6a2e4b21457e09608_linux_amd64.tar.gz...
######################################################################### 100.0%
Extracting DirectAdmin package directadmin_e07e6c66152ffcb0d060aac6a2e4b21457e09608_linux_amd64.tar.gz to /usr/local/directadmin ...

[setup.sh] Welcome to DirectAdmin installer!

[setup.sh] Using these parameters for the installation:
                License Key: mykey
                 DA_CHANNEL: current
                   DA_EMAIL:
             DA_ADMIN_USER :
         DA_ADMIN_PASSWORD :
                DA_HOSTNAME:
                 DA_ETH_DEV:
                     DA_NS1:
                     DA_NS2:
            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] Starting installation...
* Installing pre-install packages ....
Hit:1 https://mirror.hetzner.com/ubuntu/packages noble InRelease
Hit:2 https://mirror.hetzner.com/ubuntu/packages noble-updates InRelease
Hit:3 https://mirror.hetzner.com/ubuntu/packages noble-backports InRelease
Hit:4 https://mirror.hetzner.com/ubuntu/security noble-security InRelease
Reading package lists...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mime-support is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  media-types mailcap

E: Package 'mime-support' has no installation candidate
 
Hi Jon,

When I installed a few months back, I did the usual sudo apt-get update && apt-get upgrade

and then used the instructions here, which worked for me: https://docs.directadmin.com/getting-started/installation/installguide.html

You might like to try with alternative mirrors to Hetzners and also there is the suggestion, as a backup, and i'm not sure if it will cause any issue, installing media-types mailcap as suggested above.

I can't however see any fatal errors from the terminal scrollback you have provided.
 
Thanks for the suggestions. I just noticed from part 1 that compatible Ubuntu versions stop at 22.04. I have 24.04! So, I will need to reinstall an earlier distro. Thanks for your pointers.
 
Back
Top