Error during installation fop2 1.2.15

  1. 10 years ago

    Hello!
    I tryed to upgrade fop2 as FreePBX module from 1.2.13 to 1.2.15, but got error.

    Reload failed because retrieve_conf encountered an error: 1
    
    exit: 1
    Added to globals: OPERATOR_XTN =
    Added to globals: VM_OPTS =
    Added to globals: VM_GAIN =
    Added to globals: VM_DDTYPE = u
    Added to globals: VMX_OPTS_LOOP =
    Added to globals: VMX_OPTS_DOVM =
    Added to globals: VMX_TIMEOUT = 2
    Added to globals: VMX_REPEAT = 1
    Added to globals: VMX_LOOPS = 1
    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 = gramoZeka80
    Added to globals: AMPDBENGINE = mysql
    Added to globals: AMPDBHOST = localhost
    Added to globals: AMPDBNAME = asterisk
    Added to globals: AMPDBUSER = asteriskuser
    Added to globals: AMPDBPASS = MsoMnw11TSAzEbRD
    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
    [FATAL] died in splice app-cf-on  ** MISSING FEATURE CODE **
    
    Trace Back:
    
    /var/www/html/admin/libraries/extensions.class.php:183 die_freepbx()
     [0]: died in splice app-cf-on  ** MISSING FEATURE CODE **
    
    /var/www/html/admin/modules/fop2admin/functions.inc.php:230 extensions->splice()
     [0]: app-cf-on
     [1]: ** MISSING FEATURE CODE **
     [2]: hook_1
     [3]:
    
    /var/lib/asterisk/bin/retrieve_conf:683 fop2admin_hookGet_config()
     [0]: asterisk

    Then I upgrade fop2 server and reinstall fop2 module and again the same error.

    I have asterisk 1.8 and FreePBX 2.11

    Could you help please to resolve this trouble?

  2. admin

    18 Dec 2013 Administrator

    Install the call forward module for FreePBX, then install fop2admin and it should work fine.

    Best regards,

  3. I'm also having this problem, but I already have call forward module installed.
    I've also re-installed call forward module and still can't install fop2 1.2.1.5 module.
    Cant downgrade because I haven't got a copy of previous module install file.
    Any suggestions?

  4. admin

    2 Feb 2014 Administrator

    Are you sure you have the exact same error? perhaps it is similar but not the same? Installing the CF module will fix it if that is the case. If you want to try a previous version here is the link

    http://download.fop2.com/fop2admin-1.2.14.tgz

    Best regards,

  5. Downgrading to the previous version fixed it, but.....
    I discovered that if any CF feature codes are disabled the new version will fail installation.
    I enabled all CF feature codes and it installed successfully.

  6. admin

    4 Feb 2014 Administrator

    Downgrading to the previous version fixed it, but.....
    I discovered that if any CF feature codes are disabled the new version will fail installation.
    I enabled all CF feature codes and it installed successfully.

    Thanks! I know what to test/look for in order to modify the module code and prevent this from happening to other people.

  7. Glad to have helped :)

  8. BUMP..

    Got this error today when updateing. I have call forwarding installed, but many of the options disabled. Any chance changes could be made to allow me disable call forwarding, yet still use FOP2 admin?? (see CLI output below for error)

    [root@localhost bin]# ./retrieve_conf
    found language dir en_UK for pagingpro, not installed on system, skipping
    found language dir fr for directory, not installed on system, skipping
    found language dir en_UK for directorypro, not installed on system, skipping
    found language dir en_UK for broadcast, 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 = 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 = DTCYSOAJEJIy
    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
    [FATAL] died in splice app-cf-on ** MISSING FEATURE CODE **

    Trace Back:

    /var/www/html/admin/libraries/extensions.class.php:183 die_freepbx()
    [0]: died in splice app-cf-on ** MISSING FEATURE CODE **

    /var/www/html/admin/modules/fop2admin/functions.inc.php:230 extensions->splice()
    [0]: app-cf-on
    [1]: ** MISSING FEATURE CODE **
    [2]: hook_1
    [3]:

    /var/lib/asterisk/bin/retrieve_conf:709 fop2admin_hookGet_config()
    [0]: asterisk

  9. admin

    1 Mar 2014 Administrator

    fop2admin was already updated to avoid that problem. When did you download fop2admin? And what feature do you have disabled so I can try to reproduce it here?

  10. admin

    1 Mar 2014 Administrator

    Ok, fop2admin did a global check, not individual feature code change. I have an experimental build that you might want to try and see if it allows you to use it without some features codes being active:

    http://download.fop2.com/fop2admin-1.2.16.tgz

    Let me know how it works.

    Best regards,

or Sign Up to reply!