• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Automated backup failure

This morning i get a message saying there had been a problem during nightly backup on one of my server hosted by OVH.

The mail told me :
Following error happen during automated backup : cannot concatenate 'str' and 'list' objects

With little exploration in /var/log/plesk/PMM/backup-2021-03-18-01-16-03-890/ i can found :

- In pmmcli.log :

[...]
[2021-03-18 01:16:08.918|2978] INFO: Execution of <subprocess[2979] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager server --get-size --ftp --output-file=ftp://[email protected]/ --incremental --session-path=/usr/local/psa/PMM/sessions/2021-03-18-011603.890'> finished successfully.
[2021-03-18 01:16:08.950|2978] CRITICAL: Runtime error in pmmcli:
<type 'exceptions.TypeError'> cannot concatenate 'str' and 'list' objects
Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2560, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2455, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 207, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1601, in doActivity
_logger.warning('Unable to get backup size: Backup utility reported :\n' + proc_output)
TypeError: cannot concatenate 'str' and 'list' objects
[...]

- In backup.log :
[...]
[2021-03-18 01:16:07.732| 2995] INFO: Repository 'ftp://ftpbackupdomain.tld/': Initialized
[2021-03-18 01:16:07.732| 2995] INFO: Ftp init url ftp://ftpbackupdomain.tld/
[2021-03-18 01:16:07.859| 2995] INFO: TransportError[9a62d718-3a5d-4578-89e4-b2d6b441e241]: Transport error: unable to list directory: Curl error: (8) Weird server reply: Last FTP request: LIST -a Last FTP response: 226 65 matches total [common/plesk-utils/PMM/repository-transport/transport.cpp:1172]
virtual void plesk::tRepositoryFtp::ListDirEx(const string&, std::__cxx11::list<plesk::FileInfo>&, bool)
[2021-03-18 01:16:07.859| 2995] INFO: pmm-ras finished. Exit code: 126
[2979]: 2021-03-18 01:16:07.863 DEBUG Get backup size for selected objects
[...]

So it seems that the backup get interupted because of a weird response of the ftp server (i hope it won't do that very often).

But my question is why the local version has been aborted too ?

For better security i choose to backup localy & remotely and made also an other copy in our office (with rsync) of the /var/psa/dump/ directory, but if there is no local backup i miss 2 opportunities to have a usable copy...

Thanks with any help i can get and sorry for my english as it's not my natural language ! ^^
 
Back
Top