HestiaCP does not install on ubuntu 20.04.05 LTS

> Installation backup directory: /root/hst_install_backups/051020220752
> Installation log file: /root/hst_install_backups/hst_install-051020220752.log
> 
> 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... 
> E: Packages were downgraded and -y was used without --allow-downgrades.
> 
> 
> ========================================================================
> 
> [ * ] 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
> 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/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
> cp: cannot stat '/usr/local/hestia/install/deb/api': No such file or directory
> [ * ] Generating default self-signed SSL certificate...
> hst-install-ubuntu.sh: line 1301: /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
> [ * ] Enable SFTP jail...
> Error: can't enable sftp jail

It looks like Hestia package didn’t install properly

How did you install it?

I installed it like this:
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
bash hst-install.sh

Can you run:
apt update && apt upgrade

It helped, but after installing it it gave me:

Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.
Error: ERROR: Restart of apache2 failed.
Error: apache2 restart failed
Error: can’t create cl.[mydomain.com] domain

Probally you need to reinstall the server first. As everything is messed up right now…

I can’t reinstall it there is so much data

NOTE: Hestia Control Panel must be installed on top of a fresh operating system installation to ensure proper functionality.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.