Installing Hestia 1.9 Alpha on Debian 12

Update: sudo apt-get update && sudo apt-get upgrade -y && sudo sudo apt autoremove -y

  1. I download hst-install-debian in /home
  2. chmod +x /home/hst-install-debian.sh
  3. /home/hst-install-debian.sh --apache no --phpfpm yes --multiphp no --vsftpd no --proftpd no --named no --mysql y
    es --mysql-classic no --postgresql no --exim yes --dovecot no --sieve no --clamav no --spamassassin no --iptables yes --fail2ban yes --q
    uota no --api no --interactive yes --with-debs no --port ‘2083’ --hostname ‘hestia2.angellive.ru’ --email ‘[email protected]’ --passw
    ord ‘12122012’ --lang ‘ru’
    I tried it 2 times, the result is the same, the system update is going well. As it turned out, due to the blocking of the PHP repository in Russia.
    Get:
                  Hestia Control Panel                          
                          DEVELOPMENT SNAPSHOT                      
                    NOT INTENDED FOR PRODUCTION USE                 
                          USE AT YOUR OWN RISK                      
                                  1.9.0                        
                            www.hestiacp.com                            

========================================================================

Thank you for downloading Hestia Control Panel! In a few moments,
we will begin installing the following components on your server:

   - NGINX Web / Proxy Server
   - PHP-FPM Application Server
   - Exim Mail Server

   - MariaDB Database Server
   - Firewall (iptables) + Fail2Ban Access Monitor

========================================================================


Would you like to continue with the installation? [y/N]: y

Please use a valid username (ex. user).
Please enter administrator username: root

Username or Group allready exists please select a new user name or delete the user and / or group.
Please enter administrator username: root

Username or Group allready exists please select a new user name or delete the user and / or group.
Please enter administrator username: angel
Installation backup directory: /root/hst_install_backups/280720241242
Installation log file: /root/hst_install_backups/hst_install-280720241242.log

Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=e6ae90a5-ead7-41d0-b08a-fa3834e92ffa
Adding required repositories to proceed with installation:

[ * ] NGINX
[ * ] PHP
[ * ] MariaDB
[ * ] Hestia Control Panel
[ * ] Node.js 20.x
2024-07-28 12:43:35 - Installing pre-requisites
Hit:1 http://zabbix.repo.timeweb.ru/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                                 
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                          
Hit:4 http://security.debian.org/debian-security bookworm-security InRelease                                                           
Err:5 https://packages.sury.org/php bookworm InRelease                                    
  451   [IP: 93.189.63.149 443]
Get:6 https://nginx.org/packages/mainline/debian bookworm InRelease [2,869 B]
Get:7 https://beta-apt.hestiacp.com bookworm InRelease [32.6 kB]
Get:8 https://nginx.org/packages/mainline/debian bookworm/nginx amd64 Packages [20.3 kB]
Get:9 https://beta-apt.hestiacp.com bookworm/main amd64 Packages [6,617 B]
Reading package lists... Done
E: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease  451   [IP: 93.189.63.149 443]
E: The repository 'https://packages.sury.org/php bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
2024-07-28 12:43:36 - Error: Failed to run 'apt-get update' (Exit Code: 0)

