Anyone ever have a problem where Endpoint Manager will not install? I tried upgrading it, and it hung after untaring, so I uninstalled it, and am trying to reinstall it, but it keeps hanging after it untars the package.
In freepbx_dbug it just says:
2014-Apr-02 11:33:42 /usr/share/pear/DB.php:635
[WARNING]: preg_match() expects parameter 2 to be string, array given
2014-Apr-02 11:33:42 /usr/share/pear/DB/mysql.php:324
[WARNING]: mysql_query() expects parameter 1 to be string, array given
I set the upgrade in motion on Friday night, and gave it 2 days before I decided it was not working. After uninstalling it and trying to reinstall it, I’ve only waited 2 hours before giving up.
For anyone in the future that runs into this problem, in /etc/php.d/freepbx.ini the memory limit is set to 100m. Increasing that (in my case I did 512m) fixes everything.