GOOD NEWS Incredible PBX for CentOS 6.7

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,407
Reaction score
2,736
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



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

ppmax

Guru
Joined
Oct 18, 2007
Messages
77
Reaction score
4
Location
Boulder, CO
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
15,407
Reaction score
2,736
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
77
Reaction score
4
Location
Boulder, CO
Thanks again Ward--

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

best,
PP
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,565
Messages
138,902
Members
14,673
Latest member
vicndf