Updating currently installed packages, please wait... E: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease  451   [IP: 93.189.63.149 443]
E: The repository 'https://packages.sury.org/php bookworm 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.3
E: Couldn't find any package by glob 'php8.3'
E: Couldn't find any package by regex 'php8.3'
E: Unable to locate package php8.3-apcu
E: Couldn't find any package by glob 'php8.3-apcu'
E: Couldn't find any package by regex 'php8.3-apcu'
E: Unable to locate package php8.3-bz2
E: Couldn't find any package by glob 'php8.3-bz2'
E: Couldn't find any package by regex 'php8.3-bz2'
E: Unable to locate package php8.3-cli
E: Couldn't find any package by glob 'php8.3-cli'
E: Couldn't find any package by regex 'php8.3-cli'
E: Unable to locate package php8.3-common
E: Couldn't find any package by glob 'php8.3-common'
E: Couldn't find any package by regex 'php8.3-common'
E: Unable to locate package php8.3-curl
E: Couldn't find any package by glob 'php8.3-curl'
E: Couldn't find any package by regex 'php8.3-curl'
E: Unable to locate package php8.3-gd
E: Couldn't find any package by glob 'php8.3-gd'
E: Couldn't find any package by regex 'php8.3-gd'
E: Unable to locate package php8.3-imagick
E: Couldn't find any package by glob 'php8.3-imagick'
E: Couldn't find any package by regex 'php8.3-imagick'
E: Unable to locate package php8.3-imap
E: Couldn't find any package by glob 'php8.3-imap'
E: Couldn't find any package by regex 'php8.3-imap'
E: Unable to locate package php8.3-intl
E: Couldn't find any package by glob 'php8.3-intl'
E: Couldn't find any package by regex 'php8.3-intl'
E: Unable to locate package php8.3-ldap
E: Couldn't find any package by glob 'php8.3-ldap'
E: Couldn't find any package by regex 'php8.3-ldap'
E: Unable to locate package php8.3-mbstring
E: Couldn't find any package by glob 'php8.3-mbstring'
E: Couldn't find any package by regex 'php8.3-mbstring'
E: Unable to locate package php8.3-mysql
E: Couldn't find any package by glob 'php8.3-mysql'
E: Couldn't find any package by regex 'php8.3-mysql'
E: Unable to locate package php8.3-opcache
E: Couldn't find any package by glob 'php8.3-opcache'
E: Couldn't find any package by regex 'php8.3-opcache'
E: Unable to locate package php8.3-pspell
E: Couldn't find any package by glob 'php8.3-pspell'
E: Couldn't find any package by regex 'php8.3-pspell'
E: Unable to locate package php8.3-readline
E: Couldn't find any package by glob 'php8.3-readline'
E: Couldn't find any package by regex 'php8.3-readline'
E: Unable to locate package php8.3-xml
E: Couldn't find any package by glob 'php8.3-xml'
E: Couldn't find any package by regex 'php8.3-xml'
E: Unable to locate package php8.3-zip
E: Couldn't find any package by glob 'php8.3-zip'
E: Couldn't find any package by regex 'php8.3-zip'
E: Unable to locate package php8.3
E: Couldn't find any package by glob 'php8.3'
E: Couldn't find any package by regex 'php8.3'
E: Unable to locate package php8.3-common
E: Couldn't find any package by glob 'php8.3-common'
E: Couldn't find any package by regex 'php8.3-common'
E: Unable to locate package php8.3-bcmath
E: Couldn't find any package by glob 'php8.3-bcmath'
E: Couldn't find any package by regex 'php8.3-bcmath'
E: Unable to locate package php8.3-cli
E: Couldn't find any package by glob 'php8.3-cli'
E: Couldn't find any package by regex 'php8.3-cli'
E: Unable to locate package php8.3-curl
E: Couldn't find any package by glob 'php8.3-curl'
E: Couldn't find any package by regex 'php8.3-curl'
E: Unable to locate package php8.3-fpm
E: Couldn't find any package by glob 'php8.3-fpm'
E: Couldn't find any package by regex 'php8.3-fpm'
E: Unable to locate package php8.3-gd
E: Couldn't find any package by glob 'php8.3-gd'
E: Couldn't find any package by regex 'php8.3-gd'
E: Unable to locate package php8.3-intl
E: Couldn't find any package by glob 'php8.3-intl'
E: Couldn't find any package by regex 'php8.3-intl'
E: Unable to locate package php8.3-mysql
E: Couldn't find any package by glob 'php8.3-mysql'
E: Couldn't find any package by regex 'php8.3-mysql'
E: Unable to locate package php8.3-soap
E: Couldn't find any package by glob 'php8.3-soap'
E: Couldn't find any package by regex 'php8.3-soap'
E: Unable to locate package php8.3-xml
E: Couldn't find any package by glob 'php8.3-xml'
E: Couldn't find any package by regex 'php8.3-xml'
E: Unable to locate package php8.3-zip
E: Couldn't find any package by glob 'php8.3-zip'
E: Couldn't find any package by regex 'php8.3-zip'
E: Unable to locate package php8.3-mbstring
E: Couldn't find any package by glob 'php8.3-mbstring'
E: Couldn't find any package by regex 'php8.3-mbstring'
E: Unable to locate package php8.3-bz2
E: Couldn't find any package by glob 'php8.3-bz2'
E: Couldn't find any package by regex 'php8.3-bz2'
E: Unable to locate package php8.3-pspell
E: Couldn't find any package by glob 'php8.3-pspell'
E: Couldn't find any package by regex 'php8.3-pspell'
E: Unable to locate package php8.3-imagick
E: Couldn't find any package by glob 'php8.3-imagick'
E: Couldn't find any package by regex 'php8.3-imagick'


