Applicable to:
- Plesk Onyx for Linux
- Plesk Onyx for Windows
- Plesk for Linux
- Plesk for Windows
Symptoms
-
Unable to set log rotation in Service Plans > service_plan_name > Logs & Statistics > Log Rotation:
-
Log rotation is enabled at server level in Tools & Settings > Server Settings > Log rotate:
-
The subscription migration can fail with the following errors:
CONFIG_TEXT: Plesk error [1019]: Conflicting log rotation settings were selected. Please set up log rotation either by size or by time."
CONFIG_TEXT: "Failed to create hosting plan 'Default' Plesk error [1023]: Unable to set maximum number of log file greater that server wide limit 7"
CONFIG_TEXT: "Failed to create hosting plan 'Default' Plesk error [1023]: Unable to set log rotation period different from 'daily' because it is forced on server level"
CONFIG_TEXT: Plesk restore report problem:Execution of /usr/local/psa/admin/plib/api-cli/domain.php --update example.com -log-bysize 67108864B -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred while updating log rotation settings: Unable to set 'log-bysize' argument's value ('67108864'): Unable to set log rotation period different from 'daily' because it is forced on server level
Cause
Log rotation configured at server level prevents service plans from being configured.
Resolution
- Log in to Plesk.
- Disable Tools & Settings > Server Settings > Log rotate:
- Enable Service Plans > service_plan_name > Logs & Statistics > Log Rotation:
Comments
0 comments
Please sign in to leave a comment.