ARM64 installation issue

DO NOT FOLLOW THE STEPS BELOW ARM PACKAGES CAN BE INSTALLED VIA THE NORMAL STEPS!

Hi, I’m new to Hestia. I’ve been trying to install it on the new free tier Oracle A1.Flex (ARM64) without any luck. I’ve installed Ubuntu 20.04. and followed below commands.

Compile packages

./hst_autocompile.sh --all --noinstall --keepbuild ‘~localsrc’
cd /install
bash hst-install-{os}.sh --with-debs /tmp/hestiacp-src/deb/

But after that, I’m getting following error. Could someone please help me.

Thank you for downloading Hestia Control Panel! In a few moments,
we will begin installing the following components on your server:

  • NGINX Web / Proxy Server
  • Apache Web Server (as backend)
  • PHP-FPM Application Server
  • Bind DNS Server
  • Exim Mail Server + ClamAV + SpamAssassin
  • Dovecot POP3/IMAP Server
  • MariaDB Database Server
  • Vsftpd FTP Server
  • Firewall (Iptables) + Fail2Ban Access Monitor

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

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

Adding required repositories to proceed with installation:

[ * ] NGINX
[ * ] PHP
[ * ] Apache2
[ * ] MariaDB
[ * ] Hestia Control Panel
[ ! ] HestiaCP on ARM is currently in Development.
This will mean that we don’t provide any packages and you are responisble
for building the packages your self. To build your own packeges see
Developing/Contributing to Hestia Control Panel — Hestia Control Panel documentation

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…

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

[ * ] Installing local package files…
- hestia core package
- hestia-php backend package
- hestia-nginx backend package
[ * ] Configuring system settings…
[ * ] Configuring Hestia Control Panel…
[ * ] Generating default self-signed SSL certificate…
req: No value provided for Subject Attribute emailAddress, skipped
[ * ] Adding SSL certificate to Hestia Control Panel…
[ * ] Enable SFTP jail…
[ * ] Create admin account…
[ * ] Configuring NGINX…
sed: can’t read /usr/local/hestia/nginx/conf/nginx.conf: No such file or directory
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
Error: nginx start failed

Status is as follow.

[email protected]:/usr/local/hestia/install# systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-05-30 12:48:47 UTC; 7min ago
Docs: nginx documentation
Process: 69051 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

May 30 12:48:47 hestia..com systemd[1]: Starting nginx - high performance web server…
May 30 12:48:47 hestia.
.com nginx[69051]: nginx: [emerg] open() "/etc/nginx/conf.d/domains/hestia..com.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:160
May 30 12:48:47 hestia.
.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
May 30 12:48:47 hestia..com systemd[1]: nginx.service: Failed with result ‘exit-code’.
May 30 12:48:47 hestia.
.com systemd[1]: Failed to start nginx - high performance web server.
[email protected]:/usr/local/hestia/install#

Was there any output while building the packages? Did you checked if they are around in /tmp/hestiacp-src/deb? Sounds like they are not :slight_smile:

It seems like that local packages are available.

Yeah I checked. They are available. That’s why it’s so confusing for me. TBH I’ve looked into tons of Control Panels but none is userfirendly and support for arm architect.

1 Like

They are there. I checked.

I haven’t checked ARM version since 2 month ago.

Have no idea why it fails.

I can give u a test server if you have time to check. It’s just the new instance offering on Oracle free tier. 4vCPUs and 24GB RAM got so much potential.

Yes, thanks for the tip I just created an account :wink:

I compiled it again. It started working out of the blue. I’m not sure what I did differently this time.

1 Like

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:

[email protected]:~/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
[email protected]:~/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:
Developing/Contributing to Hestia Control Panel — Hestia Control Panel documentation

Error: Installation aborted
[email protected]:~/hestiacp/install#

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

I did follow these steps:

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/

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

[email protected]:/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