FOOD FOR THOUGHT Raspberry Pi 8GB + KVM + Pihole + IncrediblePBX = Finally Works!

Halea

Well-Known Member
Joined
Aug 12, 2016
Messages
1,164
Reaction score
917
The Raspberry Pi with 8GB is a very capable little board. I have been playing with it for a few weeks now. The different operating systems available for the PI all had or still have little quirks to deal with. So, I ended up by compiling my own version of Ubuntu + Xfce which work with the new USB booting BIOS and take advantage of the full 8GB of RAM.
In the process I also baked in a slimmer version of libvirt. As the binaries of virt-manager for arm were nowhere to be found (at least that's what I thought at the time) I also recompiled virt-manager.
As I was looking for a simple something to run on ARM/KVM for my tests I picked pihole (actually a major mistake). Another 20 hours later it was running nicely (with a couple of missing bits though).
Finally I needed a second "something" to run along, and I told myself - hey, why not IncrediblePBX??? - Another major mistake, but by that time I had lost track of the mistake-counter!

Eventually I got all the pieces together and the little monster works quite well! There are a few issues that need to be ironed out as some libraries still throw exceptions from time to time.
Troubleshooting is a massive pain as every bit of the software was recompiled from scratch including the older version of the PBX (12/13) that I am most familiar with at its guts' level.
But the bottom line is both (virtualized) pihole and Incredible PBX 12/13 are lightweight enough to run fine on an 8GB Pi with KVM.
My next step is to throw away KVM and move to containers. I'll update this post when that happens. Or should I say if ??? ;)
 
My next step is to throw away KVM and move to containers.
I run all my pi apps in containers. I've developed a liking for the simplicity of systemd nspawn containers when there isn't a big "management" need. If ubuntu is your host OS then lxd makes sense.

It's been a long time, but at one point I had mounted Ward's image in an nspawn container and things were mostly working. Not 100% by any means, but close enough I was pretty sure it could be worked out. I just filed it away as a possibility, this was before I started using my own FreePBX install scripts.
 
@Halea: If you have any of the earlier Raspberry Pi boards, we published a simple way to upgrade the Incredible PBX 2020 image on that board which then can be moved to the 8GB RasPi. I didn't encounter any of the errors you noted in performing the upgrade. Might want to try it out if you get a chance.

I think the only one that I have sitting around idle is a Pi 2 with 512MB of RAM. Do you think it would work?
I know I ran older versions of FreePBX on it but I never tried iPBX 2020.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top