Total Hestia Install Failure

I’ve probably installed Hestia over a hundred times, but I’ve never seen it fail this spectacularly. Seems like its having trouble installing the ondrej repo key and everything fails after that.
Just dumping it here for now as it may indicate an urgent issue. Will wipe out the server and retry shortly.

Adding required repositories to proceed with installation:

[ * ] NGINX
[ * ] PHP
[ * ] Apache2
[ * ] MariaDB
[ * ] Hestia Control Panel

Updating currently installed packages, please wait... W: GPG error: http://ppa.launchpad.net/ondrej/apache2/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 71DAEAAB4AD4CAB6 NO_PUBKEY 4F4EA0AAE5267A6C
E: The repository 'http://ppa.launchpad.net/ondrej/apache2/ubuntu jammy InRelease' is not signed.
\
The installer is now downloading and installing all required packages.
NOTE: This process may take 10 to 15 minutes to complete, please wait... 
E: Unable to locate package php8.2
E: Couldn't find any package by glob 'php8.2'
E: Couldn't find any package by regex 'php8.2'
E: Unable to locate package php8.2-apcu
E: Couldn't find any package by glob 'php8.2-apcu'
E: Couldn't find any package by regex 'php8.2-apcu'
E: Unable to locate package php8.2-bz2
E: Couldn't find any package by glob 'php8.2-bz2'
E: Couldn't find any package by regex 'php8.2-bz2'
 ..... etc. until 
cp: cannot stat '/usr/local/hestia/install/common/templates/web/unassigned/index.html': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/templates/web/skel/document_errors/*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/firewall': No such file or directory
sed: can't read /usr/local/hestia/data/firewall/rules.conf: No such file or directory
sed: can't read /usr/local/hestia/data/firewall/rules.conf: No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/api': No such file or directory
[ * ] Configuring OpenSSL to improve TLS performance...
[ * ] Generating default self-signed SSL certificate...
hst-install-ubuntu.sh: line 1364: /usr/local/hestia/bin/v-generate-ssl-cert: No such file or directory
[ * ] Adding SSL certificate to Hestia Control Panel...
sed: -e expression #1, char 3: unexpected `,'
sed: -e expression #1, char 1: unknown command: `,'
cp: cannot stat '/usr/local/hestia/install/deb/ssl/dhparam.pem': No such file or directory
[ * ] Enabling SFTP jail...
Error: can't enable sftp jail

I assume server is located in Russia?

Wait using Ubuntu. The It is strange…

Hmm, wiped the server and started fresh. Same result. It fails at adding the key for ondrej repo.
I looked in the install log and all that was in there was

Reading package lists...
Building dependency tree...
Reading state information...

So not much use.
The server I’m installing on is at Hetzner.

I tried the repo URL in curl from the server.

curl http://ppa.launchpad.net/ondrej/apache2/ubuntu
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://ppa.launchpad.net/ondrej/apache2/ubuntu/">here</a>.</p>
</body></html>

So it seems to require a trailing slash?
Update … just tried running the install again after adding a trailing slash and its still failing.

Running bash -x hst-install-ubuntu.sh
Stalls for a long time at

  • add-apt-repository -y ppa:ondrej/php
    And looking in /etc/apt/sources.list.d/ I can see apache2.list hestia.list mariadb.list nginx.list
    , but no php.list.
    So I think this is the issue.

That command does work if I disable ipv6 though. Getting closer.

OK, wiped the server again and disabled ipv6 before updating, and now the ppa is resolving. Strange. Will look into it further after install. Apologies for the alarm, but I thought it might be important if installs were failing for everyone.