robfantini
(robfantini)
October 19, 2014, 3:45pm
1
Hello
I upgraded a test system from v11 to v12 .
But the voicemail modules won’t install correctly.
When I try to install no error is shown. the install completes:
Installing voicemail
Checking for General Setting migrations…not needed
checking if Voicemail Admin (vmailadmin) is installed…not installed, ok
But the module does not install.
Does anyone have a clue on how to fix this?
thanks.
Rob
tm1000
(Andrew Nagy)
October 19, 2014, 6:12pm
2
Login through SSH. run: amportal a dbug
Now go try to install. Please report the errors back here.
robfantini
(robfantini)
October 19, 2014, 7:03pm
3
tm1000:
amportal a dbug
Andrew - here is the result:
==> /var/log/httpd/error_log <==
[Sun Oct 19 15:02:51 2014] [error] [client 172.30.24.9] PHP Fatal error: Uncaught exception 'Exception' with message 'Coding Error - don't understand '#' from /etc/asterisk/modules.conf' in /var/www/html/admin/libraries/BMO/LoadConfig.class.php:225\nStack trace:\n#0 /var/www/html/admin/libraries/BMO/LoadConfig.class.php(72): LoadConfig->explodeConfig(Array)\n#1 /var/www/html/admin/libraries/BMO/LoadConfig.class.php(36): LoadConfig->loadConfig('modules.conf', '/etc/asterisk')\n#2 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(110): LoadConfig->__construct(Object(FreePBX), 'modules.conf')\n#3 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(50): Self_Helper->autoLoad('LoadConfig', Array)\n#4 /var/www/html/admin/libraries/BMO/ConfigFile.class.php(32): Self_Helper->__call('LoadConfig', Array)\n#5 /var/www/html/admin/libraries/BMO/ConfigFile.class.php(32): FreePBX->LoadConfig('modules.conf')\n#6 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(110): ConfigFile->__construct(Object(FreePBX), 'modules.conf')\n#7 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(50): Se in /var/www/html/admin/libraries/BMO/LoadConfig.class.php on line 225, referer: http://sip-kvm/admin/config.php?display=modules
tm1000
(Andrew Nagy)
October 19, 2014, 7:25pm
4
Comments in “modules.conf” can only be done with “;”. You have a line commented out with a “#”. Go to /etc/asterisk/modules.conf and remove the offending “#” line
robfantini
(robfantini)
October 19, 2014, 9:55pm
5
Andrew -
thank you very much for that… made the change and voicemail installed.