Linux Arm64 / aarch64 Installers for 6.2

I’ve updated the installer to support Linux Arm64, coz my Pixel couldn’t run the x64 installer!

Test build attached to the ticket (Tomcat 11, Java 21, Lucee 6.2.1.58-SNAPSHOT)
https://luceeserver.atlassian.net/browse/LDEV-4464

Anyone got an Arm64 Linux machine to try it out? It’s passing the installer smoke tests

1 Like

Downloads page updated to list arm64 installers, it will now also show available installers for non release versions (if we publish them)

I also tweaked the docker stuff on download.lucee.org to link back to docker hub

image

However, mod_cfml needs an arm64 build, so it won’t work just yet, anyone want to help build one and submit a pr?

https://luceeserver.atlassian.net/browse/LDEV-5395

1 Like

I tried the installer and got an error on the last step.

Running Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-1021-aws aarch64)

Lucee ran fine on port 8888 but couldnt proxy anything via apache.

I tried building the mod_cfml.so on an arm ec2 instance and have the built file.

nice! can you file a PR with the mod_cfml.so added here?

never done one before on github, think I’ve done this

I just need the Win x64 VC17 mod_cfml.so, so I added a github actions build

manually enabling proxy and proxy_http then adding this to the apache config works.

<IfModule mod_proxy.c>
	ProxyPreserveHost On
	ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2
	ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2
	ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2
	ProxyPassReverse / http://127.0.0.1:8888/
</IfModule>

so guessing its just the install_mod_proxy.sh has some issue

install_mod_proxys.sh does a lot of dance moves trying to impress, find the correct modules!

I just updated it to support AlmaLinux Jira

there are two install logs, one in /opt/lucee and one in /tmp do you see any errors in there?

does apachectl -M throw an error?

I’ve added github actions to build mod_cfml.so as well

2 Likes

Script stderr:

Configuring Apache
Executing /opt/lucee/sys/install_mod_proxy.sh -m install -t 8888 -f /etc/apache2/apache2.conf -c /usr/sbin/apachectl -e /usr/sbin/httpd
Script exit code: 1

Script output:

  • Provided Httpd verification failed.
  • ApacheHttpd undefined, autodetecting…
  • [ERROR] Apache httpd file not provided and no default exists for this OS.
  • Use the -e switch to specify the location of the ‘httpd’ file manually.
  • Exiting…

Script stderr:
child process exited abnormally

Error running /opt/lucee/sys/install_mod_proxy.sh -m install -t 8888 -f /etc/apache2/apache2.conf -c /usr/sbin/apachectl -e /usr/sbin/httpd: child process exited abnormally
Problem running post-install step. Installation may not complete correctly
Error running /opt/lucee/sys/install_mod_proxy.sh -m install -t 8888 -f /etc/apache2/apache2.conf -c /usr/sbin/apachectl -e /usr/sbin/httpd: child process exited abnormally
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 03/13/2025 at 17:53:07
Exiting with code 1

what does which httpd produce?

its empty

ah, to quote @webonix

1 Like

@mee_nothus PR merged, thanks, welcome onboard as a Lucee contributor!

I’ve done the following

  • updated the mod_cfml shell script to be arch aware
  • renamed the installer to aarch64 (from arm64)
  • added apache tests with mod_cfml to the CI

image

Glad to be of some use.

tried to the new installer is still erroring with the same output as I posted above not detecting apache httpd etc

working on that!

1 Like

tested the latest snapshot installer and it works without issue!

2 Likes