Sonata switchboard frozen on activation

VitalPBX Community Support General Discussion Sonata switchboard frozen on activation

  • Post
    Matthew Topping
    Participant

    Hello,

     

    I just did a new install using the latest ISO 2.0.0.5, then upgraded via the panel. I installed Sonata switchboard, but I am stuck on the attached screen. Here’s the logs. https://justpaste.it/1ijfj

     

     

    0
Viewing 14 replies - 1 through 14 (of 14 total)
  • Replies
    Up
    0
    Down

    We will check it. Thanks for reporting

    0
    Up
    0
    Down

    We just release a patch for the issue that you have reported, so, please update Sonata Switchboard to its latest version:

    • Go to Add-ons module of VitalPBX(Admin >> Add-ons >> Add-ons)
    • Click the Button Check Online, An available update should appear for Sonata Switchboard
    • Click the Update Button and wait until finish
    • Go to http://YOUR_IP/sonata/switchboard and continue the installation

    Please let me know if everything went well

    0
    Matthew Topping
    Participant
    Up
    0
    Down

    Fast work!! I’m really liking that a lot. I’ll check it out in the morning. Thanks for the quick fix, it’s very much appreciated. ?

    0
    vitalpbx2018
    Participant
    Up
    0
    Down

    Hello MRivera, I am running Sonata 2.0.0-4 

    Here’s my versions.https://deeppurple.appx.com/public/2a074e/dl/vitalpbx.png

    Here’s the error. https://deeppurple.appx.com/public/e7afaf/dl/Sonata-error.png  “Errors Found — Can’t connect to the selected PBX backend”

    0
    Rodrigo Cuadra
    Keymaster
    NI
    Up
    0
    Down

    Please, try to use in Server:

    localhost or 127.0.0.1

    0
    Matthew Topping
    Participant
    Up
    0
    Down

    Hello,

     

    I did originally, there was still an error. After the update, everything works as expected. Thank you for the fast patch ?

    0
    vitalpbx2018
    Participant
    Up
    0
    Down

    The selection for VitalPBX is a drop down.  Localhost isn’t available to select.  For the SQL parameters in the prior screen I did use localhost.

    • Database Host: localhost
    • Database User: root
    • Database Password: hereismysecretpassword
    0
    Up
    0
    Down

    @vitalpbx2018 please update to the latest version of Sonata Switchboard and try to run the installation wizard again

    0
    vitalpbx2018
    Participant
    Up
    0
    Down

    I’m already running 2.0.0-4 (screen shot in post sonata-switchboard-frozen-on-activation ).  I can’t detect any update available beyond that.

    0
    Up
    0
    Down
    Posted by: vitalpbx2018

    I’m already running 2.0.0-4 (screen shot in post sonata-switchboard-frozen-on-activation ).  I can’t detect any update available beyond that.

    Are you using a different port to access to the VitalPBX GUI?

    Are you installing Sonata Switchboard in the same host than VitalPBX?

    0
    vitalpbx2018
    Participant
    Up
    0
    Down

    I have a single host for VitalPBX and Sonata Switchboard.  I access them both via a URL format like so:

    VitalPBX: https://hostname1.example.com

    Sonata Switchboard: https://hostname1.example.com/sonata/switchboard/

    I installed Sonata Switchboard via Admin > Addons > Addons.  Then purchased and activated it, then made sure all updates were applied.  (This is a new installation, and I’m just working my way through the initial setup and configuration.)

    0
    Up
    0
    Down
    Posted by: vitalpbx2018

    I have a single host for VitalPBX and Sonata Switchboard.  I access them both via a URL format like so:

    VitalPBX: https://hostname1.example.com

    Sonata Switchboard: https://hostname1.example.com/sonata/switchboard/

    I installed Sonata Switchboard via Admin > Addons > Addons.  Then purchased and activated it, then made sure all updates were applied.  (This is a new installation, and I’m just working my way through the initial setup and configuration.)

    Create the following script:

    vim /tmp/chk_api

    Paste the following content:

    !/bin/bash
    set -e

    pbx_token=$(cat /etc/ombutel/ombutel-maint.conf)
    curl -X POST -d "token=$pbx_token&key=$pbx_token" http://127.0.0.1/api/authenticate

    Save and give execution permission

    chmod +x /tmp/chk_api

    Execute and Post the Output:

    /tmp/chk_api
    0
    vitalpbx2018
    Participant
    Up
    0
    Down

    Thank you.

     

    [root@vitalpbx ~]# cat /tmp/chk_api 

    #/usr/bin/bash

    set -e

     

    pbx_token=$(cat /etc/ombutel/ombutel-maint.conf)

    curl -X POST -d “token=$pbx_token&key=$pbx_token”  http://127.0.0.1/api/authenticate

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]# /tmp/chk_api

    <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>

    <html><head>

    <title>301 Moved Permanently</title>

    </head><body>

    <h1>Moved Permanently</h1>

    <p>The document has moved <a href=”https://127.0.0.1/api/authenticate”>here</a&gt;.</p>

    </body></html>

    [root@vitalpbx ~]#

     

     

     

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]# cat /tmp/chk_api 

    #/usr/bin/bash

    set -e

     

    pbx_token=$(cat /etc/ombutel/ombutel-maint.conf)

    curl -X POST -d “token=$pbx_token&key=$pbx_token”  https://127.0.0.1/api/authenticate

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]# /tmp/chk_api 

    curl: (51) Unable to communicate securely with peer: requested domain name does not match the server’s certificate.

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]#

     

     

    0
    Up
    0
    Down

    Is your server only accessible through HTTPS?

    0
Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.