• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

All backups fail FTP upload "Curl error: Login denied". FTP creds work, though.

RadleyS

New Pleskian
We're having an issue with one of our three servers where the automatic server backups are failing to be uploaded to the personal FTP repository.

Everything else is working correctly, and I have verified the creds are the same as the other two sites (which are still working just fine, although they are versions 10 of plesk). The FTP repository is a third-party host. I can access the FTP repository through the backup manager, then clicking the "personal FTP repository" tab. This shows the backups from the other sites, so the FTP creds must be working...

I'm not sure what to do next. Plesk version 11.5.30, hosted by Media Temple.

Searches around the forum have suggested I try a different file path on the FTP server, and re-enter my credentials in plesk. I've tried most of these solutions, none seem to help, though.

Any ideas?

Error log:

Code:
[2014-02-13 01:10:40.440| 3710] INFO: Repository 'ftp://(ourbackupserver)//Shared/Backups/MTserver': Put file from /usr/local/psa/PMM/tmp/backupY1FYZg/backup__info_1402130106.xml.tar to backup__1402130106.tar
[2014-02-13 01:10:40.440| 3710] INFO: Ftp init url ftp://(ourbackupserver)//Shared/Backups/MTserver/backup__1402130106.tar
[2014-02-13 01:10:44.784| 3710] INFO: CurlError[76931fac-9dab-42b3-86c2-48b87d6ae33f^@]: [U][B]Curl error: Login denied[/B][/U] [./ftp.cpp:345]
void plesk::tFtpConnection::UploadFile(const std::string&)
[2014-02-13 01:10:44.784| 3710] INFO: tRepository::StreamError[1dc709e1-11c7-4e1e-87ac-b6f8cac0bb2f^@]: Stream error: Transport error: unable to put local file /usr/local/psa/PMM/tmp/backupY1FYZg/backup__info_1402130106.xml.tar to backup__1402130106.tar: Curl error: Login denied [./repository.cpp:356]
void plesk::tRepository::Put(const std::string&, const std::string&, bool)
[2014-02-13 01:10:44.784| 3710] INFO: pmm-ras finished. Exit code: 1
[32435]: 06:10:44 ERROR ce0915b8-630e-4922-857c-913c1d1715e7 Can't upload file '/usr/local/psa/PMM/tmp/backupY1FYZg/backup__info_1402130106.xml.tar' to ftp. Error code: 1
[32435]: 06:10:45 ERROR 0c896179-a0b4-4cd9-86b8-75f322f840d5 The dump have been made successfully but can not be imported to FTP due to errors.
 
Last edited:
Make sure that ftp user of your repository has permissions for:

change directory (cd)
list directory (ls)
create directory (mkdir)
remove directory (rmdir)
upload file (put)
download file (get)

Make sure there is enough space on the ftp server. Allow the server IP in FTP server firewall.
 
It's been awhile, but I have finally came back to the issue. I do not believe the issue is related to FTP access.

I have connected over SSH using "# ftp" and tested all of the commands. There doesn't seem to be an issue with these capabilities, they all work. I did have to switch from ASCII to BINARY to upload an image, but I assume that is typical for file transfers.

-snip-

Edit: I have changed the FTP backup server to a new physical server and the issue no longer exists. It must be an issue with our backup FTP server, even though I have tested the capabilities over SSH. I'm not sure what the problem is exactly, but it must be outside of plesk.
 
Last edited:
Back
Top