Apply Config Fail - Reload failed because retrieve_conf encountered an error: 255

Hi All

I am getting the following error upon Apply Config:

Reload failed because retrieve_conf encountered an error: 255

exit: 255
Unable to continue. array_merge(): Argument #1 is not an array in /var/www/html/admin/modules/weakpasswords/functions.inc.php on line 44

The sequence of events leading to the error were

  1. I had upgraded a handful of modules according to the latest version recommendation on the dashboard.
  2. First config change after the above upgrade was an update to an extension. My system restarted suddenly after pressing Apply Config
  3. Subsequent Apply Config results in the error

I am Running FreePBX 13 and Asterisk 13, loaded from FreePBX Distro.

Hoping for some advice to resolve.

Thanks

Jim

Hi

Just bumping this in a new area of the forum hoping someone can help. Not able to make any config changes at present.

Thanks

Jim

Try uninstalling the weak password module and try again. If it works then reinstall weak passwords.

Hi Stonet

Thanks for your suggestion. I did try disabling weak passwords, but then it started complaining in a similar fashion about the core. Thinking I may have to reinstall the whole lot.

Regards

Jim

With weak passwords uninstalled, the error is this:

Reload failed because retrieve_conf encountered an error: 255

exit: 255
PHP Fatal error: Call to a member function getMessage() on a non-object in /var/www/html/admin/modules/core/functions.inc.php on line 411
Whoops\Exception\ErrorException: Call to a member function getMessage() on a non-object in file /var/www/html/admin/modules/core/functions.inc.php on line 411
Stack trace:

  1. () /var/www/html/admin/modules/core/functions.inc.php:411
    1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

I have the following in the log if it helps:

[2016-Jun-28 03:23:17] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_users_list detected in /var/www/html/admin/libraries/modulefunctions.class.php on line 2892
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:341) - /var/lib/asterisk/agi-bin/areminder failed to copy from module directory
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:341) - /var/lib/asterisk/agi-bin/calllimit failed to copy from module directory
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/conferencespro/ari/modules/conferencespro.module to /var/www/html/recordings/modules/conferencespro.module, but /var/www/html/recordings/modules doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:341) - /var/lib/asterisk/agi-bin/enc failed to copy from module directory
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/restapi/ari/modules/restapi.module to /var/www/html/recordings/modules/restapi.module, but /var/www/html/recordings/modules doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:341) - /var/lib/asterisk/agi-bin/enc failed to copy from module directory
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/modules/webrtcphone.module to /var/www/html/recordings/modules/webrtcphone.module, but /var/www/html/recordings/modules doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/theme/webrtcimages to /var/www/html/recordings/theme/webrtcimages, but /var/www/html/recordings/theme doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/theme/webrtc.css to /var/www/html/recordings/theme/webrtc.css, but /var/www/html/recordings/theme doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/theme/webrtcsounds to /var/www/html/recordings/theme/webrtcsounds, but /var/www/html/recordings/theme doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/js/phone.js to /var/www/html/recordings/theme/js/phone.js, but /var/www/html/recordings/theme/js doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/js/jssip-devel.js to /var/www/html/recordings/theme/js/jssip-devel.js, but /var/www/html/recordings/theme/js doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/js/adaptor.js to /var/www/html/recordings/theme/js/adaptor.js, but /var/www/html/recordings/theme/js doesn’t exist
[2016-Jun-28 03:23:54] [ERROR] (bin/retrieve_conf:280) - Tried to link /var/www/html/admin/modules/webrtc/ari/js/webrtc.js to /var/www/html/recordings/theme/js/webrtc.js, but /var/www/html/recordings/theme/js doesn’t exist
[2016-Jun-28 03:23:54] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/digium_phones/classes/digium_phones.php on line 121
[2016-Jun-28 03:23:54] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:54] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (BMO/Notifications.class.php:487) - [NOTIFICATION]-[fax]-[invalid_email] - Invalid Email for Inbound Fax (User Manager users ‘182,150,152,153,184,183,103,125,121,128,131,166,138,160’ have the ability to receive faxes but have no email address defined so they will not be able to receive faxes over email,)
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/libraries/featurecodes.functions.php on line 42
[2016-Jun-28 03:23:55] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/core/functions.inc.php on line 1075
[2016-Jun-28 03:23:55] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 1689
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_routing_list detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 34
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_devices_get detected in /var/www/html/admin/modules/accountcodepreserve/functions.inc.php on line 78
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_did_list detected in /var/www/html/admin/modules/blacklist/functions.inc.php on line 34
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_routing_list detected in /var/www/html/admin/modules/callrecording/functions.inc.php on line 382
[2016-Jun-28 03:23:56] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/digium_phones/classes/digium_phones.php on line 121
[2016-Jun-28 03:23:57] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/queues/functions.inc/queue_conf.php on line 97
[2016-Jun-28 03:23:57] [WARNING] (core/functions.inc.php:6611) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 4246
[2016-Jun-28 03:23:57] [CRITICAL] (BMO/Notifications.class.php:487) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 255)