- Plesk for Linux
The website example.com is showing the following error when opening the main page, after it's content was moved from
/var/www/vhosts/system/example.com/logs/error_log the following error appears:
CONFIG_TEXT: Got error 'PHP message: PHP Warning: fileperms(): stat failed for /var/www/vhosts/www.example.com/httpdocs/data /nextcloud.log in /var/www/vhosts/example.com/httpdocs/lib/private/Log/File.php on line 136\nPHP message
The old path is defined in one of the files under the site:
# grep -v "/var/www/vhosts/www.example.com/httpdocs/data" /var/www/vhosts/example.com
Old site location path is defined in a website code.
- Connect to the server via SSH
- Change the old path with the new one in
Alternatively, contact website developer for assistance with fixing the code, or check CMS documentation to learn how to configure the application properly.