ARM64 installation issue

What are the steps you have followed?

Make sure it is arm64 and not arm_hf

git clone https://github.com/hestiacp/hestiacp.git
cd hestiacp/src/
git checkout release
./hst_autocompile.sh --all --noinstall --keepbuild ‘~localsrc’
cd ../install/
bash hst-install-ubuntu.sh --with-debs /tmp/hestiacp-src/deb/
# or 
bash hst-install-debain.sh --with-debs /tmp/hestiacp-src/deb/

If you are using a PI make sure you use the 64 bit image

after that updating can be done via

You can up date the system to run

v-update-sys-hestia-git hestiacp release

Or

./hst_autocompile.sh --all --noinstall --keepbuild release

It will build the package for ARM (hestia-nginx, hestia-php and hestia) when done you can install them via:

cd /tmp/hestiacp-src/deb/
dpkg -i packagename.deb

Or if you are lazy

dpkg -i *.deb
2 Likes

Hi,

I get this error:

root@instance-20210531-0743:~/hestiacp/install# bash hst-install-ubuntu.sh --with-debs /tmp/hestiacp-src/deb/
Please remove admin user account before proceeding.
If you want to do it automatically run installer with -f option:
Example: bash hst-install-ubuntu.sh --force

Error: User admin exists
root@instance-20210531-0743:~/hestiacp/install#

Ok i deleted the admin by groupdel admin

now i get this error:

Welcome to the Hestia Control Panel installer!

Please wait, the installer is now checking for missing dependencies…

[ * ] Installing dependencies…

Installation aborted

ERROR: HestiaCP on ARM is currently not supported with install from ATP!
Please compile your own packages for HestiaCP.
Please follow the instructions at:
Getting Started | Hestia Control Panel

Error: Installation aborted
root@fr:~/hestiacp/install#

You have to compile the packages your self. Follow the instructions

I did follow these steps:

git clone GitHub - hestiacp/hestiacp: Hestia Control Panel | A lightweight and powerful control panel for the modern web.
cd hestiacp/src/
git checkout release
./hst_autocompile.sh --all --noinstall --keepbuild ‘~localsrc’
cd …/install/
bash hst-install-ubuntu.sh --with-debs /tmp/hestiacp-src/deb/

Are there files in /tmp/hestiacp-src/deb/ ?

Compiling giving these errors:

cc: fatal error: Killed signal terminated program cc1
compilation terminated.
/bin/bash /tmp/hestiacp-src/php-7.4.19/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/tmp/hestiacp-src/php-7.4.19/Zend/ -DPHP_ATOM_INC -I/tmp/hestiacp-src/php-7.4.19/include -I/tmp/hestiacp-src/php-7.4.19/main -I/tmp/hestiacp-src/php-7.4.19 -I/tmp/hestiacp-src/php-7.4.19/ext/date/lib -I/usr/include/libxml2 -I/usr/include/aarch64-linux-gnu -I/tmp/hestiacp-src/php-7.4.19/ext/mbstring/libmbfl -I/tmp/hestiacp-src/php-7.4.19/ext/mbstring/libmbfl/mbfl -I/tmp/hestiacp-src/php-7.4.19/TSRM -I/tmp/hestiacp-src/php-7.4.19/Zend -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /tmp/hestiacp-src/php-7.4.19/Zend/zend_multibyte.c -o Zend/zend_multibyte.lo
make: *** [Makefile:837: ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs…
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:687: ext/date/lib/parse_date.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:717: ext/pcre/pcre2lib/pcre2_jit_compile.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1327: ext/opcache/Optimizer/zend_inference.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:689: ext/date/lib/parse_tz.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:763: ext/curl/interface.lo] Error 1
make: *** [Makefile:757: ext/pcre/php_pcre.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:681: ext/date/php_date.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1275: ext/opcache/ZendAccelerator.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:893: ext/hash/hash_tiger.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1073: ext/mbstring/mbstring.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1289: ext/opcache/zend_file_cache.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:771: ext/dom/php_dom.lo] Error 1
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1333: ext/opcache/Optimizer/sccp.lo] Error 1
cc: fatal error: Killed signal terminated program cc1

root@fr:/tmp/hestiacp-src/deb# ls
hestia-nginx_1.19.10_arm64.deb

Both hestia-php and hestia package is missing… Probally the build errors has to do with it. For me personly ARM hasn’t any priority if there is more time I will look into the possibilities to build packages…

Ok,

If you done it with,please share the installing steps here so we can try to install on the oracle armv8.

1 Like

While compiling the packages, I noticed the ‘dpkg-deb’ output showing a typo error in the file location. It had an extra forward slash / (see the image below). Had same typo error for all three files, hestia-php, hestia and hestia-nginx. Am not sure if its suppose to be like that or if its an actual error, but thought I’ll let you know.

In saying that, when I checked /tmp/hestiacp-src/deb/, all the three files were there. And I didn’t experience any issues installing HestiaCP on my ARM64 VM.

The only issue am having is… unable to add the IP List (under firewall) with the option script:/usr/local/hestia/install/deb/firewall/ipset/blacklist.sh. I get the error message “Error: iplist file too small (<10), ignoring”

Apart from that HCP is running smooth on ARM, haven’t noticed any other issues yet.

It doesn’t want to download the websites in blacklist.sh

haven’t check HestiaCP ARM yet we might need to do some debugging when I have more time.

What happens when you run bash /usr/local/hestia/install/deb/firewall/ipset/blacklist.sh .

Running /usr/local/hestia/install/deb/firewall/ipset/blacklist.sh shows up thousands of IP addresses on the screen. Looks like its bring up some results when doing it through ssh. But nothing is added to the IP List or Banned IP in the control panel.

Work on it whenever you are free, am not in a hurry. ARM machine is not my production server, so am fine living without IP LIST for the time being :slight_smile:

I think it is due a small bug in the current version of Hestia 1.4.2 should solve the issue

1 Like

No problemo. Happy to wait for the next release.

As always, thanks for looking into it and for the speedy responses. Do you ever sleep or you simply enjoy being active here 24/7? :sunglasses:

Hi, i see Hestia 1.4.2 is released today.
Will this version now work on the Arm instance?
Please do share the proper install steps for arm.

ARM packages will not be prebuild and arent officially supported yet. If you want to use it, you need to compile the packages on your own as described in this thread: ARM systems support

1 Like

@eris just wanted to report the above issue is resolved with 1.4.2. After updating HestiaCP, I was able to create the IPSET List.

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