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

Expected response code 250 but got code "552", with message "552 5.3.4 Error: message file too big

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not an issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None
    • ToDo:

      Description

      Running a backup job configured as a destination to an ssh server produces the following error, but the file is successfully saved to the remote server.

      
      Saving to selected Filestore locations
      Expected response code 250 but got code "552", with message "552 5.3.4 Error: message file too big
      "
      	Saving to: Local:'Local Storage' instance ,File location: /var/spool/asterisk/backup/20220915-165213-1663253533-16.0.21.18-665911179.tar.gz 
      	Saving to: SSH:'SSH Server' instance ,File location: /123/bktest/20220915-165213-1663253533-16.0.21.18-665911179.tar.gz 
      Finished Saving to selected Filestore locations
      There were errors during the backup process
      	SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-bk' at line 1
      	Expected response code 250 but got code "552", with message "552 5.3.4 Error: message file too big
      "
      There were warnings during the backup process
      

      Debug Full error:

      
      ==> /var/log/asterisk/freepbx_dbug <==
      [2022-09-15 19:28:44] [dbug.DEBUG]: 2022-Sep-15 19:28:44        /usr/src/freepbx/backup/Handlers/Storage.php:76
      
      
       [] []
      OUT > [2022-09-15 19:28:44] [dbug.DEBUG]: Swift_TransportException Object
      (
          [message:protected] => Expected response code 250 but got code "552", with message "552 5.3.4 Error: message file too big
      "
          [string:Exception:private] =>
          [code:protected] => 552
          [file:protected] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
          [line:protected] => 383
          [trace:Exception:private] => Array
              (
                  [0] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
                          [line] => 281
                          [function] => _assertResponseCode
                          [class] => Swift_Transport_AbstractSmtpTransport
                          [type] => ->
                      )
      
                  [1] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php
                          [line] => 270
                          [function] => executeCommand
                          [class] => Swift_Transport_AbstractSmtpTransport
                          [type] => ->
                      )
      
                  [2] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
                          [line] => 333
                          [function] => executeCommand
                          [class] => Swift_Transport_EsmtpTransport
                          [type] => ->
                      )
      
                  [3] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
                          [line] => 428
                          [function] => _streamMessage
                          [class] => Swift_Transport_AbstractSmtpTransport
                          [type] => ->
                      )
      
                  [4] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
                          [line] => 444
                          [function] => _doMailTransaction
                          [class] => Swift_Transport_AbstractSmtpTransport
                          [type] => ->
                      )
      
                  [5] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
                          [line] => 176
                          [function] => _sendTo
                          [class] => Swift_Transport_AbstractSmtpTransport
                          [type] => ->
                      )
      
                  [6] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php
                          [line] => 85
                          [function] => send
                          [class] => Swift_Transport_AbstractSmtpTransport
                          [type] => ->
                      )
      
                  [7] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/BMO/Mail.class.php
                          [line] => 110
                          [function] => send
                          [class] => Swift_Mailer
                          [type] => ->
                      )
      
                  [8] => Array
                      (
                          [file] => /usr/src/freepbx/filestore/drivers/Email/Email.php
                          [line] => 76
                          [function] => send
                          [class] => FreePBX\Mail
                          [type] => ->
                      )
      
                  [9] => Array
                      (
                          [file] => /usr/src/freepbx/filestore/drivers/Email/Email.php
                          [line] => 81
                          [function] => put
                          [class] => FreePBX\modules\Filestore\drivers\Email\Email
                          [type] => ->
                      )
      
                  [10] => Array
                      (
                          [file] => /usr/src/freepbx/filestore/drivers/DriverBase.php
                          [line] => 137
                          [function] => putStream
                          [class] => FreePBX\modules\Filestore\drivers\Email\Email
                          [type] => ->
                      )
      
                  [11] => Array
                      (
                          [file] => /usr/src/freepbx/filestore/Filestore.class.php
                          [line] => 310
                          [function] => upload
                          [class] => FreePBX\modules\Filestore\drivers\DriverBase
                          [type] => ->
                      )
      
                  [12] => Array
                      (
                          [file] => /usr/src/freepbx/backup/Handlers/Storage.php
                          [line] => 73
                          [function] => upload
                          [class] => FreePBX\modules\Filestore
                          [type] => ->
                      )
      
                  [13] => Array
                      (
                          [file] => /usr/src/freepbx/backup/Console/Backup.class.php
                          [line] => 215
                          [function] => process
                          [class] => FreePBX\modules\Backup\Handlers\Storage
                          [type] => ->
                      )
      
                  [14] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Command/Command.php
                          [line] => 255
                          [function] => execute
                          [class] => FreePBX\Console\Command\Backup
                          [type] => ->
                      )
      
                  [15] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Application.php
                          [line] => 992
                          [function] => run
                          [class] => Symfony\Component\Console\Command\Command
                          [type] => ->
                      )
      
                  [16] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Application.php
                          [line] => 255
                          [function] => doRunCommand
                          [class] => Symfony\Component\Console\Application
                          [type] => ->
                      )
      
                  [17] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Application.php
                          [line] => 148
                          [function] => doRun
                          [class] => Symfony\Component\Console\Application
                          [type] => ->
                      )
      
                  [18] => Array
                      (
                          [file] => /usr/src/freepbx/framework/amp_conf/bin/fwconsole
                          [line] => 163
                          [function] => run
                          [class] => Symfony\Component\Console\Application
                          [type] => ->
                      )
      
              )
      
          [previous:Exception:private] =>
          [xdebug_message] =>
      Swift_TransportException: Expected response code 250 but got code "552", with message "552 5.3.4 Error: message file too big
      " in /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php on line 383
      
      Call Stack:
          0.0008     428080   1. {main}() /usr/src/freepbx/framework/amp_conf/bin/fwconsole:0
          0.1874   17199072   2. FreePBX\Console\Application\FWApplication->run() /usr/src/freepbx/framework/amp_conf/bin/fwconsole:163
          0.2032   17502688   3. FreePBX\Console\Application\FWApplication->doRun() /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Application.php:148
          0.2039   17508344   4. FreePBX\Console\Application\FWApplication->doRunCommand() /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Application.php:255
          0.2040   17508344   5. FreePBX\Console\Command\Backup->run() /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Application.php:992
          0.2044   17511456   6. FreePBX\Console\Command\Backup->execute() /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
          8.2713   37189712   7. FreePBX\modules\Backup\Handlers\Storage->process() /usr/src/freepbx/backup/Console/Backup.class.php:215
          8.2728   37194568   8. FreePBX\modules\Filestore->upload() /usr/src/freepbx/backup/Handlers/Storage.php:73
          8.2728   37194568   9. FreePBX\modules\Filestore\drivers\Email\Email->upload() /usr/src/freepbx/filestore/Filestore.class.php:310
          8.2729   37195104  10. FreePBX\modules\Filestore\drivers\Email\Email->putStream() /usr/src/freepbx/filestore/drivers/DriverBase.php:137
          8.3048   92351864  11. FreePBX\modules\Filestore\drivers\Email\Email->put() /usr/src/freepbx/filestore/drivers/Email/Email.php:81
          8.3838   93556728  12. FreePBX\Mail->send() /usr/src/freepbx/filestore/drivers/Email/Email.php:76
          8.3920   93989840  13. Swift_Mailer->send() /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/BMO/Mail.class.php:110
          8.4132   94018816  14. Swift_SmtpTransport->send() /usr/src/freepbx/framework/amp_conf/htdocs/admin/libraries/Composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php:85
      
      )
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vsc55 VSC55
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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