- Plesk for Linux
Restoration from backup finished with the following warning:
PLESK_ERROR: Warning:Restore domain "example.com"
Execution of /usr/local/psa/admin/plib/api-cli/domain_pref.php --update example.com -max_traffic_soft 1048575998951424B -ignore-nonexistent-options failed with return code 1. Stderr is Cannot update domain: Wrong syntax for command's '-max_traffic_soft' parameter. '1.0485759989514E+15' does not match the pattern '/^(-1|\d+[BKMGT%]?)$/i'.
The command from the warning sets the amount of monthly traffic to 1048575998951424 bytes upon reaching which notification is sent. When traffic for a domain is unlimited Plesk tries to set such amount of traffic.
Such warnings may be safely ignored. If it is required to set the amount of monthly traffic it is possible to make it either via Plesk web interface in Plesk > Subscriptions > example.com > customize or command line utility:
# /usr/local/psa/admin/plib/api-cli/domain_pref.php --update example.com -max_traffic_soft <value> -ignore-nonexistent-options