• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Logfiles problem

DieterWerner

Regular Pleskian
After a restore of the backup files, the log rotation doesn't work anymore.
Even the domain-logfiles doesn't get entries.
So what have I to do now?
 
This could be an issue with the hard links of the /logs content to the /system/<domain>/logs content. I'd try to run
# plesk repair web <domainname>
and then
# plesk repair fs <domainname>
 
I still could not find a solution to the problem.
With Plesk, I see the actual logfiles - but the vhost log directory contains still the very old logfiles.
 
well it sounds like missing the hard-link for logfiles and to recreate it like

# plesk sbin relink-vhost-logs --domain-name example.com --sys-user-login <user_name> --create

another would be logs arent rotaded anymore

for details please see the following Knowledgebase entrys:
Why there are two locations for domain log files in Plesk?
How to recreate log files hardlink structure for all vhosts?
Domain's error_log is not being filled after its recreation through File Manager
Logs are not being rotated for domain
 
Last edited:
Back
Top