Help with Crash and Update.

Hello, I need help with 2 things:

1) My fop2 seems to be crashing an awful lot lately, and I have no idea of how/where to read a log that would tell me "what" or "when" its crashing. (W/E it is that I have to do, it has all to be done by console)

2) Step by step on how to update from 2.26 to the newly released 2.28 w/o destroying anything in the process. Tried to find something like a "yum update fop2" but there seems to be none. Also I have a license and don't know if updating voids it, if it does then ignore this question.

Its running on a Centos 6 x64 if I'm not mistaken.

Thanks.

Comments

  • Upgrading FOP2 will most probably help with the crashes. What you can try is to disable websockets in /var/www/html/fop2/js/presence.js as there is a known crash condition over websockets with large payloads/packets.

    As for upgrading FOP2 without destroying anything in the process, just install OVER your current installation. Is the same process as installing a new version, download the tarball, extract it and run "make"

    If your copy is older than a year, the installation will exit and say so, without touching your installation at all. If it is ok, then it will update the software and reactivate the license. After the installation, you have to restart the fop2 service and you are done.

  • edited September 2014
    Hi, thanks for responding.

    I successfully updated FOP2 following your instructions, also uninstalled the Admin Module as indicated in this message:
    New configuration file /usr/local/fop2/fop2.cfg.new installed. Original fop2.cfg preserved.
    FOP2Admin Module detected, you should go to FreePBX Module Manager and uninstall it as the new FOP2 Manager superseded it.
    You can access the new FOP2Manager from http://your.server/fop2/admin
    New configuration file /var/www/html/fop2/config.php installed. Original config.php backed up as config.old.php.
    Done!
    

    As for the crash, ill wait and see if this is solved with the update.

    Edited:
    On another note, is there a way to disable the alert() that pops up each time the FOP2 browser tab is being closed in the browser? It would be nice to have that option maybe in the preferences window of each user.

    Edit: Found the way to disable the alert by editing /var/www/html/fop2/js/presence.js and setting warnClose to false.
  • ISSUE UPDATE: SOLVED

    I thought id come by to say that since the day I updated FOP2 from 2.26 to version 2.28 the sudden crashes have stopped completely. (did not need to disable websockets)

    Thanks.
  • Glad the update worked. Thanks for the update! Best regards,
Sign In or Register to comment.