Debian 9 Install Error

Hello,

I am trying to install Hestia on a fresh install of Debian 9 with the following options.

NGINX
PHP-FPM
Multi PHP

bash hst-install.sh --apache no --nginx yes --phpfpm yes --multiphp yes --vsftpd yes --named no --mysql yes --exim yes --dovecot no --clamav no --spamassassin no --iptables yes --fail2ban yes --quota yes --api yes --interactive yes

However it keep getting the following errors during the installation.

Adding required repositories to proceed with installation:

(*) NGINX
(*) PHP
(*) MariaDB
(*) Hestia Control Panel

Updating currently installed packages, please wait...|
Now installing Hestia Control Panel and all required dependencies.
NOTE: This process may take 10 to 15 minutes to complete, please wait...                             -
(*) 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 d                                                       irectory
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 1107: /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
(*) Configuring Multi-PHP for NGINX...
cp: cannot stat '/etc/php/5.6/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/multiphp/nginx/PHP-56.*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/php-fpm/dummy.conf': No such file or directory
sed: can't read /etc/php/5.6/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot stat '/etc/php/7.0/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/multiphp/nginx/PHP-70.*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/php-fpm/dummy.conf': No such file or directory
sed: can't read /etc/php/7.0/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot stat '/etc/php/7.1/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/multiphp/nginx/PHP-71.*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/php-fpm/dummy.conf': No such file or directory
sed: can't read /etc/php/7.1/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot stat '/etc/php/7.2/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/multiphp/nginx/PHP-72.*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/php-fpm/dummy.conf': No such file or directory
sed: can't read /etc/php/7.2/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot stat '/etc/php/7.3/': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/multiphp/nginx/PHP-73.*': No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/php-fpm/dummy.conf': No such file or directory
sed: can't read /etc/php/7.3/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot stat '/usr/local/hestia/install/deb/php-fpm/www.conf': No such file or directory
chmod: cannot access '/usr/local/hestia/data/templates/web/nginx/*.sh': No such file or directory
ln: failed to create symbolic link '/usr/local/hestia/data/templates/web/nginx/default.sh': No such fi                                                       le or directory
ln: failed to create symbolic link '/usr/local/hestia/data/templates/web/nginx/default.tpl': No such f                                                       ile or directory
ln: failed to create symbolic link '/usr/local/hestia/data/templates/web/nginx/default.stpl': No such                                                        file or directory
Failed to start php7.3-fpm.service: Unit php7.3-fpm.service not found.
Error: php7.3-fpm start failed

Any ideas would be gratefully received?

Many thanks,
Jake

i have today the same problem debian 9.11

bash hst-install.sh -a no -w yes -k no -m no -x no -z no -c no -t no -d no

best regards

Thanks for the report, I can confirm a issue with the multiphp setup, just checking it right now. @tuxuser Please use next time the full install arguments, this help us to do a faster debug <3.

Excellent, thank you :slight_smile:

Sorry for the troubles, we’ve pushed some small changes to the installer and our testing worked properly: https://github.com/hestiacp/hestiacp/commit/2bfb8cf370947fba9f3b69c3f387fd7d84bdb116

Can you retry the installation? Please be sure you downloaded the new installer.

@ScIT thanks for the quick support it works!

have a nice day

Thanks for your fast feedback! Please let us know if you find any other issue.

Perfect thank you for the quick fix! :slight_smile:

One slight issue, when using PHP-FPM should there be a seperate template drop down when adding a web domain (see below)?

image

I only get the one for NGINX but can see the PHP-FPM templates here: /usr/local/hestia/data/templates/web/php-fpm.

This has already been reworked for hestia 1.1.0, current state is that you have to copy and adjust the nginx template under /usr/local/hestia/data/templates/web/nginx.

Under 1.1.0 you will be able to select the php version seperately in a dropbox, followed by the fpm template. We should be able to release the version within this month, if you want to check it out, please read this steps from our admin @lupu: https://github.com/hestiacp/hestiacp/issues/568#issuecomment-521086717

Many thanks for confirming that :slight_smile:

When 1.1.0 is released if there anything that will need to be done for the drop down to take effect? Or just upgrade Hestia to latest release?

There will be a manual migration script, maybe we will also automate this process during upgrade: https://github.com/hestiacp/hestiacp/blob/master/install/upgrade/manual/migrate-190718-multiphp.sh

I am having the same problem when trying to install hestiacp.

Please open a bug report on github and fill out all relevant parts: https://github.com/hestiacp/hestiacp/issues/new