Commercial modules being pushed

I keep having commercial modules reinstalled after I have removed them. This generates several errors and issues, mostly with cron such as “/bin/sh: /var/lib/asterisk/bin/pagepro-scheduler.php: Permission denied”.

It’s good permission was denied. I don’t own that module, I don’t use that module, and I have specifically uninstalled and removed it from the hard drive, as well as many others, multiple times. Why do they keep getting pushed? I’m aware of them and if at some point I do have the desire to use them I’m fully capable of installing them. Right now all they do is annoy and cause me to have to waste time cleaning them all out for the umpteenth time, which doesn’t make for good will thoughts about the platform or distro.

Disable the modules instead of uninstalling, that will prevent the update scripts from downloading again.

1 Like

After I recovered from this morning’s update that bricked my system until I manually updated the core and framework modules, I installed and disabled the commercial modules. Now I remember why I removed them instead of disabling them before. Although they are disabled, their cron jobs are not. Is it safe to manually edit asterisk’s crontab or will it just regenerate?

Details?

1 Like

Woah, that’s news to me? What happened? Which updates?

Wish i had some. It hung on stage one and I had to manually update several modules, core and framework stand out as the showstoppers. Enabling framework made the update complete, then there were a few rounds of module updates to get over dependencies so core and everything else was updated and working correctly.

You can tell by the cron mail when I fixed framework, then everything else.

The content of the first group of emails.

Exception: Cant find FreePBX\Modules\Webrtc::: Unable to locate the FreePBX BMO Class 'Core’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install core 2) fwconsole ma enable core in file /var/www/html/admin/libraries/BMO/Hooks.class.php on line 253
Stack trace:

  1. Exception->() /var/www/html/admin/libraries/BMO/Hooks.class.php:253
  2. FreePBX\Hooks->processHooks() /var/www/html/admin/modules/dashboard/Dashboard.class.php:319
  3. Dashboard->extIgnoreList() /var/www/html/admin/modules/dashboard/classes/AsteriskInfo.class.php:87
  4. AsteriskInfo2->get_connections() /var/www/html/admin/modules/dashboard/classes/SysInfo.class.php:95
  5. SysInfo->getAstInfo() /var/www/html/admin/modules/dashboard/classes/SysInfo.class.php:55
  6. SysInfo->getSysInfo() /var/www/html/admin/modules/dashboard/Dashboard.class.php:175
  7. Dashboard->genSysInfo() /var/www/html/admin/modules/dashboard/Dashboard.class.php:209
  8. Dashboard->getSysInfo() /var/www/html/admin/modules/dashboard/Dashboard.class.php:158
  9. Dashboard->runTrigger() /var/www/html/admin/modules/dashboard/scheduler.php:35

And the second bunch where asterisk wouldn’t start til the rest of the modules were squared away.

Exception: Asterisk is not connected in file /var/www/html/admin/libraries/php-asmanager.php on line 238
Stack trace:

  1. Exception->() /var/www/html/admin/libraries/php-asmanager.php:238
  2. AGI_AsteriskManager->send_request() /var/www/html/admin/libraries/php-asmanager.php:582
  3. AGI_AsteriskManager->Command() /var/www/html/admin/libraries/php-asmanager.php:1582
  4. AGI_AsteriskManager->database_get() /var/www/html/admin/modules/timeconditions/bin/schedtc.php:29

And some bits from the log.

` [2016-Sep-15 05:51:14] [INFO] (bin/freepbx_setting:42) - trying to run as user asterisk:
[2016-Sep-15 05:51:14] [INFO] (bin/freepbx_setting:43) -
[2016-Sep-15 05:51:14] [INFO] (bin/freepbx_setting:64) - [AMPSBIN] already set to [/usr/sbin]
[2016-Sep-15 05:51:14] [INFO] (bin/freepbx_setting:65) -
[2016-Sep-15 05:51:15] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Sep-15 05:51:15] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Sep-15 05:52:03] [WARNING] (core/functions.inc.php:6441) - Depreciated Function core_users_list detected in /var/www/html/admin/libraries/modulefunctions.class.php on line 2893
[2016-Sep-15 05:52:13] [UPDATE] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[NEWUPDATES] - There are 3 modules available for online upgrades (core 13.0.113 (current: 13.0.112)
framework 13.0.188.1 (current: 13.0.187)
sipsettings 13.0.23.10 (current: 13.0.23.7)
}
[2016-Sep-15 05:52:42] [UPDATE] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[NEWUPDATES] - There are 2 modules available for online upgrades (core 13.0.113 (current: 13.0.112)
sipsettings 13.0.23.10 (current: 13.0.23.7)
)
[2016-Sep-15 05:52:56] [UPDATE] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[NEWUPDATES] - There is 1 module available for online upgrade (sipsettings 13.0.23.10 (current: 13.0.23.7)
}
}
[2016-Sep-15 05:58:49] [CRITICAL] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 1)
[2016-Sep-15 06:03:11] [CRITICAL] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 1)
[2016-Sep-15 06:04:07] [CRITICAL] (admin/bootstrap.php:272) - Connection attmempt to AMI failed
[2016-Sep-15 06:04:07] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Sep-15 06:04:07] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Sep-15 06:09:25] [ERROR] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[modules_disabled] - You have 3 disabled modules (The following modules are disabled because they need to be upgraded: core, framework, sipsettings

You should go to the module admin page to fix these.)
[2016-Sep-15 06:16:11] [ERROR] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[modules_disabled] - You have 3 disabled modules (The following modules are disabled because they need to be upgraded:
core, framework, sipsettings

You should go to the module admin page to fix these.)
`