- Server operating system version
- OS CentOS Linux 7.9.2009 (Core)
- Plesk version and microupdate number
- Product Plesk Obsidian Version 18.0.54 Update #4, last updated on Aug 25, 2023 03:37 AM
Hi
We have a customer with 2 servers - same specs:
OS CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.54 Update #4, last updated on Aug 25, 2023 03:37 AM
They report: "For months/years we've been using the 'backup & restore' option on server1.xxxxx.co.uk to run monthly backups of some of the domains we host. The server sends the backup files to an FTP service we host in our office network. In the last few days this has stopped working and I can't work out why. The error within Plesk for a domain:
Error: Unable to access the storage: Transport error: unable to list directory: Curl error: (28) Timeout was reached: Last FTP request: LIST Last FTP response: 200 Switching to ASCII mode
Make sure you have entered the correct storage settings. You can check them independently with the command:
curl -v -P - -u username 'ftp://xxxxxxx/www/'
I can remotely connect to the FTP server myself (with FileZilla) and so I'm assuming our FTP server, internet connect, NAT, DynDNS etc are all still working correctly (?) and am wondering whether the problem may be within server1."
I have removed identifying URLs and FTP details
The Curl connection works fine from the server.
They have server2 - same specs - where this is not an issue. It just works, connects, and will back up remotely.
I have tried passive mode on/off FTPS on/off and all combinations thereof.
PPM/migration.log gives:
[2023-09-07 12:01:09.328| 5222] INFO: TransportError Transport error: unable to list directory: Curl error: (28) Timeout was reached: Last FTP request: LIST Last FTP response: 200 Switching to ASCII mode [common/plesk-utils/PMM/repository-transport/transport.cpp:TransportError]
virtual void plesk::tRepositoryFtp::ListDirEx(const std::string&, std::__cxx11::list<plesk::FileInfo>&)
The following appear to be correct on both servers:
PassivePorts 49152 65535
PassivePorts 50000 50500
and those ports are allowed in Plesk firewall.
I have also followed: https://support.plesk.com/hc/en-us/articles/12377107965975
but no change.
The latest recent test resulted in:
Error: Unable to upload the file to the storage: Stream error: /check1/test: Curl error: Unable to resume an interrupted upload: (28) Timeout was reached: Last FTP request: STOR test: Last FTP response: 200 Switching to Binary mode: Connection to the FTP server has lost
Check if you have permissions to upload files to the storage. You can check it independently with the commands:
echo 123 | curl -T - --ftp-create-dirs -v -P - -u
Any help or advice gratefully received.
We have a customer with 2 servers - same specs:
OS CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.54 Update #4, last updated on Aug 25, 2023 03:37 AM
They report: "For months/years we've been using the 'backup & restore' option on server1.xxxxx.co.uk to run monthly backups of some of the domains we host. The server sends the backup files to an FTP service we host in our office network. In the last few days this has stopped working and I can't work out why. The error within Plesk for a domain:
Error: Unable to access the storage: Transport error: unable to list directory: Curl error: (28) Timeout was reached: Last FTP request: LIST Last FTP response: 200 Switching to ASCII mode
Make sure you have entered the correct storage settings. You can check them independently with the command:
curl -v -P - -u username 'ftp://xxxxxxx/www/'
I can remotely connect to the FTP server myself (with FileZilla) and so I'm assuming our FTP server, internet connect, NAT, DynDNS etc are all still working correctly (?) and am wondering whether the problem may be within server1."
I have removed identifying URLs and FTP details
The Curl connection works fine from the server.
They have server2 - same specs - where this is not an issue. It just works, connects, and will back up remotely.
I have tried passive mode on/off FTPS on/off and all combinations thereof.
PPM/migration.log gives:
[2023-09-07 12:01:09.328| 5222] INFO: TransportError Transport error: unable to list directory: Curl error: (28) Timeout was reached: Last FTP request: LIST Last FTP response: 200 Switching to ASCII mode [common/plesk-utils/PMM/repository-transport/transport.cpp:TransportError]
virtual void plesk::tRepositoryFtp::ListDirEx(const std::string&, std::__cxx11::list<plesk::FileInfo>&)
The following appear to be correct on both servers:
PassivePorts 49152 65535
PassivePorts 50000 50500
and those ports are allowed in Plesk firewall.
I have also followed: https://support.plesk.com/hc/en-us/articles/12377107965975
but no change.
The latest recent test resulted in:
Error: Unable to upload the file to the storage: Stream error: /check1/test: Curl error: Unable to resume an interrupted upload: (28) Timeout was reached: Last FTP request: STOR test: Last FTP response: 200 Switching to Binary mode: Connection to the FTP server has lost
Check if you have permissions to upload files to the storage. You can check it independently with the commands:
echo 123 | curl -T - --ftp-create-dirs -v -P - -u
Any help or advice gratefully received.