Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-19680

sangoma-pbx-1902-3.sng7.noarch seems to break mongodb

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not an issue
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: FreePBX Distro
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13
    • Distro Version:
      14
    • Distro:
      FreePBX Distro

      Description

      Hello,

      Looks like the latest update to sangoma-pbx may have some issue with mongodb; we're seeing the following on a new server during yum updates:

       

      
      Updating   : sangoma-pbx-1902-3.sng7.noarch        53/156 
      Redirecting to /bin/systemctl restart httpd.service
      Machine not activated. No Sysadmin services available.
      Job for mongod.service failed because a fatal signal was delivered to the control process. See "" and "journalctl -xe" for details.
      

       

      (note, we're only guessing sangoma-pbx cause the issue due to proximity. Full yum update output here: https://pastebin.freepbx.org/view/b26bcdfc

      Then:

       

      
      [root@test ~]# systemctl status mongod.service
      ● mongod.service - High-performance, schema-free document-oriented database
       Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
       Active: failed (Result: signal) since Wed 2019-03-20 21:00:18 CDT; 3min 10s ago
      Mar 20 21:00:18 test.xmpp.bleh systemd[1]: Starting High-performance, schema-free document-oriented database...
      Mar 20 21:00:18 test.xmpp.bleh systemd[1]: mongod.service: control process exited, code=killed status=11
      Mar 20 21:00:18 test.xmpp.bleh systemd[1]: Failed to start High-performance, schema-free document-oriented database.
      Mar 20 21:00:18 test.xmpp.bleh systemd[1]: Unit mongod.service entered failed state.
      Mar 20 21:00:18 test.xmpp.bleh systemd[1]: mongod.service failed.
      

      And while attempting to update modules, xmpp fails to update / gets broken (dramatic re-enactment on test machine as we were able to reproduce multiple times):

       

      
      [root@test ~]# fwconsole ma upgrade xmpp
      No repos specified, using: [standard] from last GUI settings
      Downloading module 'xmpp'
      Processing xmpp
      Downloading...
       164507/164507 [============================] 100%
      Finished downloading
      Extracting...Done
      Download completed in 1 seconds
      sh: line 1: 26239 Segmentation fault      mongod --version 2> /dev/null
      Installing/Updating MongoDB.....sh: line 1: 26299 Segmentation fault      mongod --version 2> /dev/null
      MongoDB is not installed
      Unable to install module xmpp:
       - Failed to run installation scripts
      Updating Hooks...Done
      Updating Hooks...Done
      

      Let us know if we can provide further info or if you'd like us to spin up a test machine in the event you're not able to reproduce.

      Thanks,

      • Nate Gingras / CyberLynk Network (FreePBXHosting.com)

       

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ngingras Nathan Gingras
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.