Backup Error to FTP Server

backup
Tags: #<Tag:0x00007f4f45009da8>

#1

Evening,

Logs are below when I try to run the backup. I have tested directly to the ftp server from the console with the same credentials and it’s authenticating without issues.

Thoughts?

Initializing Backup 6
Backup Lock acquired!
Running pre-backup hooks…
Adding items…
Building manifest…
Creating backup…
Storing backup…
Whoops\Exception\ErrorException: ftp_rawlist(): php_connect_nonb() failed: Operation now in progress (115) in file /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FTPWrapper.php on line 295
Stack trace:

  1. Whoops\Exception\ErrorException->() /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FTPWrapper.php:295
  2. Whoops\Run->handleError() :0
  3. ftp_rawlist() /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FTPWrapper.php:295
  4. Touki\FTP\FTPWrapper->rawlist() /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/Manager/FTPFilesystemManager.php:155
  5. Touki\FTP\Manager\FTPFilesystemManager->findOneBy() /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/Manager/FTPFilesystemManager.php:262
  6. Touki\FTP\Manager\FTPFilesystemManager->findDirectoryByName() /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/Manager/FTPFilesystemManager.php:273
  7. Touki\FTP\Manager\FTPFilesystemManager->findDirectoryByDirectory() /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FTP.php:148
  8. Touki\FTP\FTP->directoryExists() /drbd/httpd/www/html/admin/modules/backup/functions.inc/class.backup.php:472
  9. FreePBX\modules\Backup\Backup->store_backup() /drbd/httpd/www/html/admin/modules/backup/bin/backup.php:149

#2

I would retest ‘backing up’ as the asterisk user.


su asterisk 
. . . . . 

revisit;-

I noticed drbd, is this a “HA” thing ?


#3

All good, had to mess with the passive mode setting. Resolved! Thank you!


(system) closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.