Backup is not uploaded to FTP server: ask Broken pipe: write 13

Created:

2017-02-27 10:15:02 UTC

Modified:

2017-08-08 13:12:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Backup is not uploaded to FTP server: ask Broken pipe: write 13

Applicable to:

  • Plesk Onyx for Linux

Symptoms

Backup cannot be uploaded to an FTP server with the following error messages:

Error: 
Runtime error: ack Broken pipe: write( 13, 'resellers/johndoe/domains/example.com/databases/DB1882706_1/backup_1702261842.tgz ' ) at /usr/local/psa/PMM/agents/shared/IPC/Run/IO.pm line 558.
Warning: domain "example.com"
Unable to upload archive resellers/johndoe/domains/example.com/backup_domainmail_1702261842.tgz to FTP storage: ack Broken pipe: write( 13, 'resellers/johndoe/domains/example.com/databases/DB1882706_1/backup_1702261842.tgz ' ) at /usr/local/psa/PMM/agents/shared/IPC/Run/IO.pm line 558.

Or:

[2017-03-07 02:13:15.629| 2501] INFO: Trying to resume upload...
[2017-03-07 02:13:15.952| 2501] INFO: File transfer failed with FTP error 451. (Curl error: (25) Upload failed (at start/before it took off): Last FTP response: 451 backup_1703070002.tar: Append/Restart not permitted, try again)
[2017-03-07 02:13:16.117| 2501] INFO: Unable to save data to an archive[76931fac-9dab-42b3-86c2-48b87d6ae33f]: Unable to save data to an archive. Check whether the target directory is accessible for writing. For more information, see the log file (/usr/local/psa/PMM/sessions/2017-03-07-000210.061/migration.log) [:0]

Cause

Due to connection timeout during the backup upload process connection to the FTP server was dropped and cannot be resumed.

Resolution

Enable "AllowStoreRestart" option to resume uploads on the FTP server using one of the following steps:

  1. Add the following line in the <Global> section of the /etc/proftpd.conf file:
    AllowStoreRestart on
  2. Restart the service:
    # service xinetd restart

Or:

  • Create .ftpaccess file with AllowStoreRestart on record in the backup directory.

Additional Information

ProFTPD Configuration Directive List: AllowStoreRestart

Have more questions? Submit a request
Please sign in to leave a comment.