• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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