Jump to content
Форум Радиодар

Невозможность установки Hestia версии >1.9.1 (ошибка установки)


omega80

Recommended Posts

Если у вас раньше устанавливались панели HestiaCP без ошибок, а с февраля 2025 года (перешли на новые пакеты) вываливаются шибки:

t
                _   _           _   _        ____ ____
               | | | | ___  ___| |_(_) __ _ / ___|  _ \
               | |_| |/ _ \/ __| __| |/ _` | |   | |_) |
               |  _  |  __/\__ \ |_| | (_| | |___|  __/
               |_| |_|\___||___/\__|_|\__,_|\____|_|

                          Hestia Control Panel
                                  1.9.2
                            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
   - Apache Web Server (as backend)
   - PHP-FPM Application Server

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

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


Would you like to continue with the installation? [y/N]: y
Installation backup directory: /root/hst_install_backups/120220251107
Installation log file: /root/hst_install_backups/hst_install-120220251107.log

Adding required repositories to proceed with installation:

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

Updating currently installed packages, please wait... E: Failed to fetch https://packages.sury.org/apache2/dists/bookworm/InRelease  451   [IP: 93.189.63.148 443]
E: The repository 'https://packages.sury.org/apache2 bookworm InRelease' is not signed.
E: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease  451   [IP: 93.189.63.148 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-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-pgsql
E: Couldn't find any package by glob 'php8.3-pgsql'
E: Couldn't find any package by regex 'php8.3-pgsql'
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-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...
useradd: user 'hestiaweb' already exists
useradd: user 'hestiamail' already exists
adduser: The user `hestiamail' is already a member of `hestia-users'.
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
rm: cannot remove '/var/log/hestia': Is a 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
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-debian.sh: line 1494: /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

Либо если вы сразу ходите установить несколько интерпретаторов PHP (разные версии. например 8.1,8.2,8.3), то для обхода проблемы следует устанавливать следующими командами:

1) Скачать дистрибутив:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh

2) Изменить адреса репозитория:

sed -i '/^\s*if \[ "\$?" -eq '\''0'\'' \]; then/a \\t\t\tif [[ "$type" = "debian" ]]; then\n\t\t\t\tsed -i '\''s/sury\.org/sury\.su/g'\'' hst-install-debian.sh\n\t\t\tfi' hst-install.sh

Ссылка на наше решение на форуме Hestia

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Member Statistics

    396
    Total Members
    311
    Most Online
    KehegrKa
    Newest Member
    KehegrKa
    Joined
×
×
  • Create New...