Reload failed because retrieve_conf encountered an error: 255

After module upgrade getting error 255 can not update

1 Like

I too have this error - this is the full log

Reload failed because retrieve_conf encountered an error: 255

exit: 255
found language dir en_UK for broadcast, not installed on system, skipping
found language dir en_UK for directorypro, not installed on system, skipping
found language dir en_UK for pagingpro, not installed on system, skipping
found language dir fr for directory, not installed on system, skipping
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib64/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS =
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER =
Added to globals: AMPDBPASS =
Added to globals: VMX_CONTEXT = from-internal
Added to globals: VMX_PRI = 1
Added to globals: VMX_TIMEDEST_CONTEXT =
Added to globals: VMX_TIMEDEST_EXT = dovm
Added to globals: VMX_TIMEDEST_PRI = 1
Added to globals: VMX_LOOPDEST_CONTEXT =
Added to globals: VMX_LOOPDEST_EXT = dovm
Added to globals: VMX_LOOPDEST_PRI = 1
Added to globals: MIXMON_DIR =
Added to globals: MIXMON_POST =
Added to globals: DIAL_OPTIONS = Ttr
Added to globals: TRUNK_OPTIONS = Tt
Added to globals: TRUNK_RING_TIMER = 300
Added to globals: MIXMON_FORMAT = wav
Added to globals: REC_POLICY = caller
Added to globals: RINGTIMER_DEFAULT = 15
Added to globals: TRANSFER_CONTEXT = from-internal-xfer
PHP Fatal error: Call to undefined function broadcast_backgrounddetect() in /var/www/html/admin/modules/broadcast/enc/functions.inc.php on line 73
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

Can anyone shed any light on this please?

The same here.

[2014-Aug-28 12:38:27] [CRITICAL] (admin/functions.inc.php:379) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 255)

Happened to me this morning as well. If you are NOT using the broadcast module you can delete it via CLI then the reload should take.

I just tested this and I can not replicate on systems without a license. What version of Asterisk are you using?

We have version 11.12.0 with PBX Firmware 5.211.65.-16. I noticed the auto update from 5.211.65-15 took place last night not sure if this factors in at all.

The same error also here. I upgraded from version 5.211.65.-15. All previous upgrade scripts worked perfectly. Workaround was to disable the broadcast module.

I post the same error under FreePBX --> Installation. Sorry for my double post, - but this thread here should be also there. :wink:

We appreciate you bringing this issue to our attention. We’ve published a new version of Broadcast (2.11.5) that should resolve the issue you are seeing. If you have any other issues, please let us know.

Hi to all

I get today an error with RCONFFAIL after running the latest upgrade script 5.211.65-16:

Critical Error retrieve_conf failed, config not applied

Reload failed because retrieve_conf encountered an error: 255
Added 10 seconds ago
(freepbx.RCONFFAIL)

At command line it reports the following message:

PHP Fatal error: Call to undefined function broadcast_backgrounddetect() in /var/www/html/admin/modules/broadcast/enc/functions.inc.php on line 73

My workaround was to disable the FreePBX broadcast module, - now the error message is gone. When enabling or reinstalling the broadcast module the error message appears again. So, this error is still present. :frowning:

Information, - I have followed all the necessary upgrade steps. It was executed from FreePBX version 5.211.65-15. All previous upgrade scripts have worked perfectly.

This one was my fault. 2.11.5 should have fixed this - can you check that you’re running that version?

Yes, after updating to broadcast 2.11.5 the error message of RCONFFAIL is gone. It seems to work now. Thanks for this fast bugfixing! :slight_smile:

I am now getting this error while changing from sip to pjsip. Uninstalled Broadcast 2.11.5. Error still there.
exit: 255
found language dir fr for directory, not installed on system, skipping
found language dir en_UK for pagingpro, not installed on system, skipping
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = amp111
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = freepbxuser
Added to globals: AMPDBPASS = f8ef5fb80b64
Added to globals: VMX_CONTEXT = from-internal
Added to globals: VMX_PRI = 1
Added to globals: VMX_TIMEDEST_CONTEXT =
Added to globals: VMX_TIMEDEST_EXT = dovm
Added to globals: VMX_TIMEDEST_PRI = 1
Added to globals: VMX_LOOPDEST_CONTEXT =
Added to globals: VMX_LOOPDEST_EXT = dovm
Added to globals: VMX_LOOPDEST_PRI = 1
Added to globals: MIXMON_DIR =
Added to globals: MIXMON_POST =
Added to globals: DIAL_OPTIONS = Ttr
Added to globals: TRUNK_OPTIONS = Tt
Added to globals: TRUNK_RING_TIMER = 300
Added to globals: MIXMON_FORMAT = wav
Added to globals: REC_POLICY = caller
Added to globals: RINGTIMER_DEFAULT = 15
Added to globals: TRANSFER_CONTEXT = from-internal-xfer
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Endpoint already exists.’ in /var/www/html/admin/modules/core/functions.inc/PJSip.class.php:512
Stack trace:
#0 /var/www/html/admin/modules/core/functions.inc/PJSip.class.php(388): FreePBX\modules\Core\PJSip->generateEndpoint(Array, Array)
#1 /var/www/html/admin/modules/core/functions.inc/PJSip.class.php(73): FreePBX\modules\Core\PJSip->generateEndpoints()
#2 /var/www/html/admin/libraries/BMO/FileHooks.class.php(88): FreePBX\modules\Core\PJSip->genConfig()
#3 /var/www/html/admin/libraries/BMO/FileHooks.class.php(25): FileHooks->processNewHooks()
#4 /var/lib/asterisk/bin/retrieve_conf(732): FileHooks->processFileHooks(Array)
#5 {main}
thrown in /var/www/html/admin/modules/core/functions.inc/PJSip.class.php on line 512

PBX Firmware: 6.12.65-18
PBX Service Pack: 1.0.0.0
FreePBX 12.0.1rc34