GOOD NEWS Incredible PBX for CentOS 6.7

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
New Incredible PBX 11 and 13 releases for CentOS 6.7 with the latest versions of Asterisk 11 and 13 are now available. Tutorials have also been updated.

Asterisk 13 Tutorial

Asterisk 11 Tutorial

CMDpcZcVEAA26JD.jpg


NOTE: The Python update in CentOS 6.7 is broken at the moment. Use: yum -y upgrade --skip-broken
 

ppmax

Guru
Joined
Oct 18, 2007
Messages
79
Reaction score
5
Hi Ward--

Thanks for the quick response! I hustled home and tried everything again...but part way through executing ./IncrediblePBX* the script exits out with this error:
Code:
./IncrediblePBX11-12.sh: line 140: syntax error near unexpected token `fi'
./IncrediblePBX11-12.sh: line 140: `fi'

Checking the install script I see there may be an issue with the items in red...as you can see everything inbetween else and fi is commented out.

if [[ "$release" = "7" ]]; then
ln -s /usr/lib/systemd/system/mariadb.service /usr/lib/systemd/system/mysqld.service
echo "#\!/bin/bash" > /etc/init.d/mysqld
sed -i 's|\\||' /etc/init.d/mysqld
echo "service mariadb \$1" >> /etc/init.d/mysqld
chmod +x /etc/init.d/mysqld
chkconfig --levels 235 mariadb on
else
# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
# yum -y install mysql.`uname -i` yum-plugin-replace
# yum -y replace mysql --replace-with mysql55w
# service mysqld start
fi
chkconfig --levels 235 mysqld on

I commented out else, then re-ran ./IncrediblePBX* and it looks like I'm off to the races again...

thx
PP
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Thanks, ppmax. I HATE that "feature" of bash. No reason that should blow up, but it does. In fact, it's the only programming language of which I'm aware in which walking through commented out code can generate an error condition. Anyway, it's been fixed.

Initially, we thought we were going to need a workaround for MySQL, but that turned out to not be the case. So... the commented out code only appeared in the 11-12 version which we worked on first. Judging by last night's downloads, many folks have moved to Asterisk 13.
 

ppmax

Guru
Joined
Oct 18, 2007
Messages
79
Reaction score
5
Thanks again Ward--

Should I run that chunk of code separately now that I'm up and running?

best,
PP
 
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