I’ve run the command, this is the output:
+ source /etc/hestiacp/hestia.conf
++ export HESTIA=/usr/local/hestia
++ HESTIA=/usr/local/hestia
++ [[ -f /etc/hestiacp/local.conf ]]
+ source /usr/local/hestia/func/main.sh
++ HOMEDIR=/home
++ BACKUP=/backup
++ BACKUP_GZIP=9
++ BACKUP_DISK_LIMIT=95
+++ grep -c '^processor' /proc/cpuinfo
++ BACKUP_LA_LIMIT=6
++ RRD_STEP=300
++ BIN=/usr/local/hestia/bin
++ HESTIA_INSTALL_DIR=/usr/local/hestia/install/deb
++ HESTIA_COMMON_DIR=/usr/local/hestia/install/common
+++ date +%d%m%Y%H%M
++ HESTIA_BACKUP=/root/hst_backups/040920241245
++ HESTIA_PHP=/usr/local/hestia/php/bin/php
++ USER_DATA=/usr/local/hestia/data/users/
++ WEBTPL=/usr/local/hestia/data/templates/web
++ MAILTPL=/usr/local/hestia/data/templates/mail
++ DNSTPL=/usr/local/hestia/data/templates/dns
++ RRD=/usr/local/hestia/web/rrd
++ SENDMAIL=/usr/local/hestia/web/inc/mail-wrapper.php
++ HESTIA_GIT_REPO=https://raw.githubusercontent.com/hestiacp/hestiacp
++ HESTIA_THEMES=/usr/local/hestia/web/css/themes
++ HESTIA_THEMES_CUSTOM=/usr/local/hestia/web/css/themes/custom
+++ basename /usr/local/hestia/bin/v-add-sys-dependencies
++ SCRIPT=v-add-sys-dependencies
++ CHECK_RESULT_CALLBACK=
++ OK=0
++ E_ARGS=1
++ E_INVALID=2
++ E_NOTEXIST=3
++ E_EXISTS=4
++ E_SUSPENDED=5
++ E_UNSUSPENDED=6
++ E_INUSE=7
++ E_LIMIT=8
++ E_PASSWORD=9
++ E_FORBIDEN=10
++ E_DISABLED=11
++ E_PARSING=12
++ E_DISK=13
++ E_LA=14
++ E_CONNECT=15
++ E_FTP=16
++ E_DB=17
++ E_RRD=18
++ E_UPDATE=19
++ E_RESTART=20
++ ARGS=("$@")
++ (( I = 1 ))
++ (( I <= 0 ))
+ source_conf /usr/local/hestia/conf/hestia.conf
+ IFS='= '
+ read -r lhs rhs
+ [[ ! ANTISPAM_SYSTEM =~ ^ *# ]]
+ [[ -n ANTISPAM_SYSTEM ]]
+ rhs=''\''spamassassin'\'''
+ rhs=''\''spamassassin'\'''
+ rhs=''\''spamassassin'
+ rhs=spamassassin
+ declare -g ANTISPAM_SYSTEM=spamassassin
+ IFS='= '
+ read -r lhs rhs
+ [[ ! ANTIVIRUS_SYSTEM =~ ^ *# ]]
+ [[ -n ANTIVIRUS_SYSTEM ]]
+ rhs=''\''clamav-daemon'\'''
+ rhs=''\''clamav-daemon'\'''
+ rhs=''\''clamav-daemon'
+ rhs=clamav-daemon
+ declare -g ANTIVIRUS_SYSTEM=clamav-daemon
+ IFS='= '
+ read -r lhs rhs
+ [[ ! API_ALLOWED_IP =~ ^ *# ]]
+ [[ -n API_ALLOWED_IP ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g API_ALLOWED_IP=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! API =~ ^ *# ]]
+ [[ -n API ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g API=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! API_SYSTEM =~ ^ *# ]]
+ [[ -n API_SYSTEM ]]
+ rhs=''\''0'\'''
+ rhs=''\''0'\'''
+ rhs=''\''0'
+ rhs=0
+ declare -g API_SYSTEM=0
+ IFS='= '
+ read -r lhs rhs
+ [[ ! APP_NAME =~ ^ *# ]]
+ [[ -n APP_NAME ]]
+ rhs=''\''Hestia Control Panel'\'''
+ rhs=''\''Hestia Control Panel'\'''
+ rhs=''\''Hestia Control Panel'
+ rhs='Hestia Control Panel'
+ declare -g 'APP_NAME=Hestia Control Panel'
+ IFS='= '
+ read -r lhs rhs
+ [[ ! BACKEND_PORT =~ ^ *# ]]
+ [[ -n BACKEND_PORT ]]
+ rhs=''\''8083'\'''
+ rhs=''\''8083'\'''
+ rhs=''\''8083'
+ rhs=8083
+ declare -g BACKEND_PORT=8083
+ IFS='= '
+ read -r lhs rhs
+ [[ ! BACKUP_GZIP =~ ^ *# ]]
+ [[ -n BACKUP_GZIP ]]
+ rhs=''\''19'\'''
+ rhs=''\''19'\'''
+ rhs=''\''19'
+ rhs=19
+ declare -g BACKUP_GZIP=19
+ IFS='= '
+ read -r lhs rhs
+ [[ ! BACKUP_MODE =~ ^ *# ]]
+ [[ -n BACKUP_MODE ]]
+ rhs=''\''zstd'\'''
+ rhs=''\''zstd'\'''
+ rhs=''\''zstd'
+ rhs=zstd
+ declare -g BACKUP_MODE=zstd
+ IFS='= '
+ read -r lhs rhs
+ [[ ! BACKUP_SYSTEM =~ ^ *# ]]
+ [[ -n BACKUP_SYSTEM ]]
+ rhs=''\''local'\'''
+ rhs=''\''local'\'''
+ rhs=''\''local'
+ rhs=local
+ declare -g BACKUP_SYSTEM=local
+ IFS='= '
+ read -r lhs rhs
+ [[ ! CRON_SYSTEM =~ ^ *# ]]
+ [[ -n CRON_SYSTEM ]]
+ rhs=''\''cron'\'''
+ rhs=''\''cron'\'''
+ rhs=''\''cron'
+ rhs=cron
+ declare -g CRON_SYSTEM=cron
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DB_PMA_ALIAS =~ ^ *# ]]
+ [[ -n DB_PMA_ALIAS ]]
+ rhs=''\''phpmyadmin'\'''
+ rhs=''\''phpmyadmin'\'''
+ rhs=''\''phpmyadmin'
+ rhs=phpmyadmin
+ declare -g DB_PMA_ALIAS=phpmyadmin
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DB_SYSTEM =~ ^ *# ]]
+ [[ -n DB_SYSTEM ]]
+ rhs=''\''mysql'\'''
+ rhs=''\''mysql'\'''
+ rhs=''\''mysql'
+ rhs=mysql
+ declare -g DB_SYSTEM=mysql
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DEBUG_MODE =~ ^ *# ]]
+ [[ -n DEBUG_MODE ]]
+ rhs=''\''false'\'''
+ rhs=''\''false'\'''
+ rhs=''\''false'
+ rhs=false
+ declare -g DEBUG_MODE=false
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DISABLE_IP_CHECK =~ ^ *# ]]
+ [[ -n DISABLE_IP_CHECK ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g DISABLE_IP_CHECK=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DISK_QUOTA =~ ^ *# ]]
+ [[ -n DISK_QUOTA ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g DISK_QUOTA=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DNS_CLUSTER_SYSTEM =~ ^ *# ]]
+ [[ -n DNS_CLUSTER_SYSTEM ]]
+ rhs=''\''hestia'\'''
+ rhs=''\''hestia'\'''
+ rhs=''\''hestia'
+ rhs=hestia
+ declare -g DNS_CLUSTER_SYSTEM=hestia
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DNS_SYSTEM =~ ^ *# ]]
+ [[ -n DNS_SYSTEM ]]
+ rhs=''\''bind9'\'''
+ rhs=''\''bind9'\'''
+ rhs=''\''bind9'
+ rhs=bind9
+ declare -g DNS_SYSTEM=bind9
+ IFS='= '
+ read -r lhs rhs
+ [[ ! DOMAINDIR_WRITABLE =~ ^ *# ]]
+ [[ -n DOMAINDIR_WRITABLE ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g DOMAINDIR_WRITABLE=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! ENFORCE_SUBDOMAIN_OWNERSHIP =~ ^ *# ]]
+ [[ -n ENFORCE_SUBDOMAIN_OWNERSHIP ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g ENFORCE_SUBDOMAIN_OWNERSHIP=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! FILE_MANAGER =~ ^ *# ]]
+ [[ -n FILE_MANAGER ]]
+ rhs=''\''false'\'''
+ rhs=''\''false'\'''
+ rhs=''\''false'
+ rhs=false
+ declare -g FILE_MANAGER=false
+ IFS='= '
+ read -r lhs rhs
+ [[ ! FIREWALL_EXTENSION =~ ^ *# ]]
+ [[ -n FIREWALL_EXTENSION ]]
+ rhs=''\''fail2ban'\'''
+ rhs=''\''fail2ban'\'''
+ rhs=''\''fail2ban'
+ rhs=fail2ban
+ declare -g FIREWALL_EXTENSION=fail2ban
+ IFS='= '
+ read -r lhs rhs
+ [[ ! FIREWALL_SYSTEM =~ ^ *# ]]
+ [[ -n FIREWALL_SYSTEM ]]
+ rhs=''\''iptables'\'''
+ rhs=''\''iptables'\'''
+ rhs=''\''iptables'
+ rhs=iptables
+ declare -g FIREWALL_SYSTEM=iptables
+ IFS='= '
+ read -r lhs rhs
+ [[ ! FROM_EMAIL =~ ^ *# ]]
+ [[ -n FROM_EMAIL ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g FROM_EMAIL=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! FROM_NAME =~ ^ *# ]]
+ [[ -n FROM_NAME ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g FROM_NAME=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! FTP_SYSTEM =~ ^ *# ]]
+ [[ -n FTP_SYSTEM ]]
+ rhs=''\''vsftpd'\'''
+ rhs=''\''vsftpd'\'''
+ rhs=''\''vsftpd'
+ rhs=vsftpd
+ declare -g FTP_SYSTEM=vsftpd
+ IFS='= '
+ read -r lhs rhs
+ [[ ! HIDE_DOCS =~ ^ *# ]]
+ [[ -n HIDE_DOCS ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g HIDE_DOCS=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! IMAP_SYSTEM =~ ^ *# ]]
+ [[ -n IMAP_SYSTEM ]]
+ rhs=''\''dovecot'\'''
+ rhs=''\''dovecot'\'''
+ rhs=''\''dovecot'
+ rhs=dovecot
+ declare -g IMAP_SYSTEM=dovecot
+ IFS='= '
+ read -r lhs rhs
+ [[ ! INACTIVE_SESSION_TIMEOUT =~ ^ *# ]]
+ [[ -n INACTIVE_SESSION_TIMEOUT ]]
+ rhs=''\''60'\'''
+ rhs=''\''60'\'''
+ rhs=''\''60'
+ rhs=60
+ declare -g INACTIVE_SESSION_TIMEOUT=60
+ IFS='= '
+ read -r lhs rhs
+ [[ ! LANGUAGE =~ ^ *# ]]
+ [[ -n LANGUAGE ]]
+ rhs=''\''en'\'''
+ rhs=''\''en'\'''
+ rhs=''\''en'
+ rhs=en
+ declare -g LANGUAGE=en
+ IFS='= '
+ read -r lhs rhs
+ [[ ! LOGIN_STYLE =~ ^ *# ]]
+ [[ -n LOGIN_STYLE ]]
+ rhs=''\''old'\'''
+ rhs=''\''old'\'''
+ rhs=''\''old'
+ rhs=old
+ declare -g LOGIN_STYLE=old
+ IFS='= '
+ read -r lhs rhs
+ [[ ! MAIL_SYSTEM =~ ^ *# ]]
+ [[ -n MAIL_SYSTEM ]]
+ rhs=''\''exim4'\'''
+ rhs=''\''exim4'\'''
+ rhs=''\''exim4'
+ rhs=exim4
+ declare -g MAIL_SYSTEM=exim4
+ IFS='= '
+ read -r lhs rhs
+ [[ ! PHPMYADMIN_KEY =~ ^ *# ]]
+ [[ -n PHPMYADMIN_KEY ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g PHPMYADMIN_KEY=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! PLUGIN_APP_INSTALLER =~ ^ *# ]]
+ [[ -n PLUGIN_APP_INSTALLER ]]
+ rhs=''\''true'\'''
+ rhs=''\''true'\'''
+ rhs=''\''true'
+ rhs=true
+ declare -g PLUGIN_APP_INSTALLER=true
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_BACKUP_SUSPENDED_USERS =~ ^ *# ]]
+ [[ -n POLICY_BACKUP_SUSPENDED_USERS ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g POLICY_BACKUP_SUSPENDED_USERS=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_CSRF_STRICTNESS =~ ^ *# ]]
+ [[ -n POLICY_CSRF_STRICTNESS ]]
+ rhs=''\''1'\'''
+ rhs=''\''1'\'''
+ rhs=''\''1'
+ rhs=1
+ declare -g POLICY_CSRF_STRICTNESS=1
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYNC_ERROR_DOCUMENTS =~ ^ *# ]]
+ [[ -n POLICY_SYNC_ERROR_DOCUMENTS ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_SYNC_ERROR_DOCUMENTS=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYNC_SKELETON =~ ^ *# ]]
+ [[ -n POLICY_SYNC_SKELETON ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_SYNC_SKELETON=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYSTEM_ENABLE_BACON =~ ^ *# ]]
+ [[ -n POLICY_SYSTEM_ENABLE_BACON ]]
+ rhs=''\''false'\'''
+ rhs=''\''false'\'''
+ rhs=''\''false'
+ rhs=false
+ declare -g POLICY_SYSTEM_ENABLE_BACON=false
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYSTEM_HIDE_ADMIN =~ ^ *# ]]
+ [[ -n POLICY_SYSTEM_HIDE_ADMIN ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g POLICY_SYSTEM_HIDE_ADMIN=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYSTEM_HIDE_SERVICES =~ ^ *# ]]
+ [[ -n POLICY_SYSTEM_HIDE_SERVICES ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_SYSTEM_HIDE_SERVICES=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYSTEM_PASSWORD_RESET =~ ^ *# ]]
+ [[ -n POLICY_SYSTEM_PASSWORD_RESET ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_SYSTEM_PASSWORD_RESET=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_SYSTEM_PROTECTED_ADMIN =~ ^ *# ]]
+ [[ -n POLICY_SYSTEM_PROTECTED_ADMIN ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_SYSTEM_PROTECTED_ADMIN=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_CHANGE_THEME =~ ^ *# ]]
+ [[ -n POLICY_USER_CHANGE_THEME ]]
+ rhs=''\''no'\'''
+ rhs=''\''no'\'''
+ rhs=''\''no'
+ rhs=no
+ declare -g POLICY_USER_CHANGE_THEME=no
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_DELETE_LOGS =~ ^ *# ]]
+ [[ -n POLICY_USER_DELETE_LOGS ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_USER_DELETE_LOGS=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_EDIT_DETAILS =~ ^ *# ]]
+ [[ -n POLICY_USER_EDIT_DETAILS ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_USER_EDIT_DETAILS=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_EDIT_DNS_TEMPLATES =~ ^ *# ]]
+ [[ -n POLICY_USER_EDIT_DNS_TEMPLATES ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_USER_EDIT_DNS_TEMPLATES=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_EDIT_WEB_TEMPLATES =~ ^ *# ]]
+ [[ -n POLICY_USER_EDIT_WEB_TEMPLATES ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_USER_EDIT_WEB_TEMPLATES=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_VIEW_LOGS =~ ^ *# ]]
+ [[ -n POLICY_USER_VIEW_LOGS ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g POLICY_USER_VIEW_LOGS=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! POLICY_USER_VIEW_SUSPENDED =~ ^ *# ]]
+ [[ -n POLICY_USER_VIEW_SUSPENDED ]]
+ rhs=''\''false'\'''
+ rhs=''\''false'\'''
+ rhs=''\''false'
+ rhs=false
+ declare -g POLICY_USER_VIEW_SUSPENDED=false
+ IFS='= '
+ read -r lhs rhs
+ [[ ! PROXY_PORT =~ ^ *# ]]
+ [[ -n PROXY_PORT ]]
+ rhs=''\''80'\'''
+ rhs=''\''80'\'''
+ rhs=''\''80'
+ rhs=80
+ declare -g PROXY_PORT=80
+ IFS='= '
+ read -r lhs rhs
+ [[ ! PROXY_SSL_PORT =~ ^ *# ]]
+ [[ -n PROXY_SSL_PORT ]]
+ rhs=''\''443'\'''
+ rhs=''\''443'\'''
+ rhs=''\''443'
+ rhs=443
+ declare -g PROXY_SSL_PORT=443
+ IFS='= '
+ read -r lhs rhs
+ [[ ! PROXY_SYSTEM =~ ^ *# ]]
+ [[ -n PROXY_SYSTEM ]]
+ rhs=''\''nginx'\'''
+ rhs=''\''nginx'\'''
+ rhs=''\''nginx'
+ rhs=nginx
+ declare -g PROXY_SYSTEM=nginx
+ IFS='= '
+ read -r lhs rhs
+ [[ ! RELEASE_BRANCH =~ ^ *# ]]
+ [[ -n RELEASE_BRANCH ]]
+ rhs=''\''release'\'''
+ rhs=''\''release'\'''
+ rhs=''\''release'
+ rhs=release
+ declare -g RELEASE_BRANCH=release
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SERVER_SMTP_ADDR =~ ^ *# ]]
+ [[ -n SERVER_SMTP_ADDR ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g SERVER_SMTP_ADDR=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SERVER_SMTP_HOST =~ ^ *# ]]
+ [[ -n SERVER_SMTP_HOST ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g SERVER_SMTP_HOST=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SERVER_SMTP_PASSWD =~ ^ *# ]]
+ [[ -n SERVER_SMTP_PASSWD ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g SERVER_SMTP_PASSWD=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SERVER_SMTP_PORT =~ ^ *# ]]
+ [[ -n SERVER_SMTP_PORT ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g SERVER_SMTP_PORT=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SERVER_SMTP_SECURITY =~ ^ *# ]]
+ [[ -n SERVER_SMTP_SECURITY ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g SERVER_SMTP_SECURITY=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SERVER_SMTP_USER =~ ^ *# ]]
+ [[ -n SERVER_SMTP_USER ]]
+ rhs=''\'''\'''
+ rhs=''\'''\'''
+ rhs=\'
+ rhs=
+ declare -g SERVER_SMTP_USER=
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SIEVE_SYSTEM =~ ^ *# ]]
+ [[ -n SIEVE_SYSTEM ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g SIEVE_SYSTEM=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SMTP_RELAY_HOST =~ ^ *# ]]
+ [[ -n SMTP_RELAY_HOST ]]
+ rhs=''\''email-smtp.eu-west-2.amazonaws.com'\'''
+ rhs=''\''email-smtp.eu-west-2.amazonaws.com'\'''
+ rhs=''\''email-smtp.eu-west-2.amazonaws.com'
+ rhs=email-smtp.eu-west-2.amazonaws.com
+ declare -g SMTP_RELAY_HOST=email-smtp.eu-west-2.amazonaws.com
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SMTP_RELAY_PORT =~ ^ *# ]]
+ [[ -n SMTP_RELAY_PORT ]]
+ rhs=''\''465'\'''
+ rhs=''\''465'\'''
+ rhs=''\''465'
+ rhs=465
+ declare -g SMTP_RELAY_PORT=465
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SMTP_RELAY =~ ^ *# ]]
+ [[ -n SMTP_RELAY ]]
+ rhs=''\''true'\'''
+ rhs=''\''true'\'''
+ rhs=''\''true'
+ rhs=true
+ declare -g SMTP_RELAY=true
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SMTP_RELAY_USER =~ ^ *# ]]
+ [[ -n SMTP_RELAY_USER ]]
+ rhs=''\''AKIAQUCKKEOC7WAQLFCZ'\'''
+ rhs=''\''AKIAQUCKKEOC7WAQLFCZ'\'''
+ rhs=''\''AKIAQUCKKEOC7WAQLFCZ'
+ rhs=AKIAQUCKKEOC7WAQLFCZ
+ declare -g SMTP_RELAY_USER=AKIAQUCKKEOC7WAQLFCZ
+ IFS='= '
+ read -r lhs rhs
+ [[ ! STATS_SYSTEM =~ ^ *# ]]
+ [[ -n STATS_SYSTEM ]]
+ rhs=''\''awstats'\'''
+ rhs=''\''awstats'\'''
+ rhs=''\''awstats'
+ rhs=awstats
+ declare -g STATS_SYSTEM=awstats
+ IFS='= '
+ read -r lhs rhs
+ [[ ! SUBJECT_EMAIL =~ ^ *# ]]
+ [[ -n SUBJECT_EMAIL ]]
+ rhs=''\''{{subject}}'\'''
+ rhs=''\''{{subject}}'\'''
+ rhs=''\''{{subject}}'
+ rhs='{{subject}}'
+ declare -g 'SUBJECT_EMAIL={{subject}}'
+ IFS='= '
+ read -r lhs rhs
+ [[ ! THEME =~ ^ *# ]]
+ [[ -n THEME ]]
+ rhs=''\''dark'\'''
+ rhs=''\''dark'\'''
+ rhs=''\''dark'
+ rhs=dark
+ declare -g THEME=dark
+ IFS='= '
+ read -r lhs rhs
+ [[ ! TITLE =~ ^ *# ]]
+ [[ -n TITLE ]]
+ rhs=''\''{{page}} - {{hostname}} - {{appname}}'\'''
+ rhs=''\''{{page}} - {{hostname}} - {{appname}}'\'''
+ rhs=''\''{{page}} - {{hostname}} - {{appname}}'
+ rhs='{{page}} - {{hostname}} - {{appname}}'
+ declare -g 'TITLE={{page}} - {{hostname}} - {{appname}}'
+ IFS='= '
+ read -r lhs rhs
+ [[ ! UPDATE_HOSTNAME_SSL =~ ^ *# ]]
+ [[ -n UPDATE_HOSTNAME_SSL ]]
+ rhs=''\''yes'\'''
+ rhs=''\''yes'\'''
+ rhs=''\''yes'
+ rhs=yes
+ declare -g UPDATE_HOSTNAME_SSL=yes
+ IFS='= '
+ read -r lhs rhs
+ [[ ! UPGRADE_SEND_EMAIL_LOG =~ ^ *# ]]
+ [[ -n UPGRADE_SEND_EMAIL_LOG ]]
+ rhs=''\''true'\'''
+ rhs=''\''true'\'''
+ rhs=''\''true'
+ rhs=true
+ declare -g UPGRADE_SEND_EMAIL_LOG=true
+ IFS='= '
+ read -r lhs rhs
+ [[ ! UPGRADE_SEND_EMAIL =~ ^ *# ]]
+ [[ -n UPGRADE_SEND_EMAIL ]]
+ rhs=''\''true'\'''
+ rhs=''\''true'\'''
+ rhs=''\''true'
+ rhs=true
+ declare -g UPGRADE_SEND_EMAIL=true
+ IFS='= '
+ read -r lhs rhs
+ [[ ! USE_SERVER_SMTP =~ ^ *# ]]
+ [[ -n USE_SERVER_SMTP ]]
+ rhs=''\''n'\'''
+ rhs=''\''n'\'''
+ rhs=''\''n'
+ rhs=n
+ declare -g USE_SERVER_SMTP=n
+ IFS='= '
+ read -r lhs rhs
+ [[ ! VERSION =~ ^ *# ]]
+ [[ -n VERSION ]]
+ rhs=''\''1.8.12'\'''
+ rhs=''\''1.8.12'\'''
+ rhs=''\''1.8.12'
+ rhs=1.8.12
+ declare -g VERSION=1.8.12
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEB_BACKEND =~ ^ *# ]]
+ [[ -n WEB_BACKEND ]]
+ rhs=''\''php-fpm'\'''
+ rhs=''\''php-fpm'\'''
+ rhs=''\''php-fpm'
+ rhs=php-fpm
+ declare -g WEB_BACKEND=php-fpm
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEBMAIL_ALIAS =~ ^ *# ]]
+ [[ -n WEBMAIL_ALIAS ]]
+ rhs=''\''webmail'\'''
+ rhs=''\''webmail'\'''
+ rhs=''\''webmail'
+ rhs=webmail
+ declare -g WEBMAIL_ALIAS=webmail
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEBMAIL_SYSTEM =~ ^ *# ]]
+ [[ -n WEBMAIL_SYSTEM ]]
+ rhs=''\''roundcube'\'''
+ rhs=''\''roundcube'\'''
+ rhs=''\''roundcube'
+ rhs=roundcube
+ declare -g WEBMAIL_SYSTEM=roundcube
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEB_PORT =~ ^ *# ]]
+ [[ -n WEB_PORT ]]
+ rhs=''\''8080'\'''
+ rhs=''\''8080'\'''
+ rhs=''\''8080'
+ rhs=8080
+ declare -g WEB_PORT=8080
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEB_RGROUPS =~ ^ *# ]]
+ [[ -n WEB_RGROUPS ]]
+ rhs=''\''www-data'\'''
+ rhs=''\''www-data'\'''
+ rhs=''\''www-data'
+ rhs=www-data
+ declare -g WEB_RGROUPS=www-data
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEB_SSL =~ ^ *# ]]
+ [[ -n WEB_SSL ]]
+ rhs=''\''mod_ssl'\'''
+ rhs=''\''mod_ssl'\'''
+ rhs=''\''mod_ssl'
+ rhs=mod_ssl
+ declare -g WEB_SSL=mod_ssl
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEB_SSL_PORT =~ ^ *# ]]
+ [[ -n WEB_SSL_PORT ]]
+ rhs=''\''8443'\'''
+ rhs=''\''8443'\'''
+ rhs=''\''8443'
+ rhs=8443
+ declare -g WEB_SSL_PORT=8443
+ IFS='= '
+ read -r lhs rhs
+ [[ ! WEB_SYSTEM =~ ^ *# ]]
+ [[ -n WEB_SYSTEM ]]
+ rhs=''\''apache2'\'''
+ rhs=''\''apache2'\'''
+ rhs=''\''apache2'
+ rhs=apache2
+ declare -g WEB_SYSTEM=apache2
+ IFS='= '
+ read -r lhs rhs
+ source /usr/local/hestia/install/upgrade/upgrade.conf
++ UPGRADE_UPDATE_WEB_TEMPLATES=true
++ UPGRADE_UPDATE_MAIL_TEMPLATES=true
++ UPGRADE_UPDATE_DNS_TEMPLATES=true
++ UPGRADE_REPLACE_KNOWN_KEYS=true
++ UPGRADE_REBUILD_USERS=true
++ UPGRADE_RESTART_SERVICES=true
++ multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3")
++ pma_v=5.2.1
++ pga_v=7.14.6
++ rc_v=1.6.8
++ sm_v=2.37.2
++ UPGRADE_UPDATE_FILEMANAGER_CONFIG=false
++ fm_v=7.10.1
++ b2_v=3.10.0
+ MODE=
+ user=admin
+ PM_INSTALL_DIR=/usr/local/hestia/web/inc
+ QUICK_INSTALL_DIR=/usr/local/hestia/web/src
+ COMPOSER_BIN=/home/admin/.composer/composer
++ id -u
+ '[' x0 '!=' x0 ']'
+ '[' -z /usr/local/hestia ']'
+ '[' -z /home ']'
+ '[' -z /usr/local/hestia/install/deb ']'
+ '[' '!' -f /home/admin/.composer/composer ']'
+ check_hestia_demo_mode
++ grep DEMO_MODE /usr/local/hestia/conf/hestia.conf
++ cut -d = -f2
++ sed 's|'\''||g'
+ demo_mode=
+ '[' -n '' ']'
+ cd /usr/local/hestia/web/inc
+ rm --recursive --force /usr/local/hestia/web/inc/vendor
+ mkdir -p /usr/local/hestia/web/inc/vendor
+ chown admin: -R /usr/local/hestia/web/inc/vendor
++ /usr/local/hestia/php/bin/php -m
++ grep openssl
+ openssl_installed=openssl
+ '[' -z openssl ']'
+ COMPOSER_HOME=/home/admin/.config/composer
+ user_exec /usr/local/hestia/php/bin/php /home/admin/.composer/composer --quiet --no-dev install
+ is_object_valid user USER admin
+ '[' USER = USER ']'
++ readlink -f /usr/local/hestia/data/users/admin
+ tstpath=/usr/local/hestia/data/users/admin
++ dirname /usr/local/hestia/data/users/admin
++ readlink -f /usr/local/hestia/data/users
+ '[' /usr/local/hestia/data/users '!=' /usr/local/hestia/data/users ']'
+ '[' '!' -d /usr/local/hestia/data/users/admin ']'
++ id -G admin
+ local 'user_groups=1000 27'
+ user_groups=1000,27
+ setpriv --groups 1000,27 --reuid admin --regid admin -- /usr/local/hestia/php/bin/php /home/admin/.composer/composer --quiet --no-dev install
In Filesystem.php line 254:
/usr/local/hestia/web/inc/vendor/hestiacp does not exist and could not be created.
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
+ '[' 1 -ne 0 ']'
+ echo 'ERROR: PHPMailer installation failed!'
ERROR: PHPMailer installation failed!
+ echo 'Please report this to our development team:'
Please report this to our development team:
+ echo https://github.com/hestiacp/hestiacp/issues
https://github.com/hestiacp/hestiacp/issues
+ /usr/local/hestia/bin/v-add-user-notification admin 'Hestia PHP dependencies installation failed!' '<p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a> to report this to our development team.</p>'
+ rm --recursive --force /usr/local/hestia/web/inc/vendor
+ /usr/local/hestia/bin/v-change-sys-config-value USE_SERVER_SMTP n
+ /usr/local/hestia/bin/v-log-action system Error Plugins 'PHP dependencies installation failed'
+ exit 1