Unable to create a backup on FTP: Unable to upload backup files to FTP storage: get broken pipe

Created:

2016-12-12 03:39:21 UTC

Modified:

2017-08-16 17:28:41 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unable to create a backup on FTP: Unable to upload backup files to FTP storage: get broken pipe

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

Multivolume backup to FTP failed to be created.

Plesk GUI shows the following error on attempt to backup on FTP for different websites:

Warning: hosting "example.com"
Unable to upload backup files to FTP storage: ack broken pipe: write( 13, 'clients/user/domains/example.com/backup_user-data_1611100403.tgz ' ) at /opt/psa/PMM/agents/shared/IPC/Run/IO.pm line 558. STDOUT:
Warning: hosting "example.com"
Unable to upload archive clients/user/domains/example.com/backup_user-data_1611100403.tgz to FTP storage: get broken pipe: write( 13, 'clients/user/domains/example.com/backup_user-data_1611100403.tgz ' ) at /opt/psa/PMM/agents/shared/IPC/Run/IO.pm line 558.

In the backup's debug log (can be downloaded from Plesk GUI):

 INFO: Error 55 Failed sending data to the peer

Cause

This issue is a bug with ID #PPPM-5234 and has been fixed in Plesk Onyx MU#8 .

Resolution

Update Plesk Onyx to the latest available MU:

  • For Linux

    # plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
  • For Windows

    "%plesk_bin%"\\ai.exe --select-release-current --reinstall-patch --upgrade-installed-components

Workaround

  1. Download the attached file according to the OS used:
CentOS/RHEL/CloudLinux 6 x64
CentOS/RHEL/CloudLinux 7 x64
Debian 7 x64
Debian 8 x64
Ubuntu 12.04 x64
Ubuntu 14.04 x64
Ubuntu 16.04 x64
Windows Server

wget utility can be used for Linux-based OSes, e.g. for Ubuntu 14.04:

    # wget https://support.plesk.com/hc/article_attachments/115004389229/ubuntu_14_04_x64_pmm_ras.zip
  1. Unzip the file:

  2. For Linux-based OS it can be done using unzip utility, e.g. for Ubuntu 14.04:

        # unzip ubuntu_14_04_x64_pmm_ras.zip
  3. For Windows use any archiver.

  4. Backup the original pmm-ras :

  5. Debian-based OSes

        # mv /opt/psa/admin/sbin/pmm-ras{,.orig}
  6. RedHat-based OSes

        # mv /usr/local/psa/admin/sbin/pmm-ras{,.orig}
  7. Windows

    Move pmm-ras.exe and psarepository.dll files from %plesk_dir%admin\\bin\\ folder to another location.

  8. Replace the file:

  9. Debian-based OSes

        # cp pmm-ras /opt/psa/admin/sbin/
    • RedHat-based OSes
      # cp pmm-ras /usr/local/psa/admin/sbin/
  10. Windows

    Move pmm-ras.exe and psarepository.dll files from the attachment to %plesk_dir%admin\\bin\\ folder.

  11. Make sure that the permissions are correct (permissions are the same for RedHat-based OS):

        # ls -lah /opt/psa/admin/sbin/pmm-ras
    -rwxr-x--- 1 root root 3,0M nov 18 08:48 /opt/psa/admin/sbin/pmm-ras

Attachments:

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