I just updated about 8 modules the latest version a few minutes ago and when I click Apply Config, I get this:
Reload failed because retrieve_conf encountered an error: 1
exit: 1
[FATAL] SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
Trace Back:
/drbd/httpd/www/html/admin/libraries/BMO/Database.class.php:70 PDO->__construct()
[0]: mysql:host=localhost;dbname=asteriskcdrdb
[1]: username
[2]: password
/drbd/httpd/www/html/admin/modules/cdr/Cdr.class.php:35 Database->__construct()
[0]: mysql:host=localhost;dbname=asteriskcdrdb
[1]: username
[2]: password
/drbd/httpd/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Cdr->__construct()
[0]:
/drbd/httpd/www/html/admin/libraries/BMO/Self_Helper.class.php:36 Self_Helper->autoLoad()
[0]: Cdr
/drbd/httpd/www/html/admin/libraries/BMO/Hooks.class.php:163 Self_Helper->__get()
[0]: Cdr
/drbd/httpd/www/html/admin/libraries/BMO/Hooks.class.php:37 Hooks->preloadBMOModules()
/drbd/asterisk/lib/bin/retrieve_conf:26 Hooks->updateBMOHooks()
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.
===========================
I manually ran retrieve_conf and it outputs this (Looks the same as from FreePBX):
[root@freepbx-a ~]# /drbd/asterisk/lib/bin/retrieve_conf
[FATAL] SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
Trace Back:
/drbd/httpd/www/html/admin/libraries/BMO/Database.class.php:70 PDO->__construct()
[0]: mysql:host=localhost;dbname=asteriskcdrdb
[1]: username
[2]: password
/drbd/httpd/www/html/admin/modules/cdr/Cdr.class.php:35 Database->__construct()
[0]: mysql:host=localhost;dbname=asteriskcdrdb
[1]: username
[2]: password
/drbd/httpd/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Cdr->__construct()
[0]:
/drbd/httpd/www/html/admin/libraries/BMO/Self_Helper.class.php:36 Self_Helper->autoLoad()
[0]: Cdr
/drbd/httpd/www/html/admin/libraries/BMO/Hooks.class.php:163 Self_Helper->__get()
[0]: Cdr
/drbd/httpd/www/html/admin/libraries/BMO/Hooks.class.php:37 Hooks->preloadBMOModules()
/drbd/asterisk/lib/bin/retrieve_conf:26 Hooks->updateBMOHooks()
[root@freepbx-a ~]#