Isymphony not working

FreePBX Distro 1910-2
Version: FreePBX 15.0.16.49
Asterisk: 16.9.0

When going to admin - Isymphony - Status says:

Failed to contact the iSymphony server.
Verify that your iSymphony server is installed and running and that the server API host and port are correct in the fields below.
If you have SSL enabled below and are using the SSL port for the API connection you need to enable SSL in the iSymphony server’s security.xml file for the communication_manager servlet

Cli command to restart:

[root@freepbx ~]# service isymphony restart
Redirecting to /bin/systemctl restart isymphony.service
Failed to restart isymphony.service: Unit not found.

Debug data:

/

var

/

www

/

html

/

admin

/

modules

/

cxpanel

/

lib

/

util.php

  1. $char = substr($possible, mt_rand(0, $maxlength-1), 1);
  • if (!strstr($password, $char)) {
  1. $password .= $char;
  2. $i++;
  3. }
  4. }
  • return $password;
  1. }
  • /**
    • Reads the contents of a file and returns it as a string
    • @param String $file path to file that needs to be read
  1. */
  2. function cxpanel_read_file($file) {
  3. $contents = “”;
  4. if(($contentFile = fopen($file, ‘r’)) !== false) {
  5. while (!feof($contentFile)) {
  6. $contents .= fgets($contentFile, 4096);
  7. }
  8. fclose($contentFile);
  9. }
  10. return $contents;
  11. }
  • /**
    • Converts a 2 dimensional array into a table
    • @param Array $array the array to convert
    • @param String $tagAdditions content to add to the <table> tag
  1. */
  2. function cxpanel_array_to_table_2d($array, $tagAdditions = “”) {
  3. $table = “<table $tagAdditions>”;
  4. $header = true;
  5. foreach($array as $a) {
  6. if($header) {

Arguments

  1. “fopen(/var/spool/asterisk/cxpanel/modify.log): failed to open stream: No such file or directory”

Check to see if the cxpanel directory exists. If it does, then check the permissions.

Also, I’m not sure that starting iSymphony through anything but fwconsole can cause a permissions problem all by itself. Starting it with systemd doesn’t seem consistent with the rest of the environment.

Your problem with SSL may or may not be part of this (fix the file existence and permissions first) but it if is part of the issue, you’ll need to get some support from the iSymphony guys (starting with including @isymphony on the thread).

this is not the service name. Use:

service iSymphonyServerV3 start|stop|status

Thank you. I realized that later…

However, I found a post from 2017 that had the fix.

Needed to run: yum install iSymphonyServerV3-fpbx

The post was actually from you Igaetz.

It seems to be working now without the additional steps in your post. Do you think I need to dig into this further?

I haven’t actually logged into iSymphony yet, but I am able to pull up the login interface. I also purchased the licences and they successfully activated.

Jason

If the service is running, the remaining steps are not necessary.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.