My favorite OS recently had a new version release and my favorite PBX has a new version release in beta so I thought I’d write up a fresh manual installation how-to for these.
Gist if you just want to get straight to the commands.
I like to try to stick to package distributions as much as possible; Debian 11 is great because it has everything in the package repo.*,**
* Asterisk 16 only; maybe Asterisk 18 will be in the backports repo eventually
** Node 12 is a little too advanced for UCP but there’s a suggested fix in the pull requests queue
I had the chance to test this out on ARM64 architecture and it works just as well with the exception of the MariaDB ODBC connector. This needs to be built from source; there is no package available. @reraikes instructions at (Unofficial) FreePBX on Pi explain how.
Edit: here’s a package build; just tar zxf it and then dpkg -i the resulting deb file.
I thought I had a few straightforward fixes in place but it turns out I was in over my head and it doesn’t really work at all. Rather than leaving junk in place for others to trip over I have withdrawn my pull request and suggest someone else take a fresh crack at it.
The need is to replace the mariasql module with any MariaDB/MySQL connector that is current and supported.
One gotcha is you have to support node 8.16.0 which is what the SNG distro is on, the whole way up through at least 12.