Is there a way to get FOP2 working on Trixbox 2.2

We have a client who is on trixbox 2.2. They were using Hudlite to manage their calls. The latest Java update broke it. So we thought of installing FOP2 on their server. After installing fop2 version 2.11, we get the following errors when doing ./fop2_server -- test

cat: /var/www/html/admin/modules/framework/module.xml: No such file or directory
/usr/local/fop2/autoconfig-buttons-freepbx.sh: line 15: [: -gt: unary operator expected


Is there any way to get this working on this trixbox version

Comments

  • Hi,

    I think those errors are not fatal, and it would not be hard to fix it. They involve some lines in the autoconfig script that tries to determine the freepbx version you have installed.

    You can edit autoconfig-buttons-freepbx.sh and change line 15 to be

    AMPVERSION=25

    Instead of the long line that mentions "framework/module.xml".

    However, what you see is just a warning, the configuration will work well even if you have that warning, so it is not mandatory to change that to have a working fop2.
  • Ok great. I am having a new problem now. I know there used to be an Upload local module in Module Admin under Freebx, but in this version, I don't see such an option. Is there any other way to upload the admin module for freepbx?
  • As far as I know, that option should be there.

    If all else fails, you can copy the files manually, extract the .tar.gz inside /var/www/html/admin/modules

    Best regards,
Sign In or Register to comment.