• 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

Problem Plesk 11.5.30 (#12) Rotate Backups FTP Remote in Debian

David Abuin Fontan

New Pleskian
Since the update panel version 11.5 does not rotate backups to a remote FTP on my servers

Code:
 Error:	

Unable to rotate dump: The dump rotation is failed with code '121' at /opt/psa/admin/bin/plesk_agent_manager line 1248.
 at /opt/psa/admin/bin/plesk_agent_manager line 1248
	main::rotateDump('ftp://[email protected]', '/home/user/Plesk/xxx/completo_1308170317.tar', 1, 'a318774a-3670-41f4-8860-ff2eefea186a', 0, '/opt/psa/PMM/sessions/2013-08-17-031702.221', 1) called at /opt/psa/admin/bin/plesk_agent_manager line 738
	main::__ANON__() called at /usr/share/perl5/Error.pm line 416
	eval {...} called at /usr/share/perl5/Error.pm line 408
	Error::subs::try('CODE(0x255e208)', 'HASH(0x25568a8)') called at /opt/psa/admin/bin/plesk_agent_manager line 745
	main::perform('verbose', 0, 'owner-type', 'server', 'split-size', undef, 'session-path', '/opt/psa/PMM/sessions/2013-08-17-031702.221', 'profile-name', ...) called at /opt/psa/admin/bin/plesk_agent_manager line 1311
	main::__ANON__() called at /usr/share/perl5/Error.pm line 416
	eval {...} called at /usr/share/perl5/Error.pm line 408
	Error::subs::try('CODE(0x1d0fbc0)', 'HASH(0x1d0fef0)') called at /opt/psa/admin/bin/plesk_agent_manager line 1319
	main::main() called at /opt/psa/admin/bin/plesk_agent_manager line 1323.


What I can do? Thanks!
 
According to the error log you've sent the rotation failed with error 121 that means "Remote I/O error":

# perror 121
OS error code 121: Remote I/O error

I suggest that you review settings of remote FTP server and increase FTP timeout there. Also I recommend that you increase max_execution_time in Plesk PHP configuration file:

grep execution /usr/local/psa/admin/conf/php.ini
max_execution_time = 600

Do not forget restart psa service after changing this value.
 
I changed the settings and the problem persists...

I use the same settings on all my servers (different paths)
plesk_error_rotate.jpg plesk_error_rotate_2.jpg plesk_error_rotate_3.jpg

Plesk 11.0.x works fine!
Plesk 11.5.x (#12) error all servers

I see that this error was in previous patches
Code:
11.5.30 Update #5     [12-Jul-2013]
Parallels Plesk Panel 11.5.30 Update #5

    [-] Panel failed to rotate backups on external FTP repository if FTP user was not chrooted.

is it possible that has not been applied to upgrade from plesk 11.0?


Thanks!
 

Attachments

  • plesk_error_rotate.jpg
    plesk_error_rotate.jpg
    3.1 KB · Views: 13
The problem is reproducible if no chrooted and you use absolute paths (/home/user/dir_backup/). If you use relative paths (dir_backup/) works fine!

PD: Update #13 does not solve the problem
 
Back
Top