PIONEERS Incredible PBX 16-15.2 for VirtualBox

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
We've uploaded a new VirtualBox image of Incredible PBX 16-15.2 to SourceForge. For the time being, follow any of the VirtualBox tutorials on Nerd Vittles to get started. We'll add a fresh one next week.

There are a couple minor bugs.

1. pbxstatus incorrectly displays the available disk space on the virtual machine. To correct it, login as root and issue the following command:

Code:
sed -i 's|grep " /"|grep root|' /usr/local/sbin/pbxstatus

2. In the Virtual Machine Settings under the System tab, you may need to check Hardware Clock in UTC Time.

3. Still some quirks with Asterisk startup on boot. Looks like Asterisk/FreePBX tries to start before MariaDB/MySQL is up and running. Issuing this command seems to fix it:

Code:
sed -i 's|sleep 5|sleep 20|' /etc/rc.local

4. /etc/rc.local that reliably works for us looks like this. YMMV!
Code:
touch /var/lock/subsys/local
sleep 20
#/usr/sbin/fwconsole restart
#wait
#sleep 10

hostname incrediblepbx.incrediblepbx.com

#/usr/sbin/fwconsole restart
#wait
systemctl restart incrediblepbx.service
wait
sleep 10

#/usr/local/sbin/iptables-restart
#wait
#sleep 10

EErbhhHXYAAlwr4
 
Last edited:

dicko

Still learning but earning
Joined
Oct 30, 2015
Messages
1,607
Reaction score
826
In the asterisk.service file

You need


After=mariadb.service

Not just network
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
In the asterisk.service file

You need


After=mariadb.service

Not just network

It was a mess, but even after adding it, something still causes the initial Asterisk startup to fail. rc.local fixes it for the short term. New 16-15.2.1 update should be available on SourceForge in about an hour or so if you want to wrestle with it. :cool:
 

dicko

Still learning but earning
Joined
Oct 30, 2015
Messages
1,607
Reaction score
826
If you go with systemd, you kind of have to go with systemd 100% , it's a pain making everything in rc.local compliant, but it is eventually better than sys-v because you can control the order of services starting (btdt)
 

Members online

No members online now.

Forum statistics

Threads
25,781
Messages
167,507
Members
19,201
Latest member
troutpocket
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.
Top