Fop2 stop working after Elastix upgrade

  1. 9 years ago

    Hi there!

    After Elastix upgrade from 2.4 to 2.5, the Fop2 stopped working.
    It's try to connect to server, but no connect.
    Maybe some conf file need reconfiguration after the upgrade?

    Thanks.

    thiago, in your case, you have to disable the old FOP1:

    amportal stop_fop

    Then edit /etc/amportal.conf and set

    FOPRUN=false

    And edit /etc/rc.d/rc.local and remove the line that says "amportal start_fop"

    Then start fop2 and try again:

    service fop2 start

    Best regards,

  2. admin

    7 Dec 2014 Administrator

    There is very little information in your problem report to tell you anything useful.

    What fop2 version?

    /usr/local/fop2/fop2_server -v

    Is fop2 running?

    pgrep fop2

    Did you enable the firewall allowing port tcp/4445? If the elastix firewall is enabled, try disabling it and try again.

  3. So Sorry !!!!

    Here you are!
    fop2_server version 2.28

    The service is not running. When I started the service, after 3 seconds, the service goes down.
    The firewall is disabled.

    netstat -nat | grep 4445
    tcp 0 0 0.0.0.0:4445 0.0.0.0:* OUÇA
    tcp 0 0 192.168.2.17:4445 192.168.2.73:50113 ESTABELECIDA
    tcp 0 0 192.168.2.17:4445 192.168.2.73:50111 ESTABELECIDA

    Thanks.

  4. I had a similar problem the other night. I upgraded to Elastix 2.5 (from 2.4 release 8) and that broke FOP2... More importantly, any changes I made in the PBX would throw errors when I tried to "apply" them.

    That is the reason I registered for this forum. While waiting for my registration to be approved, I uninstalled FOP2 from the Elastix addons and that seemed to fix the PBX issues.

    I then rebooted and installed FOP2 again, and FOP2 worked, but the PBX would still throw an error about selecting parked calls from the database whenever I attempted to apply changes...so i uninstalled FOP2 again until I could reach support about the issue.

    Anyway, as of this morning, In preparing to document the issue for support, I re-installed FOP2 again (and it seems there was a repository update this time) in which the installation seems successful. FOP2 is running, and PBX changes are applying without errors.

  5. admin

    9 Dec 2014 Administrator

    The parking erros you saw are because you do not have the park module installed in freepbx, a requirement for the deprecated fop2 admin freepbx module. installing the park module and queues modules are mandatory for fop2 admin to work.

    The latest fop2 version has its own standalone and bundled manager, and does not rely anymore on FreePBX. So my suggestion is not to install the old rpm/market version but the newer version from tarball until we get the new version in the elastix repositories.

    Best regards

  6. Ok OK, guys, but what's the best way to do?
    Unistall fop2? Wait for new releases??

    @runlevel6, my Elastix now is just with freepbx theme. I don't know why, but I'm enjoying.

    Thanks.

  7. admin

    10 Dec 2014 Administrator Answer

    thiago, in your case, you have to disable the old FOP1:

    amportal stop_fop

    Then edit /etc/amportal.conf and set

    FOPRUN=false

    And edit /etc/rc.d/rc.local and remove the line that says "amportal start_fop"

    Then start fop2 and try again:

    service fop2 start

    Best regards,

  8. Hi Admin,

    Now, it's working fine!

    Thank you!

or Sign Up to reply!