Error while Installing HestiaCP

Hi when I want to install hestiacp with ubuntu 18 using this command:
bash hst-install.sh -a yes -n yes -w no -o no -v no -j no -k no -m yes -g no -x no -z no -c no -t no -i yes -b yes -q no -d no -r 8083 -l en -y yes -force

I got this error:

Adding required repositories to proceed with installation:

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

Extracting templates from packages: 100%lease 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 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-ubuntu.sh: line 1078: /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

Just to confirm.

You used the release version from the installer?

It looks like the master installer

1 Like

i use this url:

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

from this website: https://www.hestiacp.com/

The server is from vultr 2gb: Ubuntu 18

Just gave it a run here, vultr machine, bigger one because of the free credit (8gb ram), Ubuntu 18.04, located in frankfurt - all is working properly here. Just did a apt-get update && apt-get dist-upgrade before running the installer, because I do it always that way :slight_smile:.

Summary

Welcome to the Hestia Control Panel installer!

Please wait a moment while we update your system’s repositories and
install any necessary dependencies required to proceed with the installation…

(*) Installing ntpdate…
!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

WARNING: The following packages are already installed
ufw*

It is highly recommended that you remove them before proceeding.

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

Would you like to remove the conflicting packages? [y/n] y
(Reading database … 102636 files and directories currently installed.)
Removing ufw (0.36-0ubuntu0.18.04.1) …
Skip stopping firewall: ufw (not enabled)
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
(Reading database … 102545 files and directories currently installed.)
Purging configuration files for ufw (0.36-0ubuntu0.18.04.1) …
Processing triggers for systemd (237-3ubuntu10.40) …
Processing triggers for rsyslog (8.32.0-1ubuntu4) …
Processing triggers for ureadahead (0.100.0-21) …


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

                  Hestia Control Panel
                                v1.1.1

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

The following server components will be installed on your system:

  • NGINX Web / Proxy Server
  • Apache Web Server (as backend)
  • MariaDB Database Server
  • Firewall (Iptables) + Fail2Ban Access Monitor

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

Would you like to continue with the installation? [Y/N]: y
Please enter admin email address: [email protected]
Please enter FQDN hostname [test.hestiacp.com]:
Installation backup directory: /root/hst_install_backups/200520200717
Installation log file: /root/hst_install_backups/hst_install-200520200717.log

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…
(
) Configuring Hestia Control Panel…
() Generating default self-signed SSL certificate…
(
) Adding SSL certificate to Hestia Control Panel…
() Configuring NGINX…
(
) Configuring Apache Web Server…
() Configuring PHP…
(
) Configuring MariaDB database server…
() Installing phpMyAdmin version v5.0.1…
(
) Configuring fail2ban access monitor…

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

Congratulations!

You have successfully installed Hestia Control Panel on your server.

Ready to get started? Log in using the following credentials:

Admin URL:  https://217.163.xx.xx:8083
Username:   admin
Password:   

Thank you for choosing Hestia Control Panel to power your full stack web server,
we hope that you enjoy using it as much as we do!

Please feel free to contact us at any time if you have any questions,
or if you encounter any bugs or problems:

E-mail: [email protected]
Web: https://www.hestiacp.com/
Forum: https://forum.hestiacp.com/
GitHub: GitHub - hestiacp/hestiacp: Hestia Control Panel | A lightweight and powerful control panel for the modern web.

Note: Automatic updates are enabled by default. If you would like to disable them,
please log in and navigate to Server > Updates to turn them off.

Help support the Hestia Contol Panel project by donating via PayPal:
Hestia Control Panel | Open-source web server control panel.

Sincerely yours,
The Hestia Control Panel development team

Made with love & pride by the open-source community around the world.

(!) IMPORTANT: You must logout or restart the server before continuing.

Do you want to reboot now? [Y/N]

Probaly you could adjust the installer to show why the apt-get -y install $software fails, but as you can see above, it works perfectly.

this resolve the issue

1 Like

Today trying to install HestiaCP without Nginx on the Vultr (cloud hosting) with Ubuntu 18.04 LTS
Installation fail.
I do
apt-get update && apt-get dist-upgrade
apt remove ufw
apt install rssh
Then
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
sudo bash hst-install.sh --apache yes --nginx no --phpfpm yes --multiphp no --vsftpd yes --proftpd no --named yes --mysql yes --postgresql no --exim yes --dovecot yes --clamav no --spamassassin yes --iptables yes --fail2ban yes --quota no --api yes --force no --interactive yes --port 2083 --lang en

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…
(
) 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-ubuntu.sh: line 1078: /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 Apache Web Server…
cp: cannot stat ‘/usr/local/hestia/install/deb/apache2/apache2.conf’: No such file or directory
cp: cannot stat ‘/usr/local/hestia/install/deb/apache2/status.conf’: No such file or directory
cp: cannot stat ‘/usr/local/hestia/install/deb/logrotate/apache2’: No such file or directory
hst-install-ubuntu.sh: line 1152: /etc/apache2/sites-available/default: No such file or directory
hst-install-ubuntu.sh: line 1153: /etc/apache2/sites-available/default-ssl: No such file or directory
hst-install-ubuntu.sh: line 1155: /etc/apache2/suexec/www-data: No such file or directory
Failed to start apache2.service: Unit apache2.service not found.
Error: apache2 start failed

it seems it didn’t download the Hestia Package

Please run apt list hestia

Weird, I installed Hestia and never gotten the ‘Congratulations!’ and login info.
The installation hung for a little and then Putty froze. Is there a solution to reset,
or reinstall?

Please do not reopen a one year old thread, open a new one and provide as much details, logs and informations as possible.

1 Like