PIONEERS Incredible PBX 16-15.2 for VirtualBox

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,404
Reaction score
2,732
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
 
Last edited:

dicko

Still learning but earning
Joined
Oct 30, 2015
Messages
677
Reaction score
252
In the asterisk.service file

You need


After=mariadb.service

Not just network
 
  • Like
Reactions: wardmundy

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,404
Reaction score
2,732
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
677
Reaction score
252
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.

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,562
Messages
138,877
Members
14,669
Latest member
cleron