Log rotation does not work for a domain
Some log files are very big in Plesk > Domains > example.com > File Manager in folder Home directory > logs
Errors related to
open_basedircontinuously appear in Domains > example.com > Logs:
open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/example.com/:/tmp/) in /var/www/vhosts/example.com/httpdocs/wp-includes/functions.php on line 1501
The log rotation is failing as a result of the file's rapid growth.
The PHP errors related to
open_basedir restriction are rapidly increasing the log file as website application tries to access root path ('
/ ') but it's not allowed as
open_basedir is set to
Navigate to Domains > example.com > PHP Settings and set the value of
Review the website application code so that the
open_basedirdirective can be safely enabled again