• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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