Hestia deb packages

Trying to install hestia on ubuntu 20.04, done it few days ago and worked not sure what went wrong this time.

I get this output.

` Adding required repositories to proceed with installation:

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

Updating currently installed packages, please wait…/

Installation Aborted

Install script does not match Hestia release version
Please use the installer from the release branch

To test the beta version you need to build the hestia deb packages and re-run the installer
./hst_autocompile.sh --hestia no
./hst-install.sh … --with-debs /tmp/hestiacp-src/debs
Error: Installation aborted
root@minix:~#
`

I have used the commands below, both times

wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install-ubuntu.sh 1
bash hst-install-ubuntu.sh

Is there anything that i can do

Hi @root,

A recent change was introduced to prevent users from accidentally using the installer from the master branch when installing on production systems.

To perform a new install on Ubuntu 20.04 LTS at this time, you will need to compile the packages locally using the commands stated and install with the --with-debs switch. We will be introducing official support soon and this will no longer be required.

1 Like

Hello @root

Due to the some changes with new features the 1.1.1 deb files used in this 20.04 installer are not up to date. Also issues with accidentally using 18.04 and other version made us decide to enforce this rule

wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/src/hst_autocompile.sh

./hst_autocompile.sh --all no

this will take about 5 to 15 minutes depending on your server / VPS or VM

wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install-ubuntu.sh

bash ./hst-install.sh your options --with-debs /tmp/hestiacp-src/debs

Any way all the help is really nice. Depending on still on going issues there will be in the near future a beta release.

2 Likes

Thanks for the help @eris

Can’t figure out the right commands here, can you add the commands that i need to pass, are this to be done before the install or when the install is stopped

Commands need to be executed before install

I can’t get it to work i tried first like this

wget https://github.com/hestiacp/hestiacp/blob/master/src/hst_autocompile.sh --all no

I got this result

wget: unrecognized option ‘–all’

Then i tried like this

wget https://github.com/hestiacp/hestiacp/blob/master/src/hst_autocompile.sh --hestia no

I get wget: unrecognized option ‘–hestia’

If i run

wget https://github.com/hestiacp/hestiacp/blob/master/src/hst_autocompile.sh

Then

sudo ./hst_autocompile.sh --all no

I get:

sudo: ./hst_autocompile.sh: command not found

Please use 2 dashes --all / --hestia

root@minix:~# wget https://github.com/hestiacp/hestiacp/blob/master/src/hst_autocompile.sh --all no

wget: unrecognized option ‘–all’
Usage: wget [OPTION]… [URL]…

It is

wget https://github.com/hestiacp/hestiacp/blob/master/src/hst_autocompile.sh

And then use

bash ./hst_autocompile.sh

It should work

./hst_autocompile.sh: line 6: syntax error near unexpected token `newline'

./hst_autocompile.sh: line 6: `< !DOCTYPE html>’

https://raw.githubusercontent.com/hestiacp/hestiacp/master/src/hst_autocompile.sh this is the file that can be wget the other one it the GitHub page

i get that error when i run the bash ./hst_autocompile.sh

I ignore it and same result on install, below are the commands i used

wget https://github.com/hestiacp/hestiacp/blob/master/src/hst_autocompile.sh --all no

bash ./hst_autocompile.sh --all no

wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install-ubuntu.sh

bash ./hst-install.sh --with-debs /tmp/hestiacp-src/debs

You will see some out put but it should keep on running

no, after i run bash ./hst_autocompile.sh --all no

It throws the error and nothing after

image

You should run
wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/src/hst_autocompile.sh

The raw version is the version with out any html

wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install-ubuntu.sh
wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/src/hst_autocompile.sh
bash ./hst_autocompile.sh --all master no
bash ./hst-install-ubuntu.sh --with-debs /tmp/hestiacp-src/debs --apache yes --nginx yes ..etc
3 Likes

After running bash ./hst_autocompile.sh --all no

i get

image

And the result was the same

bash ./hst_autocompile.sh --all release no

2 Likes

for testing, I would suggest to use the master branch:

bash ./hst_autocompile.sh --all master no

Correct, my mistake, all good the compile is running now