Free PBX can't update

Discussion in 'General' started by fricci, Oct 18, 2010.

  1. fricci

    Joined:
    Jun 18, 2008
    Messages:
    28
    Likes Received:
    0
    Hello Community.

    I have an elastix 2.0. I tried to update/check for updates on the unembedded vesion of freepbx, but I get this error:

    Code:
    Warning: Cannot connect to online repository (mirror.freepbx.org). Online modules are not available.
    from the shell I can ping the host and I have full internet connectivity. Any ideas?

    Thanks

    Fabio
     
  2. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    That could be an issue with http. You may need a proxy for update.

    Anyway if you plan to update FreePBX the FreePBX way, you should exclude FreePBX from the Elastix repos.

    regards,

    Rafael
     
  3. fricci

    Joined:
    Jun 18, 2008
    Messages:
    28
    Likes Received:
    0
    It was a problem with the firewall. My bad....thanks!
     
  4. coryjsanders

    Joined:
    Mar 25, 2010
    Messages:
    181
    Likes Received:
    0
    If anyone can help while I muddle through this. I can't add valid extensions. They show up, but I can not access them. I think the last module upgrade did something. On FreePBX I get this message when I try to Apply Configuration Changes.

    (edit: I see this in /var/lib/asterisk/bin/retrieve_conf $conn_dirs = connectdirs::create()

    Can anyone tell me what the missing argument is?

    (second edit: My retrieve_conf file looks very different in 2.0 than 1.6. Is there a place where I can get a fresh retrieve_conf and replace the corrupted file?)


    Reload failed because retrieve_conf encountered an error: 255

    exit: 255
    Checking for PEAR DB..OK
    Checking for PEAR Console::Getopt..OK
    Checking for /etc/amportal.conf ..OK
    Bootstrapping /etc/amportal.conf ..OK
    Parsing /etc/amportal.conf ..OK
    Parsing /etc/asterisk/asterisk.conf ..OK
    Connecting to database..OK
    PHP Warning: Missing argument 1 for connectdirs::create(), called in /var/lib/asterisk/bin/retrieve_conf on line 436 and defined in /var/lib/asterisk/bin/retrieve_conf on line 13
    Connecting to Asterisk manager interface..OK
    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 = elastix456
    Added to globals: AMPDBENGINE = mysql
    Added to globals: AMPDBHOST = localhost
    Added to globals: AMPDBNAME = asterisk
    Added to globals: AMPDBUSER = asteriskuser
    Added to globals: AMPDBPASS = rhino
    PHP Fatal error: Call to a member function output() on a non-object in /var/www/html/admin/extensions.class.php on line 303

    1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.
     
  5. coryjsanders

    Joined:
    Mar 25, 2010
    Messages:
    181
    Likes Received:
    0
    Here is the answer to my issue per Palo Santos:

    The main problem was that "user fax xxxxxxxxxx /
    any CID " did not have any destination, FreePBX should prevent this issue
    if its not set, because the retrieve_conf was passing a null value to other
    script, so the retrieve_conf failed doing its job.

    Please next time be sure to set destinations on all inbound routes and I
    must warn you that any update made on the FreePBX doesnt assure you that it
    is going to work with elastix.
     

Share This Page