========================================================================

[ * ] Configuring system settings...
cp: cannot stat '/usr/local/hestia/install/deb/logrotate/httpd-prerotate/*': No such file or directory
[ * ] Configuring Hestia Control Panel...
cp: cannot stat '/usr/local/hestia/install/common/sudo/hestiaweb': No such file or directory
chmod: cannot access '/etc/sudoers.d/hestiaweb': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/logrotate/hestia': No such file or directory
ln: failed to create symbolic link '/usr/local/hestia/log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/system.log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/nginx-error.log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/auth.log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/backup.log': No such file or directory
chmod: cannot access '/usr/local/hestia/log': No such file or directory
chmod: cannot access '/var/log/hestia/*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/packages': No such file or directory
sed: can't read /usr/local/hestia/data/packages/*.pkg: No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/templates': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/templates/web/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/templates/dns/': No such file or directory
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
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...
/home/hst-install-debian.sh: line 1481: /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
root@3246527-cy23677:~# 

I found hosting where PHP runs (proxy), I got this on Debian 12 and on Ubuntu 24.04, before that the installation of Hestia (previous versions), such questions were not asked)

Welcome to the Hestia Control Panel installer!

Please wait, the installer is now checking for missing dependencies...

[ * ] Installing dependencies...
^[[BScanning processes... [                                                                                                             Scanning processes...                                                                                                                   
Scanning linux images...                                                                                                                
!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

WARNING: Your network configuration may not be set up correctly.
Details: The netplan configuration directory is empty.

You may have a network configuration file that was created using
systemd-networkd.

It is strongly recommended to migrate to netplan, which is now the
default network configuration system in newer releases of Ubuntu.

While you can leave your configuration as-is, please note that you
will not be able to use additional IPs properly.

If you wish to continue and force the installation,
run this script with -f option:
Example: bash /home/hst-install-debian.sh --force

!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

Error: Unable to detect netplan configuration.
root@xshtfgrbps:~# 

The result of 10 times could never be established

Know issue:

1 Like

As I wrote above, I found a solution, but the installation could not be installed for the reason. I am just showing the possibility and ease of deployment. I now have on the same hosting where I got the second problem of Hestia 1.8, I have no difficulties with updating PHP, and also did not have any problems with installing a month ago, so it is difficult for me to understand why this is so in this version

WARNING: Your network configuration may not be set up correctly.
Details: The netplan configuration directory is empty.

It looks like you have an netplan folder

Delete it or bash /home/hst-install-debian.sh --force

Both should work fine

Yes, it started --force, but access to Hestia repositories is not available, or I don’t understand something)

Installation backup directory: /root/hst_install_backups/300720241318
Installation log file: /root/hst_install_backups/hst_install-300720241318.log

Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=533b8bf4-8dc2-4ea4-8568-5353bef48b3f
Adding required repositories to proceed with installation:

[ * ] NGINX
[ * ] PHP
[ * ] MariaDB
[ * ] Hestia Control Panel
[ * ] Node.js 20.x
2024-07-30 13:18:59 - Installing pre-requisites
Hit:1 http://public-mirrors.beget.ru/apt/ru.archive.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://public-mirrors.beget.ru/apt/ru.archive.ubuntu.com/ubuntu noble-updates InRelease                                          
Hit:3 http://public-mirrors.beget.ru/apt/ru.archive.ubuntu.com/ubuntu noble InRelease                                                  
Hit:4 https://packages.beget.com/deb/production generic InRelease                                                                      
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu noble InRelease [256 kB]                                                            
Ign:6 https://beta-apt.hestiacp.com Noble InRelease                                                                                    
Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease                                                                       
Err:8 https://beta-apt.hestiacp.com Noble Release                                                                                      
  404  Not Found [IP: 116.203.224.113 443]
Ign:9 https://nginx.org/packages/mainline/debian Noble InRelease                                                                       
Ign:10 https://packages.sury.org/php Noble InRelease                                                                  
Ign:11 https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/debian Noble InRelease
Err:12 https://nginx.org/packages/mainline/debian Noble Release                
  404  Not Found [IP: 52.58.199.22 443]
Err:13 https://packages.sury.org/php Noble Release                             
  404  Not Found [IP: 93.189.63.149 443]
Err:14 https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/debian Noble Release
  404  Not Found [IP: 104.17.191.14 443]
Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:16 http://nova.clouds.archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
E: The repository 'https://beta-apt.hestiacp.com Noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://nginx.org/packages/mainline/debian Noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://packages.sury.org/php Noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/debian Noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Missing Signed-By in the sources.list(5) entry for 'http://nova.clouds.archive.ubuntu.com/ubuntu'
2024-07-30 13:19:03 - Error: Failed to run 'apt-get update' (Exit Code: 0)

Updating currently installed packages, please wait... E: The repository 'https://nginx.org/packages/mainline/debian Noble Release' does not have a Release file.
E: The repository 'https://beta-apt.hestiacp.com Noble Release' does not have a Release file.
E: The repository 'https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/debian Noble Release' does not have a Release file.
E: The repository 'https://packages.sury.org/php Noble Release' does not have a Release file.
\Scanning processes... [                                                                                                                Scanning processes...                                                                                                                   
Scanning candidates...                                                                                                                  
Scanning linux images...                                                                                                                
\
/home/hst-install-debian.sh: line 995: [: trixie/sid: integer expression expected
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 hestia
E: Unable to locate package hestia-nginx
E: Unable to locate package hestia-php


========================================================================

[ * ] Configuring system settings...
cp: cannot stat '/usr/local/hestia/install/deb/logrotate/httpd-prerotate/*': No such file or directory
[ * ] Configuring Hestia Control Panel...
cp: cannot stat '/usr/local/hestia/install/common/sudo/hestiaweb': No such file or directory
chmod: cannot access '/etc/sudoers.d/hestiaweb': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/logrotate/hestia': No such file or directory
ln: failed to create symbolic link '/usr/local/hestia/log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/system.log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/nginx-error.log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/auth.log': No such file or directory
touch: cannot touch '/usr/local/hestia/log/backup.log': No such file or directory
chmod: cannot access '/usr/local/hestia/log': No such file or directory
chmod: cannot access '/var/log/hestia/*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/packages': No such file or directory
sed: can't read /usr/local/hestia/data/packages/*.pkg: No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/templates': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/templates/web/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/common/templates/dns/': No such file or directory
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
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...
/home/hst-install-debian.sh: line 1481: /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

Also why are you using

/home/hst-install-debian.sh --force

And not

/home/hst-install-ubuntu.sh?

no, only IP 4, not on the VDS server not in DNS no IPv6

ping ipv6.google.com
ping: connect: Network is unreachable

Try using hst-install-ubuntu.sh instead you are using the installer…

/home/hst-install-debian.sh --apache no --phpfpm yes --multiphp no --vsftpd no --proftpd no --named no --mysql yes --mysql-classic no --postgresql no --exim yes --dovecot no --sieve no --clamav no --spamassassin no --iptables yes --fail2ban yes --quota no --api no --interactive yes --with-debs no  --port '2083' --hostname 'hestia1.angellive.ru' --email '[email protected]' --password '12122012' --lang 'ru' --force

Yes but you are installing Ubuntu Noble…

I don’t understand, how is this? I understand now

I have added an check to prevent it in the future…

2 Likes

Yes, sorry, I’m used to Debian, but then I decided to install Ubuntu 24.04, the installation is now underway, let’s see what’s new)

Hello, I didn’t see if these errors in 1.9 will be fixed? Found several bugs in the latest version 1.8.11
<pirlgv0o> PHP Error: Failed to load config from /var/lib/roundcube/plugins/zipdownload/config.inc.php in /var/lib/roundcube/program/lib/Roundcube/rcube_plugin.php on line 166 (POST /?_task=mail&_action=refresh)
There is also such an error, now I also installed version 1.8.11 it is reproduced, I did not look at 1.9, it is solved by changing the rights

phpMyAdmin - Error

Existing configuration file (/etc/phpmyadmin/config.inc.php) is not readable.



Снимок экрана_20240809_030846
Perhaps this decision is not correct, since it opens public rights for reading, but there is no other way to get into the panel

When I install Joomla >>

Error downloading archive

Removed, Drupal should runs on PHP 8.3

Not sure if too late but phpMyAdmin error can be solved with this:
https://forum.hestiacp.com/t/error-existing-configuration-file-etc-phpmyadmin-config-inc-php-is-not-readable/12096/4