- Plesk 11.x for Linux
- Plesk Onyx for Linux
Backup process finishes with a warning:
Warning: Unable to upload the backup to the FTP storage: Unable to set backup sign certificate
Or below error can be found in
CONFIG_TEXT: : 2017-11-06 00:28:26.332 ERROR 7d56fd22-9d67-48fa-809c-09ea03b3e83e Runtime error: Unable to upload the backup to the FTP storage: Can't initialize RSA private key: at /usr/local/psa/PMM/agents/shared/Logging.pm line 128.
Logging::error('Runtime error: Unable to upload the backup to the FTP storage...', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1387
Restoration of a backup fails with the following error:
PLESK_ERROR: Error: backup_sign: Can't find public key in database:
backup_sign: Can't get server's public key
The following command returns empty output:
# sudo plesk db "SELECT certificates.* FROM certificates WHERE (((certificates.id = 2)));"
Backup sign certificate is missing.
Login to the server over SSH
Regenerate the backup sign key using below command:
# /usr/local/psa/admin/sbin/backup_sign --generate
Restore or make a backup again