Installation fails

I am trying to install freepbx - it is failing with the following error:
23.35 Downloading Missing Dependency of: backup
23.35
23.35
23.35 Error Output:
23.35 ================
23.35
23.35 In modulefunctions.class.php line 2814:
23.35
23.35
23.35 preg_replace(): Passing null to parameter #3 ($subject) of type array|str
23.35 in
23.35 g is deprecated

The method I am following is here:

I cannot use the installer as it is not compatible with arm64 (no Apple silicon mac support):

FreePBX 17 installation can only be made on a 64-bit (amd64) system!
Current System’s Architecture: arm64

I have already added the following here:

# Suppress deprecated warnings for CLI SAPI
sed -i 's/^error_reporting = .*/error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_USER_DEPRECATED/' /etc/php/8.2/cli/php.ini && \

To reproduce this error just follow the project tguless/asteriskonmac on github.

This is also what is needed to run

Debian 12.8 (bookworm)
Asterisk 22.1.0
BCG729 1.0.4
SPANDSP 20180108
FreePBX 17.0-latest-EDGE

On a Raspberry Pi

I solved my own problem - I had to install dbus and make sure this got executed:
Ensure machine-id is generated to prevent PHP shell_exec from returning null

RUN dbus-uuidgen > /etc/machine-id &&
cp /etc/machine-id /var/lib/dbus/machine-id &&
chmod 644 /etc/machine-id /var/lib/dbus/machine-id