https://bugs.koozali.org/show_bug.cgi?id=12361

            Bug ID: 12361
           Summary: UCP does not use mysql socket
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-freepbx
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

To enable the UCP panel you have to set mariadb LocalNetworkingOnly no as the
panel cannot use a websocket.

We can see that FreePBX does allow a socket here:

https://github.com/FreePBX/ucp/blob/release/15.0/node/lib/freepbx.js

connect2database = function(config, callback) {
        var db = {},
                        init = false;
        if(typeof config.AMPDBSOCK !== "undefined" && config.AMPDBSOCK.length)
{
                db = new nodeMaria({
                        user: config.AMPDBUSER,
                        password: config.AMPDBPASS,
                        db: config.AMPDBNAME,
                        unixSocket: config.AMPDBSOCK,
                        charset: 'UTF8'
                });
        } else {


It would need something set for AMPDBSOCK to enable this but my attempts to set
this via fwconsole did not succeed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to