Issue with Sangoma Connect upgrade to 15.0.5

Ran a fwconsole ma upgradeall today on a FreePBX 15 system (edge modules enabled) and now after boot I am getting this:

Last login: Mon Oct 26 21:11:50 2020 from 192.168.178.5
Exception: Bug: Explicitly know about FreePBX\Console\Command\, asked for FreePBX\Console\Command\Sangomaconnect, but /var/www/html/admin/libraries/Console/Sangomaconnect.php (or Sangomaconnect.class.php) doesn't exist in file /var/www/html/admin/functions.inc.php on line 216
Stack trace:
  1. Exception->() /var/www/html/admin/functions.inc.php:216
  2. fpbx_framework_autoloader() [internal]:0
  3. spl_autoload_call() [internal]:0
  4. class_exists() /var/lib/asterisk/bin/fwconsole:151
Exception: Bug: Explicitly know about FreePBX\Console\Command\, asked for FreePBX\Console\Command\Sangomaconnect, but /var/www/html/admin/libraries/Console/Sangomaconnect.php (or Sangomaconnect.class.php) doesn't exist in file /var/www/html/admin/functions.inc.php on line 216
Stack trace:
  1. Exception->() /var/www/html/admin/functions.inc.php:216
  2. fpbx_framework_autoloader() [internal]:0
  3. spl_autoload_call() [internal]:0
  4. class_exists() /var/lib/asterisk/bin/fwconsole:151

There seems to be an issue with the Sangoma connect update to 15.0.5

Exception: Bug: Explicitly know about FreePBX\Console\Command\, asked for FreePBX\Console\Command\Sangomaconnect, but /var/www/html/admin/libraries/Console/Sangomaconnect.php (or Sangomaconnect.class.php) doesn't exist in file /var/www/html/admin/functions.inc.php on line 216
Stack trace:
  1. Exception->() /var/www/html/admin/functions.inc.php:216
  2. fpbx_framework_autoloader() [internal]:0
  3. spl_autoload_call() [internal]:0
  4. class_exists() /var/lib/asterisk/bin/fwconsole:151
Exception: Bug: Explicitly know about FreePBX\Console\Command\, asked for FreePBX\Console\Command\Sangomaconnect, but /var/www/html/admin/libraries/Console/Sangomaconnect.php (or Sangomaconnect.class.php) doesn't exist in file /var/www/html/admin/functions.inc.php on line 216
Stack trace:
  1. Exception->() /var/www/html/admin/functions.inc.php:216
  2. fpbx_framework_autoloader() [internal]:0
  3. spl_autoload_call() [internal]:0
  4. class_exists() /var/lib/asterisk/bin/fwconsole:151

Accessing module admin from the GUI returns:

Attempted to load /var/www/html/admin/modules/sangomaconnect/Sangomaconnect.class.php but it didn't define the class Sangomaconnect

Edit:
Downgrading to 15.0.4 fixed this.

Please report it: issues.freepbx.org

Done:
https://issues.freepbx.org/browse/FREEPBX-21982

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.