How I can use in Hestia 1.2.0 mod_php instead of PHP-FPM for compatibility with old projects?
Will it be enough to specify --phpfpm NO and --multiphp NO when installing?
Yes, that should still work. Make sure you also enable Apache2 (Nginx can be used as proxy but not stand alone)
I try this on Debian 9.12:
bash hst-install.sh --port 1500 --phpfpm no
and
bash hst-install.sh --port 1500 --phpfpm no --multiphp no
Result:
Adding required repositories to proceed with installation:
[ * ] NGINX
[ * ] PHP
[ * ] Apache2
[ * ] MariaDB
[ * ] Hestia Control Panel
Updating currently installed packages, please wait…
The installer is now downloading and installing all required packages.
NOTE: This process may take 10 to 15 minutes to complete, please wait… |
Error: apt-get install failed
Please check the error log this can be found in ~/root/
No errors in log
# cat hst_install-140720201053.log
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
ntpdate
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 72.5 kB of archives.
After this operation, 164 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 ntpdate amd64 1:4.2.8p10+dfsg-3+deb9u2 [72.5 kB]
Fetched 72.5 kB in 0s (889 kB/s)
Selecting previously unselected package ntpdate.
(Reading database ... 31746 files and directories currently installed.)
Preparing to unpack .../ntpdate_1%3a4.2.8p10+dfsg-3+deb9u2_amd64.deb ...
Unpacking ntpdate (1:4.2.8p10+dfsg-3+deb9u2) ...
Setting up ntpdate (1:4.2.8p10+dfsg-3+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libcurl3
The following NEW packages will be installed:
curl libcurl3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 519 kB of archives.
After this operation, 993 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl3 amd64 7.52.1-5+deb9u10 [292 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 curl amd64 7.52.1-5+deb9u10 [227 kB]
Fetched 519 kB in 0s (2,847 kB/s)
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 31760 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.52.1-5+deb9u10_amd64.deb ...
Unpacking libcurl3:amd64 (7.52.1-5+deb9u10) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.52.1-5+deb9u10_amd64.deb ...
Unpacking curl (7.52.1-5+deb9u10) ...
Setting up libcurl3:amd64 (7.52.1-5+deb9u10) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up curl (7.52.1-5+deb9u10) ...
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
dbus-user-session pinentry-gnome3 tor
The following NEW packages will be installed:
dirmngr
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 597 kB of archives.
After this operation, 1,114 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 dirmngr amd64 2.1.18-8~deb9u4 [597 kB]
Fetched 597 kB in 0s (3,354 kB/s)
Selecting previously unselected package dirmngr.
(Reading database ... 31777 files and directories currently installed.)
Preparing to unpack .../dirmngr_2.1.18-8~deb9u4_amd64.deb ...
Unpacking dirmngr (2.1.18-8~deb9u4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up dirmngr (2.1.18-8~deb9u4) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 171 kB of archives.
After this operation, 243 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 apt-transport-https amd64 1.4.10 [171 kB]
Fetched 171 kB in 0s (1,671 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 31796 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.4.10_amd64.deb ...
Unpacking apt-transport-https (1.4.10) ...
Setting up apt-transport-https (1.4.10) ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
guile-2.0-libs libgc1c2 libgsasl7 libkyotocabinet16v5 libltdl7 liblzo2-2
libmailutils5 libmariadbclient18 libntlm0 libpython2.7 mailutils-common
mysql-common
Use 'apt autoremove' to remove them.
The following packages have been kept back:
libmariadbclient18 libxml2
The following packages will be upgraded:
libidn2-0 libnghttp2-14 libpcre3 libssl1.1 mysql-common openssl
python3-httplib2
7 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 2,955 kB of archives.
After this operation, 855 kB of additional disk space will be used.
Get:1 http://ams2.mirrors.digitalocean.com/mariadb/repo/10.4/debian stretch/main amd64 mysql-common all 1:10.4.13+maria~stretch [5,494 B]
Get:2 https://packages.sury.org/php stretch/main amd64 libpcre3 amd64 2:8.43-1+0~20200703.7+debian9~1.gbpbfc49f [339 kB]
Get:3 https://packages.sury.org/php stretch/main amd64 libidn2-0 amd64 2.2.0-2+0~20200302.4+debian9~1.gbpf85c2e [128 kB]
Get:4 https://packages.sury.org/apache2 stretch/main amd64 libnghttp2-14 amd64 1.39.2-1+0~20200421.6+debian9~1.gbp3465e8 [82.5 kB]
Get:5 https://packages.sury.org/php stretch/main amd64 libssl1.1 amd64 1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f [1,532 kB]
Get:6 https://packages.sury.org/php stretch/main amd64 openssl amd64 1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f [839 kB]
Get:7 https://packages.sury.org/php stretch/main amd64 python3-httplib2 all 0.11.3-1+0~20190212170628.3+stretch~1.gbp2efb8a [29.0 kB]
apt-listchanges: Reading changelogs...
Preconfiguring packages ...
Fetched 2,955 kB in 0s (8,601 kB/s)
(Reading database ... 31569 files and directories currently installed.)
Preparing to unpack .../libpcre3_2%3a8.43-1+0~20200703.7+debian9~1.gbpbfc49f_amd64.deb ...
Unpacking libpcre3:amd64 (2:8.43-1+0~20200703.7+debian9~1.gbpbfc49f) over (2:8.39-3) ...
Setting up libpcre3:amd64 (2:8.43-1+0~20200703.7+debian9~1.gbpbfc49f) ...
(Reading database ... 31569 files and directories currently installed.)
Preparing to unpack .../0-libidn2-0_2.2.0-2+0~20200302.4+debian9~1.gbpf85c2e_amd64.deb ...
Unpacking libidn2-0:amd64 (2.2.0-2+0~20200302.4+debian9~1.gbpf85c2e) over (0.16-1+deb9u1) ...
Preparing to unpack .../1-libnghttp2-14_1.39.2-1+0~20200421.6+debian9~1.gbp3465e8_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.39.2-1+0~20200421.6+debian9~1.gbp3465e8) over (1.18.1-1+deb9u1) ...
Preparing to unpack .../2-libssl1.1_1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f) over (1.1.0l-1~deb9u1) ...
Preparing to unpack .../3-mysql-common_1%3a10.4.13+maria~stretch_all.deb ...
Unpacking mysql-common (1:10.4.13+maria~stretch) over (5.8+1.0.2) ...
Preparing to unpack .../4-openssl_1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f_amd64.deb ...
Unpacking openssl (1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f) over (1.1.0l-1~deb9u1) ...
Preparing to unpack .../5-python3-httplib2_0.11.3-1+0~20190212170628.3+stretch~1.gbp2efb8a_all.deb ...
Unpacking python3-httplib2 (0.11.3-1+0~20190212170628.3+stretch~1.gbp2efb8a) over (0.9.2+dfsg-1) ...
Setting up libidn2-0:amd64 (2.2.0-2+0~20200302.4+debian9~1.gbpf85c2e) ...
Setting up libnghttp2-14:amd64 (1.39.2-1+0~20200421.6+debian9~1.gbp3465e8) ...
Setting up mysql-common (1:10.4.13+maria~stretch) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libssl1.1:amd64 (1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f) ...
Setting up python3-httplib2 (0.11.3-1+0~20190212170628.3+stretch~1.gbp2efb8a) ...
Setting up openssl (1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f) ...
Installing new version of config file /etc/ssl/openssl.cnf ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Maybe related: error installing on debian 10
Do you have any preinstalled mysql packages on that server? Can you write more about your system? LXC/LXD, VPS, root?
Its fresh install on KVM VM, no preinstalled mysql packages
I can generate root pwd for you, how safe send it to you?
Just noticed that you try to install it on debian 9, is there any reason you dont use debian 10? Spinned up a test installation with 10, all is working properly.
If your provider does not ship 10, you can still do a dist upgrade which would be anyway a good idea .
I need Debian 9 for old Perl version v5.24.1, its for compatibility with old project.
Switching to the new Perl in Debian 10 is too expensive.
Just spinned up a test machine here with debian 9, running on hetzner cloud, and was able to install hestia without any issue. So it seems to be a system specific issue on your side.
For further debug, can you manualy download and adjust the installer from https://github.com/hestiacp/hestiacp/blob/560be4481d30bdf5a6e8ba9be5f41c4112d6d440/install/hst-install-debian.sh#L875-L891
So it only contains:
apt-get install $software
Instead
apt-get -y install $software > /dev/null 2>&1 &
BACK_PID=$!
# Check if package installation is done, print a spinner
spin_i=1
while kill -0 $BACK_PID > /dev/null 2>&1 ; do
printf "\b${spinner:spin_i++%${#spinner}:1}"
sleep 0.5
done
# Do a blank echo to get the \n back
echo
# Check Installation result
wait $BACK_PID
check_result $? "apt-get install failed"
And give it again a run? This should show you more informations.
The following additional packages will be installed:
apache2-bin apache2-data aspell aspell-en bind9utils binutils clamav clamav-base clamav-freshclam clamdscan cpp cpp-6 dbconfig-common dbconfig-mysql dovecot-core exim4-base exim4-config
fontconfig fontconfig-config fonts-dejavu-core fonts-droid-fallback fonts-noto-mono galera-4 gawk gcc gcc-6 ghostscript git-man gnustep-base-common gnustep-base-runtime gnustep-common
gsfonts hicolor-icon-theme imagemagick-6-common imagemagick-6.q16 javascript-common libaio1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-1 libasan3 libaspell15
libatomic1 libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3 libbrotli1 libc-client2007e libc-dev-bin libc6-dev libcairo2 libcc1-0 libcgi-fast-perl libcgi-pm-perl
libcilkrts5 libclamav9 libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcups2 libcupsfilters1 libcupsimage2 libdatrie1 libdbd-mysql-perl libdbi-perl libdbi1 libdigest-hmac-perl
libdjvulibre-text libdjvulibre21 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libencode-locale-perl liberror-perl libexttextcat-2.0-0 libexttextcat-data libfcgi-perl
libfftw3-double3 libfl-dev libfontconfig1 libfontenc1 libgcc-6-dev libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglib2.0-0
libglib2.0-data libgnustep-base1.24 libgomp1 libgraphite2-3 libgs9 libgs9-common libharfbuzz0b libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl
libhttp-message-perl libice6 libicu65 libijs-0.35 libilmbase12 libio-html-perl libio-socket-inet6-perl libio-socket-ssl-perl libipset3 libirs141 libisl15 libitm1 libjansson4 libjbig0
libjbig2dec0 libjpeg62-turbo libjs-jquery libjs-sphinxdoc libjs-underscore libjson-c3 libjxr-tools libjxr0 liblcms2-2 libllvm3.8 libllvm3.9 liblqr-1-0 liblsan0 liblua5.2-0
liblwp-mediatypes-perl libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmail-spf-perl libmailtools-perl libmariadb3 libmariadbclient18 libmcrypt4 libmpc3 libmpfr4
libmpx2 libmspack0 libnet-dns-perl libnet-ip-perl libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnet-xwhois-perl libnetaddr-ip-perl libnetpbm10 libnl-3-200 libnl-genl-3-200
libobjc4 libonig4 libopenexr22 libopenjp2-7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpciaccess0 libpcre2-8-0 libpixman-1-0 libpq5 libquadmath0
libreadline5 librrd8 libsensors4 libsigsegv2 libsm6 libsocket6-perl libsodium23 libstemmer0d libsys-hostname-long-perl libtcl8.6 libterm-readkey-perl libtfm1 libthai-data libthai0 libtiff5
libtimedate-perl libtirpc1 libtk8.6 libtsan0 libtxc-dxtn-s2tc libubsan0 liburi-perl libutempter0 libwavpack1 libwebp6 libwmf0.2-7 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1
libxshmfence1 libxslt1.1 libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libzip4 libzip5 linux-libc-dev m4 mailutils make manpages-dev mariadb-client-10.4 mariadb-client-core-10.4
mariadb-server-10.4 mariadb-server-core-10.4 mc-data mlock netpbm patch perl-openssl-defaults php-apcu-bc php-auth-sasl php-common php-mail-mime php-mcrypt php-mysql php-net-smtp
php-net-socket php-pear php-php-gettext php-phpseclib php-tcpdf php7.0-common php7.0-mcrypt php7.4-common php7.4-mysql poppler-data python3-pyinotify python3-systemd re2c rsync sa-compile
shared-mime-info socat spamc ssl-cert tcl-expect tcl8.6 tk8.6 ttf-dejavu-core unar unzip x11-common x11-utils xbitmaps xdg-user-dirs xterm
Suggested packages:
apache2-doc www-browser aspell-doc spellutils libgeo-ipfree-perl bind9-doc resolvconf ufw binutils-doc libclamunrar clamav-docs apparmor daemon cpp-doc gcc-6-locales ntp dovecot-gssapi
dovecot-sieve dovecot-pgsql dovecot-mysql dovecot-sqlite dovecot-ldap dovecot-lmtpd dovecot-managesieved dovecot-solr dovecot-lucene eximon4 exim4-doc-html | exim4-doc-info spf-tools-perl
swaks monit bison build-essential fonts-noto gawk-doc gcc-multilib autoconf automake libtool gdb gcc-doc gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg ghostscript-x git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-cvs git-mediawiki git-svn gnustep-base-doc imagemagick-doc autotrace cups-bsd | lpr | lprng enscript ffmpeg gimp gnuplot grads graphviz hp2xx html2ps libwmf-bin mplayer
povray radiance sane-utils texlive-base-bin transfig ufraw-batch xdg-utils libgssapi-perl uw-mailutils glibc-doc libclamunrar9 cups-common libclone-perl libmldbm-perl libnet-daemon-perl
libsql-statement-perl libfftw3-bin libfftw3-dev libgd-tools libdata-dump-perl libipc-sharedcache-perl liblcms2-utils inkscape libmcrypt-dev mcrypt lm-sensors libwww-perl m4-doc
mailutils-mh mailutils-doc make-doc mariadb-test netcat-openbsd tinyca arj catdvi | texlive-binaries dbview djvulibre-bin genisoimage gv libaspell-dev links | w3m | lynx odt2txt
poppler-utils python-boto python-tz xpdf | pdf-viewer ed diffutils-doc php-libsodium php-gmp php5-imagick fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic
| fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum python-pyinotify-doc libnet-ldap-perl rpcbind php-net-ldap2 php-crypt-gpg php-net-ldap3 php-net-sieve librrds-perl
cvs makejail rdist subversion razor pyzor libencode-detect-perl libgeo-ip-perl libnet-patricia-perl libbsd-resource-perl openssl-blacklist isag tcl-tclreadline pike7.8 | pike7.6 | pike
mesa-utils xfonts-cyrillic
Recommended packages:
php5-gd php5-mcrypt
The following NEW packages will be installed:
acl apache2 apache2-bin apache2-data apache2-suexec-custom apache2-utils aspell aspell-en awstats bc bind9 bind9utils binutils clamav clamav-base clamav-daemon clamav-freshclam clamdscan
cpp cpp-6 dbconfig-common dbconfig-mysql dovecot-core dovecot-imapd dovecot-pop3d exim4 exim4-base exim4-config exim4-daemon-heavy expect fail2ban flex fontconfig fontconfig-config
fonts-dejavu-core fonts-droid-fallback fonts-noto-mono ftp galera-4 gawk gcc gcc-6 ghostscript git git-man gnustep-base-common gnustep-base-runtime gnustep-common gsfonts hestia
hestia-nginx hestia-php hicolor-icon-theme idn imagemagick imagemagick-6-common imagemagick-6.q16 ipset javascript-common libaio1 libapache2-mod-fcgid libapache2-mod-php7.3
libapache2-mod-ruid2 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-1 libasan3 libaspell15 libatomic1 libauthen-sasl-perl libavahi-client3 libavahi-common-data
libavahi-common3 libbrotli1 libc-client2007e libc-dev-bin libc6-dev libcairo2 libcc1-0 libcgi-fast-perl libcgi-pm-perl libcilkrts5 libclamav9 libcrypt-openssl-bignum-perl
libcrypt-openssl-rsa-perl libcups2 libcupsfilters1 libcupsimage2 libdatrie1 libdbd-mysql-perl libdbi-perl libdbi1 libdigest-hmac-perl libdjvulibre-text libdjvulibre21 libdrm-amdgpu1
libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libencode-locale-perl liberror-perl libexttextcat-2.0-0 libexttextcat-data libfcgi-perl libfftw3-double3 libfl-dev libfontconfig1
libfontenc1 libgcc-6-dev libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglib2.0-0 libglib2.0-data libgnustep-base1.24 libgomp1
libgraphite2-3 libgs9 libgs9-common libharfbuzz0b libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libice6 libicu65 libijs-0.35
libilmbase12 libio-html-perl libio-socket-inet6-perl libio-socket-ssl-perl libipset3 libirs141 libisl15 libitm1 libjansson4 libjbig0 libjbig2dec0 libjpeg62-turbo libjs-jquery
libjs-sphinxdoc libjs-underscore libjson-c3 libjxr-tools libjxr0 liblcms2-2 libllvm3.8 libllvm3.9 liblqr-1-0 liblsan0 liblua5.2-0 liblwp-mediatypes-perl libmagickcore-6.q16-3
libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmail-dkim-perl libmail-spf-perl libmailtools-perl libmariadb3 libmcrypt4 libmpc3 libmpfr4 libmpx2 libmspack0 libnet-dns-perl
libnet-ip-perl libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnet-xwhois-perl libnetaddr-ip-perl libnetpbm10 libnl-3-200 libnl-genl-3-200 libobjc4 libonig4 libopenexr22
libopenjp2-7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpciaccess0 libpcre2-8-0 libpixman-1-0 libpq5 libquadmath0 libreadline5 librrd8 libsensors4
libsigsegv2 libsm6 libsocket6-perl libsodium23 libstemmer0d libsys-hostname-long-perl libtcl8.6 libterm-readkey-perl libtfm1 libthai-data libthai0 libtiff5 libtimedate-perl libtirpc1
libtk8.6 libtsan0 libtxc-dxtn-s2tc libubsan0 liburi-perl libutempter0 libwavpack1 libwebp6 libwmf0.2-7 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxslt1.1
libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libzip4 libzip5 linux-libc-dev m4 mailutils make manpages-dev mariadb-client mariadb-client-10.4 mariadb-client-core-10.4
mariadb-common mariadb-server mariadb-server-10.4 mariadb-server-core-10.4 mc mc-data mlock net-tools netpbm nginx patch perl-openssl-defaults php-apcu php-apcu-bc php-auth-sasl php-common
php-imagick php-mail-mime php-mcrypt php-mysql php-net-smtp php-net-socket php-pear php-php-gettext php-phpseclib php-tcpdf php7.0-common php7.0-mcrypt php7.3 php7.3-bz2 php7.3-cgi
php7.3-cli php7.3-common php7.3-curl php7.3-gd php7.3-imap php7.3-intl php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-pspell php7.3-readline php7.3-xml
php7.3-zip php7.4-common php7.4-mysql phpmyadmin poppler-data python3-pyinotify python3-systemd quota re2c roundcube-core roundcube-mysql roundcube-plugins rrdtool rssh rsync sa-compile
setpriv shared-mime-info socat spamassassin spamc ssh ssl-cert sudo sysstat tcl-expect tcl8.6 tk8.6 ttf-dejavu-core unar unrar-free unzip vsftpd whois x11-common x11-utils xbitmaps
xdg-user-dirs xterm zip
The following packages will be upgraded:
libmariadbclient18
1 upgraded, 344 newly installed, 0 to remove and 1 not upgraded.
Need to get 9,812 B/238 MB of archives.
After this operation, 925 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 https://packages.sury.org/php stretch/main amd64 php7.3-bz2 amd64 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb
404 Not Found
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-bz2_7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
========================================================================
[ * ] Configuring system settings...
sed: can't read /etc/rssh.conf: No such file or directory
sed: can't read /etc/rssh.conf: No such file or directory
sed: can't read /etc/rssh.conf: No such file or directory
chmod: cannot access '/usr/bin/rssh': No such file or directory
[ * ] Configuring Hestia Control Panel...
cp: cannot stat '/usr/local/hestia/install/deb/sudo/admin': No such file or directory
chmod: cannot access '/etc/sudoers.d/admin': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/logrotate/hestia': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/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/deb/templates/web/unassigned/index.html': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/templates/web/skel/document_errors/*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/firewall': No such file or directory
[ * ] Generating default self-signed SSL certificate...
hst-install-debian.sh: line 1167: /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
[ * ] Configuring NGINX...
cp: cannot stat '/usr/local/hestia/install/deb/nginx/nginx.conf': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/nginx/status.conf': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/nginx/phpmyadmin.inc': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/nginx/phppgadmin.inc': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/logrotate/nginx': No such file or directory
sed: can't read /etc/nginx/nginx.conf: No such file or directory
sed: can't read /usr/local/hestia/nginx/conf/nginx.conf: No such file or directory
Failed to start nginx.service: Unit nginx.service not found.
Error: nginx start failed
Here is your issue, looks like you get a connection issue with sury repository - which is protected by cloudflare. Maybe your ip is blocked there? I can atleast download the package without any issue: https://packages.sury.org/php/pool/main/p/php7.3/php7.3-bz2_7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb_amd64.deb
Forbidden, but I can download it manually from my workstation.
Where can I put this file?
# wget https://packages.sury.org/php/pool/main/p/php7.3/php7.3-bz2_7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb_amd64.deb
--2020-07-14 12:06:59-- https://packages.sury.org/php/pool/main/p/php7.3/php7.3-bz2_7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb_amd64.deb
Resolving packages.sury.org (packages.sury.org)... 104.31.94.169, 172.67.182.150, 104.31.95.169, ...
Connecting to packages.sury.org (packages.sury.org)|104.31.94.169|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-07-14 12:07:00 ERROR 403: Forbidden.
Can I do something else or just change the provider?
Dont think that this would work, looks like cloudflare is blocking your ip.
you could try replacing the sury repo with a mirror in the according file in /etc/apt/sources.list.d/
there is a german one from max planck institute, though I don’t know how recent that is: https://ftp.mpi-inf.mpg.de/pub/linux/mirror/deb.sury.org/repositories/php/
edit: or rather adding it aditionally, I think the installer otherwise might overwrite changes, not sure, can’t look it up right now.
edit2: maybe you accidentically hit the repo to often with update / download requests? it seems they are having some kind of temporary block as anti abuse measure: https://packages.sury.org/error403.html
Solved.
Thanks to SclT and falzo!
Change in hst-install-debian.sh:
echo "[ * ] PHP"
#echo "deb https://packages.sury.org/php/ $codename main" > $apt/php.list
#wget --quiet https://packages.sury.org/php/apt.gpg -O /tmp/php_signing.key
echo "deb https://ftp.mpi-inf.mpg.de/pub/linux/mirror/deb.sury.org/repositories/php/ $codename main" > $apt/php.list
wget --quiet https://ftp.mpi-inf.mpg.de/pub/linux/mirror/deb.sury.org/repositories/php/apt.gpg -O /tmp/php_signing.key
@alexandrefrolov glad it worked! I’d still recommend to try and switch to the official repo in a few days or so. I really can’t tell how reliably the inofficial one gets synced/updated