- Plesk for Linux
Unable to configure FTP repository in Backup Manager. Plesk returns the following error:
CONFIG_TEXT: Transport error: unable to list directory: Curl error: Timeout was reached
The following error can be found in
ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/pmm-ras' '--check-repository' '--dump-storage=ftp://[email protected]//backups' '--use-ftp-passive-mode'] with exit code  Executed pmm-ras manually with verbose and debug and returned the following:
# [email protected]:~# /opt/psa/admin/bin/pmm-ras '--check-repository' '--dump-storage=ftps://[email protected]/testbackup' --verbose --debug INFO: Curl output : INFO: * Hostname was NOT found in DNS cache INFO: * Trying 192.0.2.2... INFO: * Connected to 192.0.2.2 (192.0.2.2) port 21 (#0) INFO: * Operation timed out after 0 milliseconds with 0 out of 0 bytes received INFO: * Closing connection 0 INFO: INFO: Curl error (28): Timeout was reached
INFO: CurlError[76931fac-9dab-42b3-86c2-48b87d6ae33f]: Curl error: Timeout was reached [./ftp.cpp:680] void plesk::tFtpConnection::ListEx(std::vector&) Transport error: unable to list directory: Curl error: Timeout was reached INFO: pmm-ras finished. Exit code: 126 Files were able to be uploaded successfully to the FTP server manually.
FTP server incorrect configuration.
Note: if you don't have root access to Plesk server via SSH, contact your hosting provider regarding the issue
1. Login to the FTP server over SSH
2. Restore file ftp_psa from a backup:
# mv /etc/xinetd.d/ftp_psa.rpmnew /etc/xinetd.d/ftp_psa
# systemctl restart xinetd