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

SangomaCRM module gives error while restoring in FreePBX 15 if there is no internet connection to the system and uninstalls the SangomaCRM module.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Labels:
      None
    • Bug Tracker:
      QA Testing
    • ToDo:
    • Distro Version:
      15
    • Distro:
      FreePBX Distro
    • Module Fix Version:

      Description

      SangomaCRM module gives error while restoring in FreePBX 15 if there is no internet connection to the system and uninstalls the SangomaCRM module.

      Please find the logs below for reference.

      
      Running with: /usr/sbin/fwconsole backup --restore='/var/spool/asterisk/backup/uploads/20190620-112158-1561009918-15.0.16.4-1966137474.tar.gz' --transaction='18ab3124-cb65-4da6-b458-1110426c4cce'
      Determining backup file type...type is current
      Starting restore job with file: /var/spool/asterisk/backup/uploads/20190620-112158-1561009918-15.0.16.4-1966137474.tar.gz
      Extracting Backup
      Extracting backup...
      Backup extracted to /tmp/backup/18ab3124-cb65-4da6-b458-1110426c4cce. These files will remain until a new restore is run or until cleaned manually.
      Processing sangomacrm
      Resetting sangomacrm module data
      Error uninstalling sangomacrm reason(s): Failed to run un-installation scripts on line 41 of file /var/www/html/admin/modules/backup/Handlers/FreePBXModule.php
      #0 /var/www/html/admin/modules/backup/Handlers/FreePBXModule.php(20): FreePBX\modules\Backup\Handlers\FreePBXModule->uninstall('sangomacrm')
      #1 /var/www/html/admin/modules/backup/Models/Restore.php(56): FreePBX\modules\Backup\Handlers\FreePBXModule->reset('sangomacrm', '15.0.14.6')
      #2 /var/www/html/admin/modules/backup/Handlers/Restore/Common.php(103): FreePBX\modules\Backup\Models\Restore->reset()
      #3 /var/www/html/admin/modules/backup/Handlers/Restore/Multiple.php(56): FreePBX\modules\Backup\Handlers\Restore\Common->processModule('sangomacrm', '15.0.14.6')
      #4 /var/www/html/admin/modules/backup/Console/Backup.class.php(252): FreePBX\modules\Backup\Handlers\Restore\Multiple->process()
      #5 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php(255): FreePBX\Console\Command\Backup->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #6 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php(960): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #7 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(FreePBX\Console\Command\Backup), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #8 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #9 /var/lib/asterisk/bin/fwconsole(163): Symfony\Component\Console\Application->run()
      #10 {main}
      Finished
      There were errors during the restore process
      	Error uninstalling sangomacrm reason(s): Failed to run un-installation scripts on line 41 of file /var/www/html/admin/modules/backup/Handlers/FreePBXModule.php 

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmishra Mohit Mishra
                Reporter:
                psandesh Sandesh Prakash [X] (Inactive)
              • 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.