Elastix 0.8.5 and embedded Freepbx

Discussion in 'General' started by andreapichler, Aug 27, 2007.

  1. andreapichler

    Joined:
    Aug 23, 2007
    Messages:
    3
    Likes Received:
    0
    Hello.
    I installed the 8.5 beta and tried to update freepbx to the recently released 2.3.0 version (http://www.freepbx.org/support/documentation/installation/upgrading-your-system)
    The upgrade procedure (is not working (I think it depens on the "embedded" integration in elastix) - the page System-Pbx configuration after the upgrade will not be displayed.
    My question is: why the development team has integrated (embedded) freepbx in elastix ?
    A simple link to the freepbx page (/admin) (like trixbox) was not simplier ?
    How can I upgrade to the newer versions ?
    Thanks
    Andrea
     
  2. mbit

    Joined:
    Jul 4, 2007
    Messages:
    466
    Likes Received:
    0
    The embedded design is to help move to a all in one interface. Not like Trixbox which has everything everywhere.

    If you are updating FreePBX manually you need to do the upgrade through your SSH or terminal. You can still get into the modules of FreePBX by going to the right address.

    So do your upgrade in the terminal then in your browser go to

    https://yourpbxip/config.php?type=tool&display=modules

    This IP will take you into the FreePBX module admin to finish the update.
     
  3. jr_oblika

    Joined:
    Mar 16, 2007
    Messages:
    67
    Likes Received:
    0
    I like to make on-line update for freePBX, but return:

    SELECT * FROM module_xml WHERE id = "xml" [nativecode=1146 ** Table 'asterisk.module_xml' doesn't exist]

    tnx for help !<br><br>Post edited by: jr_oblika, at: 2007/09/03 08:26
     
  4. onsite

    Joined:
    Sep 10, 2007
    Messages:
    35
    Likes Received:
    0
    Nice trick but when you hit the "Check for updates online" link you see the error "SELECT * FROM module_xml WHERE id = "xml" [nativecode=1146 ** Table 'asterisk.module_xml' doesn't exist"

    Where is this talbe?
    We are in need of phpmyadmin and webmin here:unsure:

    George.

    EDIT1: unable to check for updates but able to install a third party addon.
    This interface is a mess after completion but fixes afterwards.
    Maybe it's not a good idea to embed freepbx gui...<br><br>Post edited by: onsite, at: 2007/09/10 14:16
     
  5. andreapichler

    Joined:
    Aug 23, 2007
    Messages:
    3
    Likes Received:
    0
    Hello.
    This procedure updates the modules only (not the "core" of freepbx).
    I installed the 8.5 (not beta) and tried to update freepbx (via SSH) but the configuration interface has stopped to work.... (unable to open the /admin and als the /config.php?type=tool display=modules).
    How can I update to the 2.3 of Freepbx (the first version that supports asterisk 1.4) ?
    Thanks
    Andrea
     
  6. itakinet

    Joined:
    Jun 22, 2007
    Messages:
    13
    Likes Received:
    0
    unembedded 1.0

    mv /var/www/html/admin/bounce_op.sh bounce_op.sh_old

    Install the FreePBX

    cd /usr/src/
    wget http://mirror.freepbx.org/freepbx-2.3.0.tar.gz
    tar -zxvf freepbx-2.3.0.tar.gz
    cd freepbx-2.3.0
    ./start_asterisk
    ./install_amp --force-version 2.2.2

    nano /var/www/html/config.php

    <?php
    header("Location: /admin/config.php");
    ?>

    Let me know if this helps at all...
    Thanks
    Kris

    Post edited by: itakinet, at: 2007/09/10 16:21<br><br>Post edited by: itakinet, at: 2007/09/10 22:13
     
  7. onsite

    Joined:
    Sep 10, 2007
    Messages:
    35
    Likes Received:
    0
    Any luck with the hack above ?
    I didn't have any... yet

    Kris, you did it on your own box? How about a little more info ?

    Thanks in advance man,
    George.
     
  8. itakinet

    Joined:
    Jun 22, 2007
    Messages:
    13
    Likes Received:
    0
    What kind of errors are you getting?
    Please provide more detailed info..

    I have this up and running on our company's hosted asterisk servers at Aretta Communications.

    If you want a working Elastix 0.8.5 server spun up quickly, check out our NetPBX product.

    http://www.aretta.com/products/hosted-asterisk.php


    Kris Sheets
    Aretta Communications
    http://www.aretta.com
     
  9. cowboy47

    Joined:
    Jun 14, 2007
    Messages:
    276
    Likes Received:
    0
    This is NOT the case with FreePBX 2.3.0 part of the advantage is that the core and any of the framework can be update via the module admin. This was my fear of embedding the freepbx interface. This needs to come out.

    Another troubling issue is that I just tried to reinstall 0.8.4 but soon realized that when I did a yum update, it was updating to 0.8.5, I had 0.8.4 working with freepbx 2.3.0 now, I am not sure what to do but this is NOT working. May be forced to go back to Trixbox, or Asterisk from scratch.
     
  10. cowboy47

    Joined:
    Jun 14, 2007
    Messages:
    276
    Likes Received:
    0
    OK, so I made a booboo. I did not make a backup of the /var/www/html/config.php before I changed it. What was the origina?????????????
     
  11. andreapichler

    Joined:
    Aug 23, 2007
    Messages:
    3
    Likes Received:
    0
    Hello.
    I tried to upgrade a new installed Elastix 0.8.5 but during the update I have a lot of errors:

    Opening the PBX configuration I recieve a blank page. Is the pcntl.so not included in Elastix ?

    Any suggestions?
    Thanks
    Andrea
     
  12. cowboy47

    Joined:
    Jun 14, 2007
    Messages:
    276
    Likes Received:
    0
    When I made the changes that you outlined, the screen just goes blank with no error. Refreshing the page or reloading results in the same.
     
  13. itakinet

    Joined:
    Jun 22, 2007
    Messages:
    13
    Likes Received:
    0
    I just clean installed Elastix 0.8.5 from ISO and had the same issues.. all the php errors, and the blank screen..

    after I did a yum update and went to

    https://my.pbx.ip/admin/

    I could see the FreePBX 2.3 after the index.php redirect

    It seems to call the /admin/index.php which does something and redirects me to the /admin/config.php where I can see freePBX & update the modules..

    I had also moved the bounce_op.sh back into the /admin directory..

    I will look at this more tomorrow..
    I have included my ssh as a txt file http://forum.elastix.org/old_files/unembedded.txt
     
  14. eleventeenth

    Joined:
    Jul 30, 2007
    Messages:
    11
    Likes Received:
    0
    this forum thread details how we got the system to a workable state after it was killed by this upgrade.
     
  15. xmx

    xmx

    Joined:
    Aug 28, 2007
    Messages:
    17
    Likes Received:
    0
    Here is another solution... and it works ;)
     
  16. xmx

    xmx

    Joined:
    Aug 28, 2007
    Messages:
    17
    Likes Received:
    0

Share This Page