I have installed a few Freepbx instances, but I have one that is causing me problems.
I am using a cloud hosted provider with a templated Debian 12 install. The provider is Binarylane.com.au
I bypass the actual Debian install components as this is a ready to run install. It is a base Debian with no services other than SSH server.
Before I start I apt-update and apt-dist upgrade, then install the pre-requisites
apt-get -y install net-tools htop screen tshark vim sngrep
I then run the install script commands
cd /tmp
wget https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -O /tmp/sng_freepbx_debian_install.sh
bash /tmp/sng_freepbx_debian_install.sh
It went off and did its thing, then errored near the end. It failed trying to sign the modules. OK, from that point I ran fwconsole ma refreshsignatures a couple of times and that was sorted.
I then logged into the UI and activated it. I then lost touch with it remotely and had to jump onto a virtual server in the same datacentre subnet to access it again. Not sure why, but that worked, so I setup a Let’s Encrypt cert and made it default. I then went to system config / ports and applied it. It did not make the secure ports column become available, but then I lost touch again.
So I went into fwconsole sa installHttpsCert default and this applied the cert. I restarted apache2 and I could access the site from my remote location.
It is working, but I am not happy I have a good install. Every time I reboot, apache won’t start. It throws an error briefly on the console
“systemd[1]: freepbx.service: Job apache2.service/start deleted to e starting with feepbx.service/start”
I can start it with systemctl start apache manually and it is fine.
None of my other instances have these issues. I can’t figure out what the above message means and whether I am going to have ongoing issues with this instance. I have done the install process twice now. The first time I restarted the process from the beginning (new Debian OS) after the script error. The second time I did all the steps above after the script error to continue. My other installs have not had errors at all.
VM is 2 vCPU, 4Gig RAM, 60Gig HDD. I have other Debian (11) and Windows instances on this platform and I have never had issues with it in the past. I have installed many 3CX on Debian 10 and 11 as well without issues, so I don’t think it is the OS.
The only thing I will mention, even though I don’t think it iwill be the cause is that the system uses systemd-networkd and this is flagged in the Freepbx message list in the dashboard. The firewall looks happy though. The NIC is in the correct zone and my remote address is whitelisted.
Any ideas? This is a production system, so it has to be reliable. The apache2 not starting is a real problem.